-
Notifications
You must be signed in to change notification settings - Fork 215
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
LinAlgError: Singular matrix #306
Comments
try scaling each column of your predictor matrix so that values are between 0 and 1. |
|
I am also experiencing a similar error, please do you solve this problem |
@BD-Sengoku, try setting the natural_gradient off |
I am just trying out NGB and the LinAlgError occured. It seems the matrix has a determinant of zero, according to this post https://stackoverflow.com/questions/10326015/singular-matrix-issue-with-numpy. I have attached the datasets that I used.
Code
Traceback
Complete error traceback
Specs
OS: Ubuntu 22.04.1 LTS x86_64
Host: G7 MD
Kernel: 5.15.0-53-generic
Uptime: 4 hours, 38 mins
Packages: 2102 (dpkg), 19 (snap)
Shell: bash 5.1.16
Resolution: 1920x1080
DE: GNOME 42.5
WM: Mutter
Terminal: gnome-terminal
CPU: 11th Gen Intel i7-11800H (16) @
GPU: NVIDIA GeForce RTX 3050 Ti Mobi
GPU: Intel TigerLake-H GT1 [UHD Grap
Memory: 10436MiB / 15780MiB
Datasets
y_train.csv
X_train.csv
The text was updated successfully, but these errors were encountered: