Back
2
1
xgb-classifier
:XGBoost Classification ModelKit
This ModelKit contains an XGBoost binary classification model trained on sklearn synthetic data, sample test data, and a FastAPI inference script.
Usage
- Run
python code/inference.pyto start the FastAPI server. - Send a POST request to
/predictwith a JSON payload containing features. - Ensure
artifacts/model/xgb_model.joblibandartifacts/data/sample_test_data.csvare in the correct paths.