A Python package for tracking experiments in Notion
Project description
ExperimentHQ
ExperimentHQ is a Python package that allows you to track and manage experiments directly from your Python code, and seamlessly sync the results to a Notion database. With ExperimentHQ, you can easily monitor the performance of your models, log custom metrics, and compare experiments with ease, all from a single, intuitive interface.
The purpose of this document is to provide a guide for using ExperimentHQ to track experiments and sync the results to Notion.
Prerequisites
Before you can use ExperimentHQ, you need to set up the following prerequisites:
- Set up a Notion account.
- Set up an ExperimentHQ account.
- Connect you Notion account with ExperimentHQ
- Copy your personal API token from ExperimentHQ
- Install ExperimentHQ.
Installation
To install ExperimentHQ, simply run the following command:
pip install experimenthq
Usage
Creating an Experiment
To create an experiment and log it to Notion, you can use the following code snippet as an example:
import experimenthq as ex
experiment = ex.Experiment(
name="My First Experiment",
project="Project A",
api_key="YOUR_API_KEY"
)
experiment.log_parameter("accuracy", 0.85)
experiment.log_parameter("loss", 0.05)
This code creates an experiment with the name "My First Experiment" and tags it with the project "Project A". It then logs two parameters, "accuracy" and "loss", with values 0.85 and 0.05 respectively.
Viewing Experiments in Notion
To view the experiments that you've logged with ExperimentHQ in Notion go to the Notion page that you've linked to ExperimentHQ. You should see a table with the experiments that you've logged.
Conclusion
ExperimentHQ provides a simple and intuitive way to track and manage your experiments in Python and sync the results to Notion. By using ExperimentHQ, you can streamline your experiment tracking and make your work more efficient and effective. Try it out today and see the difference it can make in your workflow!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for experimenthq-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d407f3fde09d5a2b404420668e119b8ff9a2d0470add74b013192fa9a888c35 |
|
MD5 | 94f12f6066c74e8f26becf80fb0173b4 |
|
BLAKE2b-256 | aff36b314a8dc176086ae11883033ae46d77b80179d75de4f7680d3b454fbd3a |