Skip to content

Scikit-learn SGD vs RiverML #1194

Answered by MaxHalford
numersoz asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there @numersoz. Yes, it's definitely possible to get the exact same results with scikit-learn and River. In fact, there are several unit tests which ensure this. Check them out here. We test linear regression, logistic regression, perceptron, L1 regu, mini-batching, etc.

One downside of scikit-learn's implementation is that the number of features is static. You can't add or remove features between mini-batches. But maybe that's a problem for you.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by numersoz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants