Skip to main content

Alchemy. Experiments logging & visualization.

Project description

Alchemy logo

Experiments logging & visualization

Build Status Pipi version Docs PyPI Status Github contributors

Twitter Telegram Spectrum Slack

Part of Catalyst Ecosystem. Project manifest.


Installation

Common installation:

pip install -U alchemy-catalyst

Getting started

  1. Goto Alchemy and get your personal token.

  2. Run following example.py:

    import random
    
    from alchemy import Logger
    
    token = "..."  # insert your personal token here
    
    for gid in range(1):
        for eid in range(2):
            for mid in range(3):
                metric = f"metric_{mid}"
                group = f"group_{gid}"
                experiment = f"experiment_{eid}"
    
                logger = Logger(token, experiment, group)
    
                n = 300
                x = random.randint(-10, 10)
                for i in range(n):
                    logger.log_scalar(metric, x)
                    x += random.randint(-1, 1)
                logger.close()
    
  3. Now you should see your metrics on Alchemy.

Example

For mode detailed tutorials, please follow Catalyst examples.

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

alchemy-catalyst-20.1.8.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

alchemy_catalyst-20.1.8-py2.py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page