Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed configs/.small_network_tf.yml.swp
Binary file not shown.
62 changes: 62 additions & 0 deletions configs/automated_tf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
FileSettings:
# FileName : "/home/henryi/sft/MaCh3Tutorial/Test.root"
# FileName: "/home/henryi/scratch/Delayed_Fit_Long_Chains_no_delay_adapt_0_4.root"
SkipFileLoading: True
FileName: "/home/henryi/scratch/thinned_partial_chain.root"
ChainName : "posteriors"
Verbose : False
MakeMLModel: True
RunLLHScan: False
RunMCMC: True


ParameterSettings:
ParameterNames : ["sin2th","delm2", "delta", "xsec", "sk", "nd"]
LabelName : "LogL"
IgnoredParameters : ["LogL_systematic_xsec_cov", "Log",
"LogL_systematic_nddet_cov"]
ParameterCuts : ["LogL<5000", "LogL>4900", "delm2_23>0"]
CircularParameter: ["delta_cp"]


MLSettings:
FitterPackage : "TensorFlow"
FitterName : "autotune"
TestSize : 0.2

MLOutputFile: "tf_model_normal_order_small.keras"
MLScalerOutputName: "scaler_tf_model_normal_order_small.pkl"

PlotOutputName : "tf_normal_order.pdf"

AddFromExternalModel: False
ExternalModel: "tf_model_normal_order.keras"
ExternalScaler: "scaler_tf_model_normal_order_small.pkl"

FitterKwargs:
BuildSettings:
epochs: 10000
batch_size: 4096
# Tuning features
n_trials: 30

hyperband_iterations: 10
tuning_dir: "~/scratch/t2k_full_tuning"
project_name: "t2k_linear_tune"

n_layers: [5, 25, 2]
activation: ['tanh', 'relu', 'swish', 'selu', 'elu', 'leak_relu', 'softplus']
neurons_per_layer: [24, 1024, 100]
learning_rate: [0.001, 0.0001, 0.00001]
regularization: [0.0001, 0.1, 1.0]

MCMCSettings:
NSteps: 1000000
NChains: 20
UpdateStep: 100
MaxUpdateSteps: 500000

MCMCOutput: "/home/henryi/scratch/mcmc_chain_GPU.h5"

LikelihoodScanSettings:
NDivisions: 10000
103 changes: 0 additions & 103 deletions configs/big_network.yml

This file was deleted.

58 changes: 58 additions & 0 deletions configs/normalizing_flow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
FileSettings:
# FileName : "/home/henryi/sft/MaCh3Tutorial/Test.root"
# FileName: "/home/henryi/scratch/Delayed_Fit_Long_Chains_no_delay_adapt_0_4.root"
SkipFileLoading: True
FileName: "/home/henryi/scratch/thinned_partial_chain.root"
ChainName : "posteriors"
Verbose : False
MakeMLModel: True
RunLLHScan: False
RunMCMC: False


ParameterSettings:
ParameterNames : ["sin2th","delm2", "delta", "xsec", "sk", "nd"]
LabelName : "LogL"
IgnoredParameters : ["LogL_systematic_xsec_cov", "Log",
"LogL_systematic_nddet_cov"]
ParameterCuts : ["LogL<5000", "LogL>4900", "delm2_23>0"]
CircularParameter: ["delta_cp"]


MLSettings:
FitterPackage : "TensorFlow"
FitterName : "normalizing_flow"
TestSize : 0.2

MLOutputFile: "tf_model_normal_order_small.keras"
MLScalerOutputName: "scaler_tf_model_normal_order_small.pkl"

PlotOutputName : "tf_normal_order.pdf"

AddFromExternalModel: False
ExternalModel: "tf_model_normal_order.keras"
ExternalScaler: "scaler_tf_model_normal_order_small.pkl"

FitterKwargs:
BuildSettings:
learning_rate: 0.01
hidden_units: [2000, 2000, 2000, 2000, 2000, 2000]
loc: 0
scale: 1

FitSettings:
batch_size: 4096
epochs: 250
validation_split: 0.1
shuffle: True
steps_per_epoch: 1
MCMCSettings:
NSteps: 1000000
NChains: 20
UpdateStep: 100
MaxUpdateSteps: 500000

MCMCOutput: "/home/henryi/scratch/mcmc_chain_GPU.h5"

LikelihoodScanSettings:
NDivisions: 10000
23 changes: 0 additions & 23 deletions configs/normalizing_flow_config.yml

This file was deleted.

50 changes: 0 additions & 50 deletions configs/plotting_config.yml

This file was deleted.

Loading