Skip to content

anypinn.cli.scaffold.fitzhugh_nagumo.config_synthetic

FitzHugh-Nagumo neuron model — training configuration.

EXPERIMENT_NAME = '__EXPERIMENT_NAME__' module-attribute

RUN_NAME = 'v0' module-attribute

hp = ODEHyperparameters(lr=0.001, max_epochs=3000, gradient_clip_val=0.5, criterion='mse', training_data=(GenerationConfig(batch_size=300, data_ratio=2, collocations=5000, collocation_sampler='latin_hypercube', x=(torch.linspace(start=0, end=50, steps=300)), args_to_train={}, noise_level=0)), fields_config=(MLPConfig(in_dim=1, out_dim=1, hidden_layers=[64, 128, 128, 64], activation='tanh', output_activation=None)), params_config=(ScalarConfig(init_value=0.3)), scheduler=(ReduceLROnPlateauConfig(mode='min', factor=0.5, patience=55, threshold=0.005, min_lr=1e-06)), smma_stopping=(SMMAStoppingConfig(window=50, threshold=1e-06, lookback=100)), pde_weight=0.001, ic_weight=10, data_weight=5) module-attribute