I am not using Keras and don’t know how nicely it plays with sklearn objects 
these days, but you are not giving all the data to the grid search object, 
which is why your model doesn’t get to see the whole dataset during grid 
search; i.e., you have `np.asarray(input_train[:-(len(input_train)/1000)]`

> On Mar 16, 2017, at 11:50 AM, Carlton Banks <[email protected]> wrote:
> 
> I am currently using grid search to optimize my keras model… 
> 
> Something seemed  a bit off during the training?
> 
> https://www.dropbox.com/s/da0ztv2kqtkrfpu/Screenshot%20from%202017-03-16%2016%3A43%3A42.png?dl=0
> 
> For some reason is the training for each epoch not done for all datapoints?… 
> 
> What could be wrong?
> 
> Here is the code:
> 
> http://pastebin.com/raw/itJFm5a6
> 
> Anything that seems off?
> _______________________________________________
> scikit-learn mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/scikit-learn

_______________________________________________
scikit-learn mailing list
[email protected]
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to