Hi David.
Sorry about the issue you are seeing.
Which version of scikit-learn are you using, and what are the input
types and shapes?
I don't think that there are any requirements on the dimensions in
current master.
There was a refactoring of input validation that made that a bit tricky
but I actually tried to remove constraints as much as possible
in these two places.
Cheers,
Andy
On 12/18/2014 01:11 PM, David Brough wrote:
Hi,
I am working on developing a python package that uses machine learning
speed up the optimization of materials development (pymks.org
<http://pymks.org>). This package is built on top of sklearn. We have
an example in our documentation where we have used train_test_split
and GridSearchCV to search the parameter space
(http://openmaterials.github.io/pymks/rst/cahn_hilliard_Legendre.html#optimizing-the-number-of-local-states).
This example was working when it was created this summer, but is now
broken.It seems that the api for these two functions has changed. Why
are the dimension of the input arrays for both the train_test_split
and the GridSearchCV checked? It seems like the dimensions of the
input arrays are irrelevant to those functions.
Thanks,
David
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general