[scikit-learn] gridsearchCV able to handle list of input?
Carlton Banks
noflaco at gmail.com
Sun Apr 30 08:18:10 EDT 2017
The shapes are
print len(train_input)
print train_input[0].shape
print train_output.shape
33
(100, 8, 45, 3)
(100, 1, 145)
100 is the batch-size..
> Den 30. apr. 2017 kl. 12.57 skrev Joel Nothman <joel.nothman at gmail.com>:
>
> Scikit-learn should accept a list as X to grid search and index it just fine. So I'm not sure that constraint applies to Grid Search
>
> On 30 April 2017 at 20:11, Julio Antonio Soto de Vicente <julio at esbet.es <mailto:julio at esbet.es>> wrote:
> Tbh I've never tried, but I would say that te current sklearn API does not support multi-input data...
>
> El 30 abr 2017, a las 12:02, Joel Nothman <joel.nothman at gmail.com <mailto:joel.nothman at gmail.com>> escribió:
>
>> What are the shapes of train_input and train_output?
>>
>> On 30 April 2017 at 12:59, Carlton Banks <noflaco at gmail.com <mailto:noflaco at gmail.com>> wrote:
>> I am currently trying to run some gridsearchCV on a keras model which has multiple inputs.
>> The inputs is stored in a list in which each entry in the list is a input for a specific channel.
>>
>>
>> Here is my model and how i use the gridsearch.
>>
>> https://pastebin.com/GMKH1L80 <https://pastebin.com/GMKH1L80>
>>
>> The error i am getting is:
>>
>> https://pastebin.com/A3cB0rMv <https://pastebin.com/A3cB0rMv>
>>
>> Any idea how i can resolve this?
>>
>>
>>
>> _______________________________________________
>> scikit-learn mailing list
>> scikit-learn at python.org <mailto:scikit-learn at python.org>
>> https://mail.python.org/mailman/listinfo/scikit-learn <https://mail.python.org/mailman/listinfo/scikit-learn>
>>
>>
>> _______________________________________________
>> scikit-learn mailing list
>> scikit-learn at python.org <mailto:scikit-learn at python.org>
>> https://mail.python.org/mailman/listinfo/scikit-learn <https://mail.python.org/mailman/listinfo/scikit-learn>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org <mailto:scikit-learn at python.org>
> https://mail.python.org/mailman/listinfo/scikit-learn <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170430/dc9c223e/attachment.html>
More information about the scikit-learn
mailing list