Question

I am using a simple linear regression to predict the number of units an item has moved and price of the item is one of the input parameters.

For a few items, the older prices are not relevant and hence this results in incorrect predictions. The definition of old price varies from item to item. Is there a way to make the linear regression know that recent prices are more relevant?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with datascience.stackexchange
scroll top