Here I get raw predictions, after getting this , i want to find RMSE and MAE.
Or is there a way to predict for each ticker in this code: Below code is for overall RMSE I believe
predictions = best_tft.predict(val_dataloader, return_y=True, trainer_kwargs=dict(accelerator="cpu"))
RMSE()(predictions.output, predictions.y)
COde is :
raw_prediction = best_tft.predict( training.filter(lambda x: (x.Ticker == "AAPL") ), mode="raw", return_x=True, )
Here I get raw predictions, after getting this , i want to find RMSE and MAE.
Or is there a way to predict for each ticker in this code: Below code is for overall RMSE I believe predictions = best_tft.predict(val_dataloader, return_y=True, trainer_kwargs=dict(accelerator="cpu")) RMSE()(predictions.output, predictions.y)