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
-
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 -
Cleanup
Alvaro5b07ff1