A collection of reusable machine learning pipeline helpers
Project description
semiq-ml
A collection of reusable machine learning pipeline helpers designed to streamline ML workflows.
Description
semiq-ml is a Python package that provides helper functions and classes to simplify common machine learning tasks, including baseline model training and hyperparameter tuning. It supports popular ML frameworks like LightGBM, XGBoost, and CatBoost.
Installation
From PyPI
You can install the package from PyPI using pip:
pip install semiq-ml
From Source
Install the package directly from GitHub:
pip install git+https://github.com/yourusername/semiq-ml.git
Or install from source:
git clone https://github.com/yourusername/semiq-ml.git
cd ml-helper
pip install -e .
Features
- Baseline Models: Quickly train baseline models with sensible defaults
- Preprocessing: Simple preprocessing steps for features (e.g., imputing, encoding, scaling)
- Integration: Seamless integration with scikit-learn, LightGBM, XGBoost, and CatBoost
Usage
Basic Example
from ml_helper import BaselineModel
import pandas as pd
from sklearn.model_selection import train_test_split
# Load dataset
data = pd.read_csv('your_data.csv')
X = data.drop('target', axis=1)
y = data['target']
model = BaselineModel()
model.fit(X, y)
model.get_results() # to get the results of the baseline model
lgbm = model.get_model('LGBM')
Documentation
For detailed documentation, please refer to the Wiki
Requirements
- Python >=3.12
- numpy
- pandas
- scikit-learn
- matplotlib
- seaborn
- lightgbm
- xgboost
- catboost
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 semiq_ml-0.1.3.tar.gz.
File metadata
- Download URL: semiq_ml-0.1.3.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73a51cb9ec12a610b3990f6712b7b0d60d18b676b647fd1f4cbb04da4d667b8f
|
|
| MD5 |
a6111d4c652821fe2dbb8cf64d9732f8
|
|
| BLAKE2b-256 |
cdef08c3198c0b6c5f37ce53d90ac1636779d08858ff9bffb006f939d9e9efcb
|
File details
Details for the file semiq_ml-0.1.3-py3-none-any.whl.
File metadata
- Download URL: semiq_ml-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c5efebd0defc0be46045463bed2e97cb5b7f90be210f7e3e1eb06f3b0930ae2
|
|
| MD5 |
7dbc1b3a11974aa01227cc2e9f4e600e
|
|
| BLAKE2b-256 |
052b7b97c525c700dbc1948e789eb14f1910827b9f47cc1349ce257d325e3061
|