Support Tools for Machine Learning VIVIDLY
Project description
Vivid
Support Tools for Machine Learning Vividly 🚀
Usage
The concept of vivid is easy to use. Only make instance and run fit, vivid save model metrics and weights (like feature_imporance, pr/auc curve, training time, ...) .
import pandas as pd
from sklearn.datasets import load_boston
from vivid.backends.experiments import LocalExperimentBackend
from vivid.estimators.boosting import XGBRegressorBlock
X, y = load_boston(return_X_y=True)
train_df = pd.DataFrame(X)
# create model and experiment
xgb = XGBRegressorBlock('xgb')
experiment = LocalExperimentBackend('./outputs/simple')
# run models
from vivid.runner import create_runner
runner = create_runner(blocks=xgb, experiment=experiment)
runner.fit(train_df, y)
runner.predict(train_df)
VIVID makes it easy to describe model/feature relationships. For example, you can easily describe stacking, which can be quite complicated if you create it normally.
Install
pip install python-vivid
Sample Code
In /vivid/samples
, Some sample script codes exist.
Developer
Requirements
- docker
- docker-compose
create docker-image from docker-compose file
docker-compose build
docker-compose up -d
docker exec -it vivid-test bash
Test
use pytest
for test tool (see gitlab-ci.yml).
pytest tests
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
python-vivid-0.3.3.2.tar.gz
(144.2 kB
view hashes)
Built Distribution
Close
Hashes for python_vivid-0.3.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddd5019b9f4c5b798394ae5cde73f96d718e31085482a56fc7cb7f08b123be12 |
|
MD5 | aa2af3d3eba18ba5009849cb4b3350b7 |
|
BLAKE2b-256 | b66ae0c0c92de25d2a3429be0f964533f49a0742bee75e0b09091697114e601a |