Conversation
|
Isn't there any advanced classification techniques like Convolutional neural network available for classification? |
|
What is the accuracy of all the algorithms? |
|
No but we will provide it to test it's accuracy against basic classification techniques |
|
Is there any suggestions? |
| y = np.array(df['Prediction'])[:-future_days] | ||
|
|
||
| x_train, x_test, y_train, y_test = train_test_split(X, y, test_size=0.25) | ||
|
|
There was a problem hiding this comment.
You are using the variable X in valid = df[X.shape[0]:], but it's not defined anywhere in the given code. I guess you should use X_train. And also the predictions array is being assigned to the valid DataFrame's 'Predictions' column through the line valid['Predictions'] = predictions. Assigning values to a new column in a slice may not function as intended because valid is produced as a slice of the original DataFrame df. You can make a new DataFrame just for the forecasts to get around this problem.
No description provided.