Skip to content

Commit

Permalink
update c2st-nn default mlp sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
felixp8 authored Feb 6, 2024
1 parent 0aa57fe commit d98fb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labproject/metrics/c2st.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def c2st_nn(
ndim = X.shape[-1]
defaults = {
"activation": activation,
"hidden_layer_sizes": (10 * ndim, 10 * ndim),
"hidden_layer_sizes": (min(10 * ndim, 100), min(10 * ndim, 100)),
"max_iter": 1000,
"solver": "adam",
"early_stopping": True,
Expand Down

0 comments on commit d98fb56

Please sign in to comment.