Skip to content

Instantly share code, notes, and snippets.

@maxpagels
Created April 18, 2018 16:27
Show Gist options
  • Save maxpagels/b9c9001f7e5b28a5742b81b02f7704e2 to your computer and use it in GitHub Desktop.
Save maxpagels/b9c9001f7e5b28a5742b81b02f7704e2 to your computer and use it in GitHub Desktop.
import numpy as np
from sklearn import linear_model
n_samples, n_features = 1, 500
y = np.random.randn(n_samples)
X = np.random.randn(n_samples, n_features)
clf = linear_model.SGDRegressor()
import time
start_time = time.time()
clf.partial_fit(X, y)
elapsed_time = time.time() - start_time
print(elapsed_time)
@guhan33
Copy link

guhan33 commented Jul 2, 2019

is there any similar way to define a keras sequential model ?

@suniladityajatni
Copy link

is there any similar way to define a keras sequential model ?

yes u can use keras sequential api.Link :- https://keras.io/api/models/sequential/

@AdrianRamoos
Copy link

have you tried with the RIVER library? what is your opinion on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment