Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAMD code example not working #1

Open
EsbenFThomas opened this issue Sep 13, 2019 · 1 comment
Open

FAMD code example not working #1

EsbenFThomas opened this issue Sep 13, 2019 · 1 comment

Comments

@EsbenFThomas
Copy link

Running the exact same code as is shown in the FAMD example in the Project Description leads to an error:

Traceback (most recent call last):
File "famd.py", line 10, in
famd.fit(X)
File "/usr/local/lib/python3.7/site-packages/light_famd/famd.py", line 45, in fit
return super().fit(X)
File "/usr/local/lib/python3.7/site-packages/light_famd/mfa.py", line 70, in fit
super().fit(self._build_X_global(X))
File "/usr/local/lib/python3.7/site-packages/light_famd/pca.py", line 68, in fit
engine=self.engine
File "/usr/local/lib/python3.7/site-packages/light_famd/svd.py", line 29, in compute_svd
flip_sign=True
File "/usr/local/lib/python3.7/site-packages/sklearn/utils/extmath.py", line 371, in randomized_svd
Uhat, s, V = linalg.svd(B, full_matrices=False)
File "/usr/local/lib/python3.7/site-packages/scipy/linalg/decomp_svd.py", line 109, in svd
a1 = _asarray_validated(a, check_finite=check_finite)
File "/usr/local/lib/python3.7/site-packages/scipy/_lib/_util.py", line 242, in _asarray_validated
raise ValueError('object arrays are not supported')
ValueError: object arrays are not supported

@Cauchemare
Copy link
Owner

I have updated this package,you could update or directly remove-reinstall this package.
Good Luck!~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants