skorch-dev/skorch
A scikit-learn compatible neural network library that wraps PyTorch observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 97
- Release rhythm 60
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 122.5
- age_days: 3334
- days_rel: 111
- days_push: 23
- n_releases_24m: 5
Adoption not part of the score
6173 stars · 417 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
skorch is a Python library that wraps PyTorch neural networks in a scikit-learn compatible API, providing estimators like NeuralNetClassifier and NeuralNetRegressor. It lets you use sklearn pipelines, grid search, and cross-validation directly with PyTorch models.
Use cases
- train pytorch models with scikit-learn api
- use pytorch neural network in sklearn pipeline
- grid search hyperparameters of a pytorch model
- cross-validate a neural network with sklearn
- wrap huggingface transformer in sklearn estimator
- replace keras-style fit loop with sklearn-compatible classifier
When to choose
- you already use scikit-learn and want PyTorch models to fit into pipelines and grid search
- you want a simple fit/predict training loop without writing boilerplate PyTorch training code
- you need sklearn-compatible estimators for neural networks, including Hugging Face models
When to avoid
- you need fine-grained control over every step of the PyTorch training loop
- you are building large-scale or highly customized deep learning training pipelines
- you do not use scikit-learn conventions and prefer raw PyTorch
Facets
library · maturity active
machine-learning deep-learning machine-learning deep-learning data-science python scikit-learn pytorch neural-networks huggingface grid-search
1 source
- readme: https://github.com/skorch-dev/skorch · fetched 2026-08-28 · 0cc3334991e2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| skorch-dev/skorch | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="skorch-dev/skorch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem