-
Notifications
You must be signed in to change notification settings - Fork 19.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing example in documentation #19939
Comments
Hello there however , in this example , you can simply use keras Sequential API and only use one Dense layer as you said for logistic regression , but you have to specify the input shape with the input_shape parameter in that Dense layer |
Ohh got it thanks :) |
This example is quite confusing. It is more complex than traditional logistic regression. In a true logistic regression, there would typically be a single output neuron with a sigmoid activation for binary classification, or multiple output neurons without a hidden layer for multi-class problems. It might be better to replace this example with something else, or clarify the documentation by adding "input layer with 32 neurons connected with 16 fully connected neurons (dense layer)."
The text was updated successfully, but these errors were encountered: