Negative accuracy spp

https://colab.research.google.com/drive/1qSfT7hBlXCw2QdPr4LqCRtMFWSNXsmDh#scrollTo=U5qX7v5STXDD

this is my code for stock price prediction and its giving neg accuracy ,i m using given xtrain and ytrain should i create new ytrain by concat xtrain and xtest ???

hey @Ashu1318,
first thing i can’t view your code , kindly provide the access.

No you don’t need to do that. use y train provided as a target value.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.