The readme examples raises:
│ ... first 7 lines hidden (Ctrl+O to show) ... │
│ File "\Lib\site-packages\fpls\core.py", line 101, in fi │
│ t │
│ self.coef_ = self._pls_conjugate_gradient(r, K) │
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │
│ File "\Lib\site-packages\fpls\core.py", line 143, in _p │
│ ls_conjugate_gradient │
│ α_val = float(α)
│ TypeError: only 0-dimensional arrays can be converted to Python scalars │
(clean-sego) C:\Users\psaves>python --version
Python 3.11.11
pandas 2.3.3
numpy 2.4.4
seaborn 0.13
The readme examples raises:
│ ... first 7 lines hidden (Ctrl+O to show) ... │
│ File "\Lib\site-packages\fpls\core.py", line 101, in fi │
│ t │
│ self.coef_ = self._pls_conjugate_gradient(r, K) │
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ │
│ File "\Lib\site-packages\fpls\core.py", line 143, in _p │
│ ls_conjugate_gradient │
│ α_val = float(α)
│ TypeError: only 0-dimensional arrays can be converted to Python scalars │
(clean-sego) C:\Users\psaves>python --version
Python 3.11.11
pandas 2.3.3
numpy 2.4.4
seaborn 0.13