Spaces:
Sleeping
Sleeping
Commit History
-
changes to mapping
ae62d93 -
Update state_encoding_map.csv
Verified signaturea7e4cd5
-
updates for frontend integration
b0a8fab
-
Fix validation import: move to top-level and trigger rebuild
- Move save_validation_to_db import to module level (line 22) - Remove redundant import from inside validate_prediction function - Add version number to force HF Spaces rebuild - Ensures proper function resolution at startup66e1c5a -
Fix /validate endpoint: proper parameter mapping and virus name resolution
- Fixed save_validation_to_db() call to pass dict instead of kwargs - Map virus_id to virus_name using VIRUS_MAPPING/OTHER_VIRUS_MAPPING - Use is_correct field for validation_accuracy instead of string comparison - Added better documentation and example to ValidationRequest model - Endpoint now properly converts ValidationRequest to expected dict formata93b6ed -
Fix feature engineering: proper naming and robust feature completion
- Fixed temporal feature names: dayofyear -> day_of_year, weekofyear -> week_of_year - Ensures ALL expected features exist before preprocessing (adds missing with default 0) - Removes conditional logic that caused feature shape mismatches - Scaler/imputer now receive exactly the features they expect - Prevents 'Feature names seen at fit time, yet now missing' errorsd49cb64 -
Fix typo: IRRITABLITY -> IRRITABILITY in symptom fields
0c3974e -
fixes to warnings
450368b -
first commit
4276a62 -
initial commit
Verified signature3a195e3