-
-
Save karamanbk/fae78e4b0894cc0812812e4e600e5860 to your computer and use it in GitHub Desktop.
I need the data for this notebook. Does anyone have the source?
He put the dataset in the article, please read!
Hello, nice script and works very good.
I have the same question as above.
How can you make a prediction for the next couple of months?
@ankitrules27 @aBOBination where you able to find out?Thank you in advance
If you have the last month data then you can predict the month right after the last month
I need the data for this notebook. Does anyone have the source?
Just copy train.csv to sales_data.csv. Look for the data files on the article: https://www.kaggle.com/c/demand-forecasting-kernels-only/data
Good day!
I am getting error on indent 41
print np.concatenate([y_pred[index],X_test[index]],axis=1)
^
SyntaxError: invalid syntax
In [41]:
#rebuild test set for inverse transform
pred_test_set = []
for index in range(0,len(y_pred)):
print np.concatenate([y_pred[index],X_test[index]],axis=1)
pred_test_set.append(np.concatenate([y_pred[index],X_test[index]],axis=1))
Please tell me the solution.
Thank you
Good day!
I am getting error on indent 41
print np.concatenate([y_pred[index],X_test[index]],axis=1)
^
SyntaxError: invalid syntaxIn [41]:
#rebuild test set for inverse transform
pred_test_set = []
for index in range(0,len(y_pred)):
print np.concatenate([y_pred[index],X_test[index]],axis=1)
pred_test_set.append(np.concatenate([y_pred[index],X_test[index]],axis=1))Please tell me the solution.
Thank you
This is running version 2.X of python, while you're running python 3.X, just add () for the print print(np.concatenate([y_pred[index],X_test[index]],axis=1))
Добрый день!
Я получаю ошибку при
отступе 41 print np.concatenate ([y_pred [index], X_test [index]], axis = 1)
^
SyntaxError: недопустимый синтаксис
В [41]:
#rebuild набор тестов для обратного преобразования
pred_test_set = []
для индекса в диапазоне (0, len (y_pred)):
print np.concatenate ([y_pred [index], X_test [index]], axis = 1)
pred_test_set.append (np .concatenate ([y_pred [индекс], X_test [индекс]], ось = 1))
Подскажите пожалуйста решение.
СпасибоЭто работает под управлением Python версии 2.X, в то время как вы используете Python 3.X, просто добавьте () для печати
print(np.concatenate([y_pred[index],X_test[index]],axis=1))
Thank you!
The dataset he put it in the article please read it.