Spaces:
Runtime error
Runtime error
Download src/schemas/ModelFeatures.py from Marintosti/deploy-machine-learning: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/spaces/Marintosti/deploy-machine-learning/resolve/main/src/schemas/ModelFeatures.py
- Command line
-
hf download hf://spaces/Marintosti/deploy-machine-learning/src/schemas/ModelFeatures.py
-
curl -L -o ModelFeatures.py https://huggingface.co/spaces/Marintosti/deploy-machine-learning/resolve/main/src/schemas/ModelFeatures.py
1.11 kB
| from pydantic import BaseModel | |
| class ModelFeatures(BaseModel): | |
| id_employee: int | |
| age: int | |
| genre: str | |
| revenu_mensuel: int | |
| statut_marital: str | |
| departement: str | |
| poste: str | |
| nombre_experiences_precedentes: int | |
| nombre_heures_travailless: int | |
| annee_experience_totale: int | |
| annees_dans_l_entreprise: int | |
| annees_dans_le_poste_actuel: int | |
| nombre_participation_pee: int | |
| nb_formations_suivies: int | |
| nombre_employee_sous_responsabilite: int | |
| code_sondage: int | |
| distance_domicile_travail: int | |
| niveau_education: int | |
| domaine_etude: str | |
| ayant_enfants: str | |
| frequence_deplacement: str | |
| annees_depuis_la_derniere_promotion: int | |
| annes_sous_responsable_actuel: int | |
| satisfaction_employee_environnement: int | |
| note_evaluation_precedente: int | |
| niveau_hierarchique_poste: int | |
| satisfaction_employee_nature_travail: int | |
| satisfaction_employee_equipe: int | |
| satisfaction_employee_equilibre_pro_perso: int | |
| eval_number: str | |
| note_evaluation_actuelle: int | |
| heure_supplementaires: str | |
| augementation_salaire_precedente: int | |