Closed
Description
>>> sklearn.__version__
'0.16-git'
For my dataset it gives:
File "/usr/lib64/python3.4/site-packages/sklearn/qda.py", line 148, in _decision_function
return (-0.5 * (norm2 + np.sum(np.log(self.scalings_), 1))
AttributeError: 'numpy.ndarray' object has no attribute 'log'
When
qda.py:134: self.scalings_ = np.asarray(scalings)
It shows that scalings is a 2d array in shape of (0..23, 0..23, 0..23, 0..6)