#for the life of me i cant figure out what im doing wrong in my code
1 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @polar saffron! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
maybe try using a very small dataset and debug that?
one where you know what correlation coefficients/etc you would expect
Also, maybe fix your formatting/indentation
you can do that with Ctrl+Shift+F in Eclipse or Ctrl+Alt+L in IntelliJ I think
i am using a small data set 😭 its like 5 users ratings of 3 songs, and the other input file is the songs, two of the users didnt rate two songs, my prediction is off by a smidge, so im assuming something is wrong with the math but i cant figure out what, where its supposed to be a 5 and 4 i get a 4 and 1
this for sure the code is messy apologies
so you can calculate it manually and compare all intermediate results?
as I said, your IDE can format the code automatically