I am using numpy genfromtxt to load csv file. The first 4 columns are features while last column is target data.
When I run the code, I am getting nan rmse result.
Could anyone explain why?
X = dataset[:,0:4]
y = dataset[:,4]
x_train, x_test, y_train, y_test = train_test_split(
X, y, test_size=0.3)
grnnet = algorithms.GRNN(std=0.5, verbose=True)
grnnet.train(x_train, y_train)
error = scorer(grnnet, x_test, y_test)
print("GRNN RMSLE = {:.3f}\n".format(error))
Suggest to scale the data first and try again. For your convenience: