I have dataframe with columns Year, month, day,hour, minute, second, Daily_KWH. I need to predict Daily KWH using neural netowrk. Please let me know how to go about it
Use a regressor instead. This will solve float 2D data issue.
from sklearn.neural_network import MLPRegressor model = MLPRegressor(solver='lbfgs',alpha=0.001,hidden_layer_sizes=(10,10)) model.fit(x_train,y_train) y_pred = model.predict(x_test)