Esempio n. 1
0
def gaussian_linear_experiment_more_epochs():
    d = 100        
    run_experiment(
        dataset_func=lambda: datasets.gaussian_data_func(d), n_classes=2, input_shape=(d,),
        save_file='saved_files/gaussian_more_epochs.dat',
        model_func=models.linear_softmax_model, interval=500, epochs=150, loss='ce',
        soft=False, conf_q=0.1, num_runs=5)
Esempio n. 2
0
def gaussian_linear_experiment_noconf():
    d = 100
    run_experiment(
        dataset_func=lambda: datasets.gaussian_data_func(d),
        n_classes=2,
        input_shape=(d, ),
        save_file="saved_files/gaussian_noconf.dat",
        model_func=models.linear_softmax_model,
        interval=500,
        epochs=100,
        loss="ce",
        soft=False,
        conf_q=0.0,
        num_runs=5,
    )