sc

scikit-learn-ts Auto-generated TS wrapper around Python's #1 ML library

Hacker News

scikit-learn-ts Auto-generated TS wrapper around Python's #1 ML library

Python's ML ecosystem is generally much more mature than the JS/TS ML ecosystem. As a primarily full-stack TS dev, I've seen first-hand how difficult it is to perform simple ML-related tasks that the Python community takes for granted. So I decided to try an experiment: how well would it work to auto-generate a TypeScript wrapper around Python's scikit-learn package, using a Python subprocess and IPC to communicate back and forth between them? Turns out it works really well in practice, and so scikit-learn-ts was born. The library supports all 257 classes exported by the official Python scikit-learn, and their TS wrappers are all auto-generated from the Python API docs. This project's a lil hacky, but I've already reached out to the scikit-learn team, and we may experiment with using Pyodide as an alternative backend for the Python bridge. Looking for feedback & ideas to improve the project. Thanks! :)

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: tasks, using · Missing: mac, agents, macos
78%78% 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: supports · Missing: reddit linkedin, podcasting, created
63%63% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
47%47% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide · Missing: https docs, excited, just released
43%43% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
29%29% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Py
Python library to scan ML models for vulnerabilities70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python library to scan ML models for vulnerabilities

Hacker News20
ML
ML/AI deployed in seconds using Python, scikit-learn, MongoDB50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ML/AI deployed in seconds using Python, scikit-learn, MongoDB

Hacker News3
A
A Python library for Unicode string collation55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Python library for Unicode string collation

Hacker News4
A
A Python library for accessing Wunderlist67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Python library for accessing Wunderlist

Hacker News1
Oh
Ohne I/O, a Python 3.4+ coroutine library without any I/O55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ohne I/O, a Python 3.4+ coroutine library without any I/O

Hacker News2
Co
Combinatorix, yet another combinator library in Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Combinatorix, yet another combinator library in Python

Hacker News4
Tt
Tt Python library67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tt Python library

Hacker News1
Py
Python library for GoPro cameras67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python library for GoPro cameras

Hacker News131
B2
B2blaze – A Backblaze B2 library for Python55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

B2blaze – A Backblaze B2 library for Python

Hacker News359
Py
Python library for parsing Dockerfile65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Python library for parsing Dockerfile

Hacker News2