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.4.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.4-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: sylegendarium-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 e163a83acd61cd42de28a68f6cdf2d9f14f19af807f92e54740eb9f065e63794
MD5 fcb65b40f070662313f3f8b4d0581f06
BLAKE2b-256 f9753ea761d276013ed575c827dd9ef1e79516370d42ae1342218abb057b0f33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sylegendarium-0.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for sylegendarium-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3f91a7723e259c75af708346c0228d01c4bb78c0d1c1e4217d3b75ed476af127
MD5 ade65bd7f77c194c743e170f8f32204c
BLAKE2b-256 f4a36dcdb951201fd76357bf232b715a1ba8039a65a18c9d45949bd3d98809d2

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