Skip to main content

Provides utilities for the training and evaluation of machine learning algorithms

Project description

"MLRL-Testbed": Utilities for Evaluating Multi-label Rule Learning Algorithms

License: MIT PyPI version Documentation Status

Important links: Documentation | Issue Tracker | Changelog | Contributors | Code of Conduct | License

This software package provides utilities for training and evaluating machine learning algorithms, including classification and regression problems.

:wrench: Functionalities

Most notably, the package includes a command line API that allows configuring and running machine learning algorithms. For example, the BOOMER algorithm integrates with the command line API out-of-the-box. For using other algorithms only a few lines of Python code are necessary.

The command line API allows applying machine learning algorithms to different datasets and evaluating their predictive performance in terms of commonly used measures (provided by the scikit-learn framework). In detail, it supports the following functionalities:

  • Single- and multi-output datasets in the Mulan and Meka format are supported.
  • Datasets can automatically be split into training and test data, including the possibility to use cross validation. Alternatively, predefined splits can be used by supplying the data as separate files.
  • One-hot-encoding can be applied to nominal or binary features.
  • Binary predictions, scores, or probability estimates can be obtained from a machine learning algorithm, including classification and regression algorithms. Evaluation measures that are suited for the respective type of predictions are picked automatically.
  • Evaluation scores can be saved to output files and printed on the console.
  • Ensemble models can be evaluated incrementally, i.e., they can be evaluated repeatedly using only a subset of their members with increasing size.
  • Textual representations of models can be saved to output files and printed on the console. In addition, the characteristics of models can also be saved and printed.
  • Characteristics of datasets can be saved to output files and printed on the console.
  • Unique label vectors contained in a classification dataset can be saved to output files and printed on the console.
  • Predictions can be saved to output files and printed on the console. In addition, characteristics of predictions can also be saved and printed.
  • Models for the calibration of probabilities can be saved to output files and printed on the console.
  • Models can be saved on disk in order to be reused by future experiments.
  • Algorithmic parameters can be read from configuration files instead of providing them via command line arguments. When providing parameters via the command line, corresponding configuration files can automatically be saved on disk.

:scroll: License

This project is open source software licensed under the terms of the MIT license. We welcome contributions to the project to enhance its functionality and make it more accessible to a broader audience. A frequently updated list of contributors is available here.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mlrl_testbed-0.11.4-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file mlrl_testbed-0.11.4-py3-none-any.whl.

File metadata

  • Download URL: mlrl_testbed-0.11.4-py3-none-any.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for mlrl_testbed-0.11.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0886fbe6214d367061143a712577acc26595acae3e29f43b128eddf02519ed5d
MD5 21349f736508f1b1d32359863ffa2244
BLAKE2b-256 cbeb7afe08b92eb3089689a0e0f85ffe280fbf1adff504ba3d276f8ff95c3563

See more details on using hashes here.

Provenance

The following attestation bundles were made for mlrl_testbed-0.11.4-py3-none-any.whl:

Publisher: publish.yml on mrapp-ke/MLRL-Boomer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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