X_train = []
for i in range(5000):
X_train.append([round(-2 + 50 * rand()), round(-2 + 50 * rand())])
X_train = np.array(X_train)
Y_train = round(rand()) + X_train[:, 0] + X_train[:, 1]
X_test = []
for i in range(500):
X_test.append([round(-2 + 50 * rand()), round(-2 + 50 * rand())])
X_test = np.array(X_test)
Y_test = round(rand()) + X_test[:, 0] + X_test[:, 1]
I have obtained 500 random values and need to be classified according to randomname count classes. Without sclera it was very difficult, but I did the code and it works, the issue is closed.
Please sign in or sign up to write your answer or comment.