Skip to main content

MLflow XGBoost flavour with probabilities

Project description

mlflow-xgboost-proba

Release Build status codecov Commit activity License

MLflow XGBoost flavour with probabilities

This package implements mlflow_xgboost_proba MLflow flavour, which allows to run predict_proba method of xgboost models during inference with MLflow mlflow models serve CLI command.

Implementation is based on mlflow.xgboost module, which is copied and modified to have the wrapper with predict_proba method and predict method calling predict_proba by default.

The API of the module is identical to mlflow.xgboost, only without support of autologging.

Getting started with your project

First, create a repository on GitHub with the same name as this project, and then run the following commands:

git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:sergray/mlflow-xgboost-proba.git
git push -u origin main

Finally, install the environment and the pre-commit hooks with

make install

You are now ready to start development on your project! The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

Releasing a new version

  • Create an API Token on Pypi.
  • Add the API Token to your projects secrets with the name PYPI_TOKEN by visiting this page.
  • Create a new release on Github.
  • Create a new tag in the form *.*.*.

Repository initiated with fpgmaas/cookiecutter-poetry.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlflow_xgboost_proba-0.1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

mlflow_xgboost_proba-0.1.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file mlflow_xgboost_proba-0.1.0.tar.gz.

File metadata

  • Download URL: mlflow_xgboost_proba-0.1.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure

File hashes

Hashes for mlflow_xgboost_proba-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7d8fc10070f445562cbd177d2f8440a50bf01b69552fdfea1afd2ccf0ee1975
MD5 a8c0f650820d4be1a6d8027eb1bea2ad
BLAKE2b-256 ad4d6e76be12b8922020c5c2081fae0e4f72827dd45b67735e3b8d1a7a6fad45

See more details on using hashes here.

File details

Details for the file mlflow_xgboost_proba-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mlflow_xgboost_proba-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2eb829d1b84a393db5698cb1de17622dc4bc4c975ec3410334ede0cce0d12f0
MD5 6df2060e2b95839617c85acd59fdbad0
BLAKE2b-256 af7f9fc9db64a4ae242bc59b4527c4c2ff73dbbd77740d9184496ebb6d52f1e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page