You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run "true_negative(x, y)" on two simple vectors x and y, I get a TypeError, which I have pasted below along with the code to reproduce it.
I've tried this within VSCode, then within a fresh Julia REPL in the terminal, then tried uninstalling and reinstalling Julia 1.7.2, then tried updating the MLJ package, etc. Assuming I've done the above troubleshooting steps correctly, the error persists...
Note: I have also tried "MLJBase.true_negative(y, yp)" and simply "true_negative(y, yp)". Each returns the same error.
Expected behavior
true_negative(x, y) should return the number of true negatives for observations x and ground truth y, so it should give an integer. For the vectors above, it should return 2, for example.
Additional context
System setup: Base model 2021 Macbook Air with the M1 chip.
Versions
Running Julia v1.7.2, installed via Homebrew. (Previously running v1.7 installed via .dmg; gave an identical error).
Thank you for the support!!
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to run "true_negative(x, y)" on two simple vectors x and y, I get a TypeError, which I have pasted below along with the code to reproduce it.
I've tried this within VSCode, then within a fresh Julia REPL in the terminal, then tried uninstalling and reinstalling Julia 1.7.2, then tried updating the MLJ package, etc. Assuming I've done the above troubleshooting steps correctly, the error persists...
To Reproduce
Note: I have also tried "MLJBase.true_negative(y, yp)" and simply "true_negative(y, yp)". Each returns the same error.
Expected behavior
true_negative(x, y) should return the number of true negatives for observations x and ground truth y, so it should give an integer. For the vectors above, it should return 2, for example.
Additional context
System setup: Base model 2021 Macbook Air with the M1 chip.
Versions
Running Julia v1.7.2, installed via Homebrew. (Previously running v1.7 installed via .dmg; gave an identical error).
Thank you for the support!!
The text was updated successfully, but these errors were encountered: