DEV Community

Michele Dallachiesa
Michele Dallachiesa

Posted on

Track and Collaborate on AI Experiments with MLtraq

MLtraq is an open-source Python library for AI developers to design, execute and share experiments. Track anything, stream, reproduce, collaborate, and resume the computation state anywhere.

Example: Parallel execution of runs

MLtraq lets you analyze the result of thousands of AI experiments modeled as state monads after executing them in parallel in just a few lines of code:

from random import uniform

from mltraq import Run, create_experiment


def step(run: Run):
    run.fields.v = uniform(0, 1)


create_experiment(). \
  add_runs(i=range(1000)). \
  execute(step). \
  runs.df().v.mean()
Enter fullscreen mode Exit fullscreen mode

Follow me and the #mltraq hashtag for more.

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up