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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: sylegendarium-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9e6fd86e1e5a7e3523ff73cd6343b87b40247f5728b4d88ea87d785e4587f3ca
MD5 0e2b6a346f42b0a7248a0868e8f235d3
BLAKE2b-256 bc8a17a49c6862a8fab79839f21d18daece56e427286069ada10ba162b1feeeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sylegendarium-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 54c1238cb1f16a268f0d317dfa21e268ad403e95d117cc09e59e83809e168bda
MD5 35cc191e4674aaecf5621eb1e1dee21c
BLAKE2b-256 bd2df95aa38d297476512374e1d15279a33ba80666525710a48bb47b7d234784

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