Demo entry 6688288

snippets

   

Submitted by anonymous on Jan 02, 2018 at 11:47
Language: Python 3. Code size: 158 Bytes.

clf = linear_model.SGDClassifier()
x1 = some_new_data
y1 = the_labels
clf.partial_fit(x1,y1)
x2 = some_newer_data
y2 = the_labels
clf.partial_fit(x2,y2)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).