Open ayyucedemirbas opened 2 weeks ago
I have submitted a pull request to solve this problem. Thanks.
Hi there,
Thank you for pointing this out and for making a pull request about the issue, we greatly appreciate the open-source contribution!
We've noticed similar AttributeErrors before depending on the version of certain packages used to compute these correlation scores (scipy, sklearn are the usual culprits). I will do some testing of package versions on my end, and afterwards will take another look at your pull request. Could you let me know what version of scipy and sklearn you have in your environment? Thanks again!
Hi,
Thank you so much for your time and attention.
I'm using Google Colab, which has scipy 1.13.1 and sklearn 1.5.2.
Thanks.
Hello,
After running this cell in the Tutorial 1:
I encounter this error message:
It seems the error is caused by trying to call .item() on a float. Instead, the direct float values could be used, or checks could be added to ensure the correct data type before calling .item().
Thank you so much!