Experiment collection
Project description
Experiment collection
A set of utilities for storing and organizing experiments
Install
pip install experiment-collection
You can find another versions at releases or pypi.
Usage_example
Experiment
- structure with experiment data;
ExperimentCollectionLocal
- local experiment storage;
ExperimentCollectionRemote
- remote experiment storage;
could combine data from multiply sources.
from experiment_collection import Experiment, ExperimentCollectionRemote
exps = ExperimentCollectionRemote('localhost:50051', 'main', 'token')
for i in range(10):
exp = Experiment('name_{}'.format(i))
exp.set_metrics({'lr': 0.1})
exp.set_params({'auc': 0.5})
exps.add_experiment(exp)
assert exps.check_experiment(exp)
# Delete latest experiment
exps.delete_experiment(exp)
assert not exps.check_experiment(exp)
View all results. All metrics and params auto flatten into single columns.
exps.get_experiments()
name time params_auc metrics_lr
0 name_0 2020-09-30 23:56:39.932871 0.5 0.1
1 name_1 2020-09-30 23:56:40.216424 0.5 0.1
2 name_2 2020-09-30 23:56:40.620029 0.5 0.1
3 name_3 2020-09-30 23:56:40.916781 0.5 0.1
4 name_4 2020-09-30 23:56:41.240535 0.5 0.1
5 name_5 2020-09-30 23:56:41.567865 0.5 0.1
6 name_6 2020-09-30 23:56:41.861890 0.5 0.1
7 name_7 2020-09-30 23:56:42.177155 0.5 0.1
8 name_8 2020-09-30 23:56:42.507883 0.5 0.1
9 name_9 2020-09-30 23:56:42.818714 0.5 0.1
License
MIT License
Copyright (c) 2020 AsciiShell (Aleksey Podchezertsev)
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
File details
Details for the file experiment_collection-0.2.7.tar.gz
.
File metadata
- Download URL: experiment_collection-0.2.7.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f46acd5dcfa0c847c9d1603d78b990b70ff37237f4ee4e5b6e315aef933630 |
|
MD5 | 4dbd9f9ee877a4217b12c0855c8f3d41 |
|
BLAKE2b-256 | 4a8440a7e6130500daac24fb15d7ce0b4e07a930b084689a5716d77bd420ac4b |
File details
Details for the file experiment_collection-0.2.7-py3-none-any.whl
.
File metadata
- Download URL: experiment_collection-0.2.7-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1015d3ed1da856a0dc007ab61beca92e4fc2c739b59fe014612ed0274d04533f |
|
MD5 | 74b69f9f616d1dcbac0a9566c0846913 |
|
BLAKE2b-256 | 5e0bdad5decfacecc4d169d9e497e5c6474d1e16ffcd0d94e2388778c922f208 |