Questions tagged [multicollinearity]

62 questions
-2
votes
0 answers

categorical_crossentropy, expected y_pred.shape to be (batch_size, num_classes) with num_classes > 1

I am applying ANN to iris dataset and it gives me this error: Model.fit(x_train, y_train, epochs=100, batch_size=2) SyntaxWarning: In loss categorical_crossentropy, expected y_pred.shape to be (batch_size, num_classes) with num_classes > 1.…
1 2 3 4
5