2

Based on how the EarlyStopping callback is implemented there doesn't seem to be way to accomplish this. After an epoch ends (in your case more specifically the end of the first epoch) it checks if the value at the end of the epoch is an improvement over the current value (see this function, where the current value is stored in self.best. When the training of ...


1

I expected scikit to allocate completely new memory space for corresponding model during fit() call, which does not happen to be the case. So in the first case by calling models[component].append(model) I tend to save the address of model rather than the deep copy of the model itself. Later on, this model gets overwritten by the next one and so on. ...


Only top voted, non community-wiki answers of a minimum length are eligible