knn caret prediction date rstudio

we are trying to predict the date of wich the avocado price is gone be the lower with caret package. how can we normalise the date in R. Sorry i am really new at this :sweat_smile:

This is a problem in the forecasting domain. A series of observations of one or more variables that are sequential in time poses a difficulty called autocorrelation (essentially, what has been in the immediate past is likely to be in the immediate future) that violates the independence assumption of standard regression approaches like ordinary least square regression.

The best place to start with getting a handle on this class of problems is with the Hyndman and Athanosopolus text

Thank you so much this is so clear i am gone make à look at it !

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.