ML

MLtraq – Track and Collaborate on AI Experiments (Open-Source)

Hacker News

MLtraq – Track and Collaborate on AI Experiments (Open-Source)

Hi HN! Since my time as a PhD student more than ten years ago, I have dreamed of tracking experiments as much as I want, with reproducibility and collaboration as core principles and the ability to resume the computation state anywhere to add more metrics or results. Today, I’m unveiling MLtraq (https://mltraq.com), an open-source Python library for AI developers to design, execute and share experiments. It allows you to track anything, reproduce, collaborate, and resume the computation state anywhere. KEY BENEFITS - Extreme Tracking and Interoperability: With native database types, native serialization in Numpy and PyArrow, and a safe subset of opcodes for Python pickles, unprecedented (and safe) tracking capabilities. - Promoting Collaboration: Work seamlessly with your team by creating, storing, reloading, mixing, resuming, and sharing experiments using any local or cloud SQL database. - Flexible: Interact with your experiments using Python, Pandas, and SQL from Python scripts, Jupyter notebooks, and dashboards without vendor lock-in. DOCUMENTATION AND CODE - Documentation: https://www.mltraq.com - Source code: https://github.com/elehcimd/mltraq Thoughts? Looking forward to your feedback. I hope you enjoy it! Thank You! (You can also reach out to me directly; my email is on my profile page.) Cheers, Michele PS. Sharing a few questions I have addressed so far: 1) “How does it differ from MLflow”? There’s an overlap in features, but the scope is different: With MLtraq, tracking the state is so transparent that it feels like checkpointing the experiment for later analysis and continuation. With robust/flexible serialization, experiments can easily copy/load to new databases. In MLflow, tracking is designed to track metrics and only a little more. The setup is less flexible, but you have more readily available integrations. With MLflow, the emphasis is on covering the complete lifecycle, including model versioning and artifacts storage. MLtraq emphasizes experimentation, with an excellent model for experiments inspired by state monads from functional programming that encourages incapsulation/composition and parameter grids to simplify exploration. In summary, MLflow is a better fit if you prioritize MLOps. MLtraq is a good candidate for experimentation. -- 2) “Does it work for Torch models, too?” Let’s start with the example “IRIS Flowers Classification” at https://mltraq.com/#example-3-iris-flowers-classification. Using https://skorch.readthedocs.io/en/stable/classifier.html, we can add one more scikit-learn compatible model. Alternatively, one can redesign the train_predict step without using scikit-learn. The results will include the accuracy score for the newly added model.

Share card

Actual performance

2points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, new, models · Missing: mac, agents, macos
95%95% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: para, including, compatible · Missing: supports, reddit linkedin, podcasting
89%89% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: io, including · Missing: https docs, excited, just released
57%57% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: para · Missing: mobile apps, ios, personal
42%42% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: arr · Missing: mrr, revenue, profit
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: collaborate · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Sl
SlideSelection, an Open Source Hooper Selection Implementation47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SlideSelection, an Open Source Hooper Selection Implementation

Hacker News4
Pi
Piki is now open source73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Piki is now open source

Hacker News2
Op
Open Source CNC Beehive With Arduino and Sensors58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open Source CNC Beehive With Arduino and Sensors

Hacker News1
An
An Open-Source Intro to WebApps Curriculum72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An Open-Source Intro to WebApps Curriculum

Hacker News12
An
An Open-Source Resource for Combating Burnout52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An Open-Source Resource for Combating Burnout

Hacker News1
Du
Duckling – Open-source datetime expression parsing69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Duckling – Open-source datetime expression parsing

Hacker News136
Po
Poll is now open-source58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Poll is now open-source

Hacker News1
Pi
PinPoint open source geocoder62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PinPoint open source geocoder

Hacker News1
Cr
Crayfish, an open source, shareware newsreader73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Crayfish, an open source, shareware newsreader

Hacker News2
Cy
Cypht – Open Source webmail revisited73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cypht – Open Source webmail revisited

Hacker News3