On 04/30/2013 09:49 PM, Anne Dwyer wrote:
> On this page (http://scikit-learn.org/0.13/modules/tree.html), the example 
> shows
>
> from sklearn import tree
> clf = tree.DecisionTreeClassifier()
>
> On this page 
> (http://scikit-learn.org/0.13/modules/generated/sklearn.tree.DecisionTreeClassifier.html),
> the example shows
>
> from sklearn.tree import DecisionTreeClassifier
> clf = DecisionTreeClassifier(random_state=0)
>
That these are the same is basic Python.
I don't think we can aim at explaining machine learning, python and 
sklearn in the docs.
We could try to make them easier for Python beginners, though.... but I 
don't think this should
be high up on our list of priorities, with the issue and PR lists 
getting longer and longer and longer....

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to