Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2019 21:29:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 242672] science/py-scikit-learn: Fails due to unresolved symbols (py36-scikit-learn-0.20.3_1)
Message-ID:  <bug-242672-21822-DVRkhpzBbC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242672-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242672-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242672

--- Comment #11 from Andy Mender <andymenderunix@gmail.com> ---
(In reply to Andy Mender from comment #10)

My apologies! I just now realized `cblas` and `blas` are NOT the same thing.

I tested science/py-scikit-learn-0.20.3 again, this time linked against blas
(not cblas!) via `LDFLAGS=3D-lblas`and it DID in fact work. I got the follo=
wing
warnings while running my SVM model, but it still generated the expected
results:
```
/usr/local/lib/python3.6/site-packages/sklearn/utils/validation.py:595:
DataConversionWarning: Data with input dtype int64 was converted to float64=
 by
StandardScaler.
  warnings.warn(msg, DataConversionWarning)
/usr/local/lib/python3.6/site-packages/sklearn/utils/validation.py:595:
DataConversionWarning: Data with input dtype int64 was converted to float64=
 by
StandardScaler.
  warnings.warn(msg, DataConversionWarning)
/usr/local/lib/python3.6/site-packages/sklearn/utils/validation.py:595:
DataConversionWarning: Data with input dtype int64 was converted to float64=
 by
StandardScaler.
  warnings.warn(msg, DataConversionWarning)
```

I also suggest this change to the LIB_DEPENDS in the Makefile to make it de=
pend
on math/blas, instead of math/cblas like it did before:
`LIB_DEPENDS=3D   libblas.so.2:math/blas`

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242672-21822-DVRkhpzBbC>