Never mind, I got confused.
The commit was only for cross_val_score.
We should have added a "allow_nd=True" to train_test_split.
I just posted #3986 which will allow this to still run in master, which
I broke :-/
I'm not sure it is worth doing a bug-fix release for that now. I hope we
can release soon ;)
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