A lightweight api for machine and deep learning experiment logging in the form of a python library.
Project description
MLPath
A lightweight api for machine and deep learning experiment logging in the form of a python library.
Installation
pip install mlpath
Get started
import the mlquest module which encompasses all the logging functionality
from mlpath import mlquest as mlq
l = mlq.l
# let's try this out
def DatasetFilter(x_param, y_param, z_param, **kwargs):
return x_param * y_param * z_param
def FeatureExtractor(p_num, k_num, l_num, **kwargs):
return p_num**k_num + l_num
def NaiveBayes(alpha, beta_param, c=0, depth_ratio=4, **kwargs):
return alpha + beta_param + c
mlq.start('NaiveBayes')
dataset = l(DatasetFilter)(14, 510, 4, m_num=63, g_num=3, h_num=4)
features = l(FeatureExtractor)(12, 2, 12)
accuracy = l(NaiveBayes)(alpha=1024, beta_param=7, c=12, depth_ratio=538, mega_p=63, g_estim=3, h=43)
mlq.log_metrics(accuracy=accuracy)
mlq.end()
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
mlpath-0.0.13999.tar.gz
(7.2 MB
view hashes)
Built Distribution
Close
Hashes for mlpath-0.0.13999-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caef56990945fac2cd30e9071876faa24c446c0e062141129ed34908e03918c3 |
|
MD5 | 87b3d3859866db8a24a8da0e1d33ab05 |
|
BLAKE2b-256 | 952f9bebe4d7d53f79b9e46532171047440e330d28a40af7c35171513261f608 |