Spaces:
Build error
Build error
Commit History
-
Refactor imports to use absolute paths and clean up scripts
Standardized all internal imports to use absolute paths for better maintainability and to avoid import errors. Removed unnecessary sys.path manipulations and direct script execution blocks from modules, making the codebase more modular and suitable for package usage.9678fdb
-
Update README and UFC data, retrain models
Expanded and clarified the README with detailed usage instructions for scraping, prediction, and pipeline execution. Updated ufc_fights.csv with new event results, added output/last_event.json, and refreshed model artifacts and results to reflect retraining on the latest data.5271c2e
-
Add logistic regression model and ML preprocessing
AlvaroIntroduces a new LogisticRegressionModel for fight outcome prediction, including a comprehensive ML preprocessing module (preprocess.py) for feature engineering and data preparation. Refactors model interfaces to accept fight dictionaries, updates the pipeline and main entrypoint for model selection and reporting, and improves data cleaning in the scraping and preprocessing steps. Also fixes fighter name formatting and adds pandas and scikit-learn as dependencies.bf7e729 -
Refactor config imports and add JSON report for predictions
AlvaroMoved config.py to the project root and updated all imports to use the new location. Deleted the unused analyze.py script. Enhanced the prediction pipeline to save detailed model results to a JSON file, grouping predictions by event. Updated predict.main to generate a detailed report by default. Improved module import consistency in scrape modules.38c6a34 -
Baseline
Alvarod48eef6 -
Update main.py
Alvaroffa92b9 -
Cleanup
Alvaro5b07ff1 -
Update main.py
Alvarod794d20 -
Pipeline
Alvaro7036785