Skip to main content

Legendarium is a simple package to store metrics and parameters of an experiment

Project description

Legendarium

  • Python library to make an efficient use of data
  • License: MIT
  • Compatible With: python 3.0+

Develop API Usage


>>>from sylegendarium import Legendarium
>>>data_saver = Legendarium(experiment_name=f'experiment', experiment_description='tutorial experiment', path='Experiments')
>>>data_saver.create_parameter("algorithm", "Greedy")
>>>data_saver.create_metric("rewards", list, "Rewards obtained by the agents", "points")
>>>data_saver.write(rewards=0)
>>>data_saver.save()

>>>from sylegendarium import load_experiment_pd, load_experiments
>>>df = load_experiments("Experiments") #Load all the experiments in a directory and return a pandas dataframe
>>>print(df.head())

>>>df = load_experiment_pd('experiment', 'Experiments') # Load the metrics as a pandas dataframe
>>>print(df.head())

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

sylegendarium-0.0.1.tar.gz (21.6 MB view details)

Uploaded Source

Built Distribution

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

sylegendarium-0.0.1-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sylegendarium-0.0.1.tar.gz.

File metadata

  • Download URL: sylegendarium-0.0.1.tar.gz
  • Upload date:
  • Size: 21.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for sylegendarium-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f95d40893731eb9b4f7ad5a0c4ffb325775efa33987c377aa5ac1270675727cc
MD5 5b67f28362726a93635f2b029b99418e
BLAKE2b-256 faf9266665a2c28b36b293ef48f45d97c37e7a55321266b53c35acdcf24e2ba5

See more details on using hashes here.

File details

Details for the file sylegendarium-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sylegendarium-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e0fc6f1922abdc40611e3e29b1eb6d23a8e81fd9281931faed5c51b10ba8fb75
MD5 86afc47ac11cef3e043dbd48718c4043
BLAKE2b-256 79f9e51bff317a1372f0578971abc187f97c3045819e85225567dfe3561ab593

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