WaddleML is a machine learning stats tracker built on DuckDB
Project description
WaddleML
A machine learning stats tracker built on DuckDB.
Quickstart
- Install WaddleML.
pip3 install waddleml
- Try the sample code
import waddle
import random # Just for simulating metrics, replace with real model code.
# Initialize a new run with waddle.init, specifying the project name
run = waddle.init(project="hello-world")
# Save model inputs, hyperparameters, and metadata in run.config
config = run.config
config.learning_rate = 0.01
config.batch_size = 32
config.model_type = "simple_CNN" # Example configuration
# Simulate model training and log metrics
for epoch in range(10):
# Simulate a training loss (replace with actual model code)
train_loss = random.uniform(0.8, 0.4) # Example of loss decreasing
# Log the loss metric to Waddle
run.log({"epoch": epoch, "loss": train_loss})
# Optionally, log other metrics like accuracy, learning rate, etc.
if epoch % 2 == 0:
accuracy = random.uniform(0.6, 0.9) # Simulate accuracy
run.log({"epoch": epoch, "accuracy": accuracy})
# Once training is done, mark the run as finished
run.finish()
- Visualize the results.
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
waddleml-0.1.2.tar.gz
(10.7 kB
view details)
Built Distribution
waddleml-0.1.2-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file waddleml-0.1.2.tar.gz
.
File metadata
- Download URL: waddleml-0.1.2.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b429cfcd21c7f58fe51a1f4210344abc932f2dade3f919f08f69437aef25cd |
|
MD5 | 28fec4fdedcd2c71cc995249746dff51 |
|
BLAKE2b-256 | 9018f701e8e506435dd4fd151cd236add825e4bd545a852cf8e98b8de472c965 |
File details
Details for the file waddleml-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: waddleml-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3bd86d0a6379ab0939b741dcf04bac1545010b65490ef45662ef2f42fcde8d6 |
|
MD5 | b6ebc7ae67cc3f9de0fef2e7023a9936 |
|
BLAKE2b-256 | f3f468ae92268288dc5e77a349a8fc7f11bd60f2566559f991d182cba18d5a32 |