Skip to content

Commit

Permalink
Merge pull request #14 from ai2es/notebooks
Browse files Browse the repository at this point in the history
notebook and environment update
  • Loading branch information
djgagne authored Feb 29, 2024
2 parents 1ea07cd + fac3727 commit 178638d
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 797 deletions.
36 changes: 18 additions & 18 deletions config/surface_layer/mlp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ensemble:
monte_carlo_passes: 100

data:
save_loc: "/glade/p/cisl/aiml/ai2es/surfacelayer/cabauw_derived_data_20210720.csv"
# save_loc: "/glade/p/cisl/aiml/ai2es/surfacelayer/cabauw_derived_data_20210720.csv"
input_cols: [
'wind_speed:10_m:m_s-1',
'potential_temperature_skin_change:10_m:K_m-1',
Expand All @@ -21,21 +21,21 @@ data:
'kinematic_sensible_heat_flux:surface:K_m_s-1',
'kinematic_latent_heat_flux:surface:g_kg-1_m_s-1'
]
splitter: "GroupShuffleSplit"
scaler_x:
type: "quantile"
params:
copy: true
with_mean: true
with_std: true
scaler_y:
type: "symmetric"
params:
copy: true
with_mean: true
with_std: true
split_col: "day"
train_size: 0.9
# splitter: "GroupShuffleSplit"
# scaler_x:
# type: "quantile"
# params:
# copy: true
# with_mean: true
# with_std: true
# scaler_y:
# type: "symmetric"
# params:
# copy: true
# with_mean: true
# with_std: true
# split_col: "day"
# train_size: 0.9

model:
hidden_layers: 1
Expand All @@ -51,8 +51,8 @@ model:
use_noise: False
use_dropout: True
dropout_alpha: 0.2
epochs: 100
verbose: 0
# epochs: 100
# verbose: 0

callbacks:
EarlyStopping:
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies:
- imbalanced-learn
- pip:
- tensorflow
- keras
- echo-opt
- hagelslag
- bridgescaler
Expand Down
Loading

0 comments on commit 178638d

Please sign in to comment.