Andreas Mueller <t3kcit@...> writes:
>
>
> Can you please give a full traceback?
> Which version of scikit-learn and scipy are you using?
> And how did you install scipy and scikit-learn?
> It looks like "sudo pip install". That is possibly not a good way
to
> built scipy, as it might be linked to an unoptimized BLAS.
> AndyOn 05/11/2015 11:13 PM, Siddhartha Nath
> wrote:
>
>
>
> File
> "/usr/local/lib/python3.4/site-
packages/scipy/linalg/decomp_svd.py",
> line 106, in svd
>
> full_matrices=full_matrices, overwrite_a=overwrite_a)
> ValueError: On entry to DGESDD parameter number 12 had an
> illegal value
>
>
> for multiple tests
>
>
> My first time using scikit-learn, Any pointers will be
> appreciated.
>
> -- Siddhartha
>
>
> ---------------------------------------------------------------
---------------
> One dashboard for servers and applications across Physical-Virtual-
Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable
Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Scikit-learn-general mailing list
> scikit-learn-general-5nwgofrqmnerv+lv9mx5uipxlwaov...@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
>
>
>
> ----------------------------------------------------------------------
--------
> One dashboard for servers and applications across Physical-Virtual-
Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable
Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
> ----------------------------------------------------------------------
--------
> One dashboard for servers and applications across Physical-Virtual-
Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable
Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Hi, Andy --
Thanks for your reply.
scikit-learn version = 0.16.1
scipy version = 0.15.1 (installed using sudo pip3.4 install -U scipy)
gcc version = 4.8.2
I did install blas-devel.x86_64 and blas.x86_64 prior to installing
numpy and scipy.
My OS is CentOS 5.11
Tracebacks.
============================================
======================================================================
ERROR: sklearn.cluster.tests.test_bicluster.test_spectral_coclustering
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/nose/case.py", line 198,
in runTest
self.test(*self.arg)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/tests/test_bicluster.py", line 84, in
test_spectral_coclustering
model.fit(mat)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/bicluster.py", line 122, in fit
self._fit(X)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/bicluster.py", line 271, in _fit
u, v = self._svd(normalized_data, n_sv, n_discard=1)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/bicluster.py", line 135, in _svd
**kwargs)
File "/usr/local/lib/python3.4/site-
packages/sklearn/utils/extmath.py", line 302, in randomized_svd
Uhat, s, V = linalg.svd(B, full_matrices=False)
File "/usr/local/lib/python3.4/site-
packages/scipy/linalg/decomp_svd.py", line 106, in svd
full_matrices=full_matrices, overwrite_a=overwrite_a)
ValueError: On entry to DGESDD parameter number 12 had an illegal value
======================================================================
ERROR: sklearn.cluster.tests.test_bicluster.test_spectral_biclustering
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/nose/case.py", line 198,
in runTest
self.test(*self.arg)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/tests/test_bicluster.py", line 122, in
test_spectral_biclustering
model.fit(mat)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/bicluster.py", line 122, in fit
self._fit(X)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/bicluster.py", line 440, in _fit
u, v = self._svd(normalized_data, n_sv, n_discard)
File "/usr/local/lib/python3.4/site-
packages/sklearn/cluster/bicluster.py", line 135, in _svd
**kwargs)
File "/usr/local/lib/python3.4/site-
packages/sklearn/utils/extmath.py", line 302, in randomized_svd
Uhat, s, V = linalg.svd(B, full_matrices=False)
File "/usr/local/lib/python3.4/site-
packages/scipy/linalg/decomp_svd.py", line 106, in svd
full_matrices=full_matrices, overwrite_a=overwrite_a)
ValueError: On entry to DGESDD parameter number 12 had an illegal value
======================================================================
ERROR:
sklearn.datasets.tests.test_samples_generator.test_make_low_rank_matrix
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/nose/case.py", line 198,
in runTest
self.test(*self.arg)
File "/usr/local/lib/python3.4/site-
packages/sklearn/datasets/tests/test_samples_generator.py", line 263, in
test_make_low_rank_matrix
u, s, v = svd(X)
File "/usr/local/lib/python3.4/site-packages/numpy/linalg/linalg.py",
line 1327, in svd
u, s, vt = gufunc(a, signature=signature, extobj=extobj)
ValueError: On entry to DGESDD parameter number 12 had an illegal value
======================================================================
ERROR:
sklearn.decomposition.tests.test_sparse_pca.test_fit_transform_tall
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/nose/case.py", line 198,
in runTest
self.test(*self.arg)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/tests/test_sparse_pca.py", line 106, in
test_fit_transform_tall
U1 = spca_lars.fit_transform(Y)
File "/usr/local/lib/python3.4/site-packages/sklearn/base.py", line
433, in fit_transform
return self.fit(X, **fit_params).transform(X)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/sparse_pca.py", line 125, in fit
return_n_iter=True
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/dict_learning.py", line 434, in
dict_learning
code, S, dictionary = linalg.svd(X, full_matrices=False)
File "/usr/local/lib/python3.4/site-
packages/scipy/linalg/decomp_svd.py", line 106, in svd
full_matrices=full_matrices, overwrite_a=overwrite_a)
ValueError: On entry to DGESDD parameter number 12 had an illegal value
======================================================================
ERROR: sklearn.decomposition.tests.test_truncated_svd.test_algorithms
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/nose/case.py", line 198,
in runTest
self.test(*self.arg)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/tests/test_truncated_svd.py", line 29, in
test_algorithms
Xr = svd_r.fit_transform(X)[:, :6]
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/truncated_svd.py", line 168, in
fit_transform
random_state=random_state)
File "/usr/local/lib/python3.4/site-
packages/sklearn/utils/extmath.py", line 302, in randomized_svd
Uhat, s, V = linalg.svd(B, full_matrices=False)
File "/usr/local/lib/python3.4/site-
packages/scipy/linalg/decomp_svd.py", line 106, in svd
full_matrices=full_matrices, overwrite_a=overwrite_a)
ValueError: On entry to DGESDD parameter number 12 had an illegal value
======================================================================
ERROR: sklearn.decomposition.tests.test_truncated_svd.test_attributes
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/nose/case.py", line 198,
in runTest
self.test(*self.arg)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/tests/test_truncated_svd.py", line 41, in
test_attributes
tsvd = TruncatedSVD(n_components).fit(X)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/truncated_svd.py", line 130, in fit
self.fit_transform(X)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/truncated_svd.py", line 168, in
fit_transform
random_state=random_state)
File "/usr/local/lib/python3.4/site-
packages/sklearn/utils/extmath.py", line 302, in randomized_svd
Uhat, s, V = linalg.svd(B, full_matrices=False)
File "/usr/local/lib/python3.4/site-
packages/scipy/linalg/decomp_svd.py", line 106, in svd
full_matrices=full_matrices, overwrite_a=overwrite_a)
ValueError: On entry to DGESDD parameter number 12 had an illegal value
======================================================================
ERROR:
sklearn.decomposition.tests.test_truncated_svd.test_inverse_transform
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/nose/case.py", line 198,
in runTest
self.test(*self.arg)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/tests/test_truncated_svd.py", line 68, in
test_inverse_transform
Xt = tsvd.fit_transform(X)
File "/usr/local/lib/python3.4/site-
packages/sklearn/decomposition/truncated_svd.py", line 168, in
fit_transform
random_state=random_state)
File "/usr/local/lib/python3.4/site-
packages/sklearn/utils/extmath.py", line 302, in randomized_svd
Uhat, s, V = linalg.svd(B, full_matrices=False)
File "/usr/local/lib/python3.4/site-
packages/scipy/linalg/decomp_svd.py", line 106, in svd
full_matrices=full_matrices, overwrite_a=overwrite_a)
ValueError: On entry to DGESDD parameter number 12 had an illegal value
----------------------------------------------------------------------
Ran 4087 tests in 151.084s
FAILED (SKIP=20, errors=7)
======================================
Thanks,
-- Siddhartha
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general