{ "description": "🔮 Exemple de prédiction unitaire - Prédit le risque de départ pour UN employé", "api_endpoint": "POST /predict", "authentication": "Header: X-API-Key: your-secret-key", "response_includes": [ "prediction (0=Will Stay, 1=Will Leave)", "probability_stay", "probability_leave", "risk_level (Low/Medium/High)" ], "employee_data": { "nombre_participation_pee": 1, "nb_formations_suivies": 3, "nombre_employee_sous_responsabilite": 1, "distance_domicile_travail": 8, "niveau_education": 1, "domaine_etude": "Infra & Cloud", "ayant_enfants": "Y", "frequence_deplacement": "Frequent", "annees_depuis_la_derniere_promotion": 1, "annes_sous_responsable_actuel": 7, "satisfaction_employee_environnement": 3, "note_evaluation_precedente": 2, "niveau_hierarchique_poste": 2, "satisfaction_employee_nature_travail": 2, "satisfaction_employee_equipe": 4, "satisfaction_employee_equilibre_pro_perso": 3, "note_evaluation_actuelle": 4, "heure_supplementaires": "Non", "augementation_salaire_precedente": 23, "age": 49, "genre": "M", "revenu_mensuel": 5130, "statut_marital": "Marié(e)", "departement": "Consulting", "poste": "Assistant de Direction", "nombre_experiences_precedentes": 1, "nombre_heures_travailless": 80, "annee_experience_totale": 10, "annees_dans_l_entreprise": 10, "annees_dans_le_poste_actuel": 7 }, "curl_example": "curl -X POST http://localhost:8000/predict \\ -H 'X-API-Key: your-secret-key' \\ -H 'Content-Type: application/json' \\ -d @01_predict_single_employee.json" }