[scikit-learn] Is something wrong with this gridsearchCV?

Carlton Banks noflaco at gmail.com
Thu Mar 16 12:31:28 EDT 2017


My intention with this was to shrink my dataset, to make the grid search a bit faster, and easier to go through… I guess I’ve tackled the wrong way...
> Den 16. mar. 2017 kl. 17.27 skrev Sebastian Raschka <se.raschka at gmail.com>:
> 
> 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 <noflaco at gmail.com> 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
>> scikit-learn at python.org
>> https://mail.python.org/mailman/listinfo/scikit-learn
> 
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn



More information about the scikit-learn mailing list