-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Milestone
Description
I think there is a problem when using shogun:
First after I installed shogun (the last version, I tried to install with conda forge and also pip), I cannot import modshogun
(it throws a package not found error), but instead I can import shogun
. Maybe I messed up somewhere in the install process or maybe the newest version have a different name or sth..
Even if I change the code with import shogun
instead of import modshogun
, there is another error when doing:
from metric_learn import LMNN
from sklearn.datasets import make_blobs
X, y = make_blobs(n_features=2)
X.shape
lmnn = LMNN()
lmnn.fit(X,y)
And it returns the following error:
NotImplementedError: Wrong number or type of arguments for overloaded function 'new_MulticlassLabels'.
Possible C/C++ prototypes are:
shogun::CMulticlassLabels::CMulticlassLabels()
shogun::CMulticlassLabels::CMulticlassLabels(int32_t)
shogun::CMulticlassLabels::CMulticlassLabels(shogun::SGVector< float64_t >)
shogun::CMulticlassLabels::CMulticlassLabels(shogun::CFile *)
shogun::CMulticlassLabels::CMulticlassLabels(shogun::CBinaryLabels *)
Metadata
Metadata
Assignees
Labels
No labels