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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: sylegendarium-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 8ae4e807e22652a1c72aede15ebb69503a345427028a1d142ecd801992c1478a
MD5 c6245088461bd2d72521f1d4b0d292d7
BLAKE2b-256 b30066480cd6fca675a4f043b2a79aaa0bc5cb54205214b8637b4bfdeadf7713

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sylegendarium-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ee4833d6ff9ae6c325b4eff24ef5dbb7c1665720ed04e9f5ae655398db35fad
MD5 54db475fed293ab8dce51eddfb66e0ac
BLAKE2b-256 138287537e53858a31d98607d58bcf97bf6775b73d8aed8035097aaf526c8501

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