ImportError: No module named sklearn.cluster, Parameters extraction not yet performed!
2,883 views
Skip to first unread message
komkiew pinpimai
unread,
Feb 17, 2014, 7:34:48 PM2/17/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ductap...@googlegroups.com
Hi all, I'm a new user. I got the errors as following this. I'm not quite sure is there anything wrong with my data. What should I do ? I run ductape on Mac.
Calculating parameters 100% [======================================================================] Item 192 on 192 total Exception in thread Thread-1: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 808, in __bootstrap_inner self.run() File "/Library/Python/2.7/site-packages/ductape/phenome/biolog.py", line 2336, in run self.exp.clusterize(self.save_fig, self.n_clusters) File "/Library/Python/2.7/site-packages/ductape/phenome/biolog.py", line 1322, in clusterize from ductape.phenome.clustering import mean, kmeans, plotClusters File "/Library/Python/2.7/site-packages/ductape/phenome/clustering.py", line 11, in <module> from sklearn.cluster import KMeans, MeanShift, estimate_bandwidth ImportError: No module named sklearn.cluster
13:26:05 - 2 - Clustering 13:26:05 - Parameters extraction not yet performed! Traceback (most recent call last): File "/usr/local/bin/dphenome", line 626, in <module> ret = options.func(options, wdir, project) File "/usr/local/bin/dphenome", line 98, in dstart elbow=options.e): File "/usr/local/bin/dphenome", line 352, in doClusterPhenome biolog.addWells(wells, clustered=True, replace=True) File "/Library/Python/2.7/site-packages/ductape/storage/SQLite/database.py", line 3710, in addWells raise Exception('Parameters extraction not yet performed!') Exception: Parameters extraction not yet performed!
Marco Galardini
unread,
Feb 18, 2014, 8:37:17 AM2/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to komkiew pinpimai, ductap...@googlegroups.com
Hi komkiew,
Are you sure that the scikit-learn package is installed on your system?
You can either download it from their website http://scikit-learn.org/ or by using the python package manager (pip).
To make sure that the installation process went fine just type from
the terminal:
- python
- from sklearn.cluster import KMeans
Hope this helps,
Marco
----- Messaggio da dog...@gmail.com ---------
Data: Mon, 17 Feb 2014 16:34:48 -0800 (PST)
Da: komkiew pinpimai <dog...@gmail.com>
Rispondi-A:komkiew pinpimai <dog...@gmail.com>
Oggetto: [DuctApe] ImportError: No module named sklearn.cluster,