Easy-to-use and flexible AutoML library for Python
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flexml-1.1.0.tar.gz.
File metadata
- Download URL: flexml-1.1.0.tar.gz
- Upload date:
- Size: 63.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adc3af18e1f9bb3bbe50c4e08b77642abb88e3add961cc73505c73490a5349ad
|
|
| MD5 |
7ca86f4c525fbe910e3dea1d876f7d70
|
|
| BLAKE2b-256 |
4ee533d5943bd232b6cb28eb83810c716b67ee68ac90ce2d0fe4fc0ac85fba2f
|
File details
Details for the file flexml-1.1.0-py3-none-any.whl.
File metadata
- Download URL: flexml-1.1.0-py3-none-any.whl
- Upload date:
- Size: 58.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a0a00f54b2f2d7a22cb3cf88d4adbc9925d8ae26801bdd9f8ff1d4cf196c76e
|
|
| MD5 |
555003e7210804fd47c81a9732ddc2bb
|
|
| BLAKE2b-256 |
8ef84768586d1ed9a575b95f7055120a1f07c93a983146ff6fda44fdf6940568
|