FlexML
Introduction
FlexML is an easy-to-use and flexible AutoML library for Python that simplifies the process of building machine learning models. It automates model selection and hyperparameter tuning, offering users the flexibility to customize the size of their experiments by allowing to train all available models in the library or only a subset of them for faster results, FlexML adapts to your needs!
At the moment, FlexML supports only regression and classification tasks and offers two experiment modes; 'quick' and 'wide' allowing users to choose between fitting the most used machine learning models in the field or the full range of models available in the library.
How to Install
pip install flexml
Start Guide with Regression Experiment
# Experiment for a Regression problem on California House Value Prediction dataset in Quick mode
from flexml import Regression
from sklearn.datasets import fetch_california_housing
df = fetch_california_housing(as_frame=True)['frame']
reg_exp = Regression(df, target_col="MedHouseVal")
reg_exp.start_experiment()
--> Once start_experiment() process finishes, you will see the model leaderboard as below:
# Get the best model
best_model = reg_exp.get_best_models()
# Get the best model by name (Alternative)
best_model = reg_exp.get_model_by_name("CatBoostRegressor")
# Tune model (default model is the best model and randomized search for tuning)
reg_exp.tune_model()
--> Once tune_model() process finishes, you will see the updated model leaderboard as below:
You can also take a look to jupyter notebook files in the 'notebooks' folder in the repository for more detailed explanations of the usage
How to Contribute:
- Fork the repository: Click on the 'Fork' button at the top right corner of the GitHub repository page
- Create a new branch: Name your branch descriptively based on the feature or fix you're working on
- Make your changes: Write code and tests to add your feature or fix the issue
- You can take a look to tests folder in the repository to reach the current unittests
- Run tests: Ensure all existing and new tests pass
- Submit a pull request: Open a pull request with a clear description of your changes
Metadata
Release files for flexml 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flexml-1.1.0.tar.gz | 63.3 kB | Without provenance | Details for flexml-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flexml-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for flexml-1.1.0-py3-none-any.whl |
Total release size: 122.1 kB
Release files / flexml-1.1.0.tar.gz
| Download URL | flexml-1.1.0.tar.gz |
|---|---|
| Size | 63.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adc3af18e1f9bb3bbe50c4e08b77642abb88e3add961cc73505c73490a5349ad
|
|
BLAKE2b-256 checksum How to use checksums |
4ee533d5943bd232b6cb28eb83810c716b67ee68ac90ce2d0fe4fc0ac85fba2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / flexml-1.1.0-py3-none-any.whl
| Download URL | flexml-1.1.0-py3-none-any.whl |
|---|---|
| Size | 58.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a0a00f54b2f2d7a22cb3cf88d4adbc9925d8ae26801bdd9f8ff1d4cf196c76e
|
|
BLAKE2b-256 checksum How to use checksums |
8ef84768586d1ed9a575b95f7055120a1f07c93a983146ff6fda44fdf6940568
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for flexml 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.