An objective function or loss function must be provided when building a NN model. If the independent variable has 2 categories, use “binary_crossentropy”, otherwise, use “categorical_crossentropy”.
Machine Learning A-Z
Thoughts and flashcards derived from Udemy’s course Machine Learning A-Z.