2012/11/1  <paul.czodrow...@merckgroup.com>:
> given a list of of features - e.g. dataDescrs[0] = (140.0, 2, 0.5 - and a
> list of experimental observations - e.g. data_activities[0] = 0 - how do I
> transform these lists to the scikit-learn nomenclature?

Depends on what these things represent, but if all tuples in
dataDescrs have the same length and data_activities contains what you
want to predict, then the simplest possible "transformation" would be

    X = dataDescrs
    y = data_activities

i.e., you should be able to feed your data to an estimator as-is. If
that doesn't work, or gives very surprising results, then please
report back with some more details of what your data looks like.

(You might have to call np.array on both; if you do and it works, also
please report back, as it would likely mean there's an input
validation bug in one of our estimators.)

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to