clipper running error

84 views
Skip to first unread message

ven...@gmail.com

unread,
Apr 29, 2019, 5:09:29 AM4/29/19
to CLIPper-discuss
Hi all,
I have already installed clipper by easy_install clipper. 
However, when I run clipper -h 
it shows this error:

File "/usr/local/lib/python2.7/dist-packages/clipper-0.2.0-py2.7-linux-x86_64.egg/clipper/src/call_peak.py", line 693, in <module>
    class MyGMM(mixture.GMM):
AttributeError: 'module' object has no attribute 'GMM'

when I look at the 693 line of the call_peak.py, it shows as follows:

class MyGMM(mixture.GMM):

    def bic(self, X, scoreWeight = 2, complexityWeight=4):
        return (-scoreWeight * self.score(X).sum() +
                complexityWeight * (self._n_parameters() * np.log(X.shape[0])))
thanks for your help,
venci

Xuan Ye

unread,
Apr 29, 2019, 1:15:49 PM4/29/19
to ven...@gmail.com, CLIPper-discuss
try scikit-learn 0.18.2 version. 
Reply all
Reply to author
Forward
0 new messages