Regression forecasting and predicting - Practical Machine Learning Tutorial with Python p.5

صادق
255 بار بازدید - 8 سال پیش - In this video, make sure
In this video, make sure you define the X's like so. I flipped the last two lines by mistake: X = np.array(df.drop(['label'],1)) X = preprocessing.scale(X) X_lately = X[-forecast_out:] X = X[:-forecast_out:] To forecast out, we need some data. We decided that we're forecasting out 10% of the data, thus we will want to, or at least *can* generate forecasts for each of the final 10% of the dataset. So when can we do this? When would we identify that data? We could call it now, but consi
8 سال پیش در تاریخ 1395/12/26 منتشر شده است.
255 بـار بازدید شده
... بیشتر