Scikit-learn API
See original GitHub issueIf I remember correctly, one of the reasons to use skorch was the similarity to the scikit-learn API.
However, in the rest of braindecode we lack support.
Should we add wrapper classes for our preprocessing functionality that inherit from TransformerMixin
to allow for chaining everything in scikit-lean pipelines?
It could look similar to this:
https://gist.github.com/gemeinl/d64c014debb5f58e4feacb57a8656ed0
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
API Reference — scikit-learn 1.2.0 documentation
The sklearn.datasets module includes utilities to load datasets, including methods to load and fetch popular reference datasets. It also features some ...
Read more >scikit-learn: machine learning in Python — scikit-learn 1.2.0 ...
Simple and efficient tools for predictive data analysis · Accessible to everybody, and reusable in various contexts · Built on NumPy, SciPy, and...
Read more >Glossary of Common Terms and API Elements - Scikit-learn
This glossary hopes to definitively represent the tacit and explicit conventions applied in Scikit-learn and its API, while providing a reference for users ......
Read more >Developing scikit-learn estimators
Estimators¶. The API has one predominant object: the estimator. An estimator is an object that fits a model based on some training data...
Read more >API Reference — scikit-learn 0.17.1 documentation
The sklearn.cluster module gathers popular unsupervised clustering algorithms. User guide: See the Clustering section for further details. Classes ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Check out this gist that shows our “Basic trialwise decoding” example updated to use scikit-learn API: https://gist.github.com/gemeinl/d64c014debb5f58e4feacb57a8656ed0
Nice @Ardillen66!
So we’ll wait when you have time. Probably one more section in the tutorial for the next version of the braindecode: https://braindecode.org/master/auto_examples/plot_hyperparameter_tuning_with_scikit-learn.html