Andreas wrote:

> In the meantime, did you have a look at
> https://github.com/scikit-learn/scikit-learn/pull/1742?

No, I hadn't, but now I've merged that (not a trivial merge), and
changed a couple of things a little.

https://github.com/jnothman/scikit-learn/tree/grid_search_more_info (6e71aeaf8c)

Your output was a list of name-spaces. My output is a name-space of
lists. I think therefore what we really want is a numpy structured
array, which can be indexed either by field or by index (still
enabling vectorised calculations), and whose field names are fixed as
in a namedtuple.

I have now added such a change to that branch, in commit 9faeb89
(though _merge_result_dicts could probably be neater). Notice the
change in test_grid_search, where I may now zip the results structures
and treat each entry as a separate struct corresponding to a single
grid point.

- Joel

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to