Skip to content

Commit

Permalink
loop ensembles
Browse files Browse the repository at this point in the history
  • Loading branch information
zmlabe committed Jan 11, 2022
1 parent e5cce73 commit eb21e90
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
32 changes: 0 additions & 32 deletions Scripts/ANN_v2-LoopWeights.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,38 +256,6 @@ def read_obs_dataset(variq,dataset_obs,numOfEns,lensalso,randomalso,ravelyearsbi
fractWeight = np.arange(0.1,1.2,0.1)
input_shape=np.shape(Xtrain)[1]
output_shape=np.shape(Ytrain)[1]

# OHC700
# hidden = [20,20]
# n_epochs = 500
# batch_size = 128
# lr_here = 0.001
# ridgePenalty = 0.3
# actFun = 'relu'
# fractWeight = 0.5
# input_shape=np.shape(Xtrain)[1]
# output_shape=np.shape(Ytrain)[1]

# OHC300
# hidden = [10,10]
# n_epochs = 500
# batch_size = 128
# lr_here = 0.001
# ridgePenalty = 0.15
# actFun = 'relu'
# fractWeight = 0.5
# input_shape=np.shape(Xtrain)[1]
# output_shape=np.shape(Ytrain)[1]
elif rm_ensemble_mean == False:
hidden = [20,20]
n_epochs = 500
batch_size = 128
lr_here = 0.001
ridgePenalty = 0.05
actFun = 'relu'
fractWeight = 0.5
input_shape=np.shape(Xtrain)[1]
output_shape=np.shape(Ytrain)[1]
else:
print(ValueError('SOMETHING IS WRONG WITH DATA PROCESSING!'))
sys.exit()
Expand Down
1 change: 1 addition & 0 deletions Scripts/plot_GMSTdatasets_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Author : Zachary M. Labe
Date : 10 January 2022
Version : 2
Revision : 1
"""

### Import packages
Expand Down

0 comments on commit eb21e90

Please sign in to comment.