On Thu, Dec 01, 2011 at 03:48:34PM -0700, María Helena Mejía Salazar wrote:
> I am running plot_dbscan.py example. Lines 45-48 have problems.

>     metrics.adjusted_mutual_info_score method and  metrics.silhouette_score
> don't exist.

Chances are that the examples work for the scikit-learn version that they
were designed for: they are automatically run when we build the
documentation, and we should see failures.

I suspect that you are using one version of scikit-learn with examples
for a different version. One way to check the version of scikit-learn
that you are using is to do:

    import scikits.learn
    print scikits.learn.__version__

Then you can go to the online documentation of the corresponding version:
http://scikit-learn.org/stable/support.html#documentation-resources
and download from it the corresponding example.

Hopefully this should fix your problem.

Cheers,

Gaël

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to