Skip to main content

Support Tools for Machine Learning VIVIDLY

Project description

Vivid

Support Tools for Machine Learning Vividly 🚀

Documents

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


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.5.tar.gz (146.6 kB view details)

Uploaded Source

Built Distribution

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

python_vivid-0.3.3.5-py3-none-any.whl (76.3 kB view details)

Uploaded Python 3

File details

Details for the file python-vivid-0.3.3.5.tar.gz.

File metadata

  • Download URL: python-vivid-0.3.3.5.tar.gz
  • Upload date:
  • Size: 146.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for python-vivid-0.3.3.5.tar.gz
Algorithm Hash digest
SHA256 dc06862ed898d8828f44dc22e5d57d28a10395a42445ca91e3f4aacb38774eae
MD5 77a2616843846553f50a96904e79dc93
BLAKE2b-256 fb822ab7ae24d5ee8985562d19426db2ef684f1eebc4fcc54231c8fab1a94b6a

See more details on using hashes here.

File details

Details for the file python_vivid-0.3.3.5-py3-none-any.whl.

File metadata

  • Download URL: python_vivid-0.3.3.5-py3-none-any.whl
  • Upload date:
  • Size: 76.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for python_vivid-0.3.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8938bbf110005fdc54b42d6d3506a85783636b9116ab8c9c5256e0e108753332
MD5 da688a6a256a37435a4b6cc76969a911
BLAKE2b-256 84ee06a0db8cd5b9f4fc0f1bbff6b32897d44915fdc0cb2c881c8eb654204dde

See more details on using hashes here.

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