Skip to content
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

Add kernel regularizer #5

Open
TilenRupar opened this issue Aug 28, 2023 · 1 comment
Open

Add kernel regularizer #5

TilenRupar opened this issue Aug 28, 2023 · 1 comment

Comments

@TilenRupar
Copy link
Collaborator

layer_dense(units = 10, activation = 'sigmoid', kernel_regularizer = regularizer_l2(l = 0.001))

@TilenRupar
Copy link
Collaborator Author

The other regularization technique which can be employed in KerasRStudio is the dropout technique. This technique can be called through layer_dropout as follows:

layer_dense(units = 10, activation = 'sigmoid' ) %>% layer_dropout(rate = .4) %>%

Repository owner deleted a comment from andrewluetgers Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant