Sep-15-2021, 12:48 PM
(Sep-15-2021, 09:48 AM)ibreeden Wrote: Hi Jenya56, you are not making it easy for us to understand the problem. First: if there is an error message you should post the complete message (inerror
tags). Second: the code you show us appears to generate no errors, but you mention vaguely there are accuracy calculations running after your code. Apperantly the error comes from those calculations.
You mention:(Sep-14-2021, 09:11 PM)jenya56 Wrote: Once the function returns... but there is no function in your code, and then of course no return statement. My guess is you should write this as a function, returning values to the accuracy calculations.
Hi! I actually found the problem. For reference, I did not have to do splitting of data. My y_pred was not equal to y (shape wise) and was complaining about that! THANK YOU