Spaces:
Runtime error
Runtime error
Upload README.md with huggingface_hub
Browse files123456789101112---title: Face Mortalityemoji: 🐠colorFrom: greencolorTo: bluesdk: gradiosdk_version: 5.35.0app_file: app.pypinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---title: Face Mortality Predictionemoji: 🔮colorFrom: bluecolorTo: purplesdk: gradiosdk_version: 4.19.2app_file: app.pypinned: falselicense: mit---# Face Mortality PredictionThis space hosts an XGBoost model that predicts life expectancy based on facial features and age.## Model Information- **Model Type**: XGBoost- **Feature Extraction**: FaceNet (InceptionResnetV1)- **Input Features**: Face image (converted to 4096-dim embedding) + age- **Output**: Predicted years until death / life expectancy## Important Disclaimer⚠️ **This is a research model and should NOT be used for medical decisions or life planning.**The model was trained on historical data from the IMDB-WIKI dataset and is intended for research purposes only.## How it Works1. Upload a clear, front-facing face photo2. Enter the person's current age3. The model extracts facial features using FaceNet4. XGBoost predicts the remaining years of life5. Life expectancy is calculated as current age + predicted years## Technical Details- Face images are resized to 160x160 pixels- FaceNet extracts 4096-dimensional feature vectors- The model was trained without gender information (due to missing data)- Cause of death features are padded with zeros for inference## CitationIf you use this model in research, please cite the original IMDB-WIKI dataset and the face mortality prediction work.
README.md+41-6