The learning dataset I\'m using is a grayscale image that was flatten
to have each pixel representing an individual sample. The second image will be classified pixe
TL,DR: make several loops over your data with small learning rate and different order of observations, and your partial_fit
will perform as nice as fit
.
The problem with partial_fit
with many chunks is that when your model completes the last chunk, it may forget the first one. This means, changes in the model weights due to the early batches would be completely overwritten by the late batches.
This problem, however, can be solved easily enough with a combination of:
MLPClassifier
is 0.001, but you can change it by multiples of 3 or 10 and see what happens.