| { | |
| "best_model": "knn", | |
| "dataset_path": "C:\\Users\\Desktop\\Downloads\\animal_condition_dataset\\data.csv", | |
| "target": "dangerous_binary", | |
| "positive_label": "Dangerous=Yes", | |
| "selection_rule": "Maior recall_yes na validacao; desempate por f1_yes e accuracy.", | |
| "test_metrics": [ | |
| { | |
| "dataset": "test", | |
| "model": "knn", | |
| "accuracy": 0.9763313609467456, | |
| "precision_yes": 0.9763313609467456, | |
| "recall_yes": 1.0, | |
| "f1_yes": 0.9880239520958084, | |
| "f1_weighted": 0.9646387697976828, | |
| "roc_auc": 0.9833333333333334 | |
| } | |
| ], | |
| "shap_status": "SHAP estava instalado, mas falhou neste modelo/ambiente. Fallback mantido com feature importance. Erro: The passed model is not callable and cannot be analyzed directly with the given masker! Model: KNeighborsClassifier(n_neighbors=7, weights='distance')" | |
| } |