Exemple #1
0
def main():
    # ------ CONFIGURE PARAMETERS ------
    params = set_params.Params()
    # ------ EXECUTE ------
    results = adagrad(params)
    # ------ PLOT ------
    algorithm = "adagrad"
    plt = plot.Plot(params)
    plt.update_algorithm(algorithm, results, thresholding=True)
    plt.plot_all()
def main():
    # ------ CONFIGURE PARAMETERS ------
    params = set_params.Params()
    # ------ EXECUTE ------
    results = adam_lb_modified(params)
    # ------ PLOT ------
    if (params.flipping):
        algorithm = "adam-lb-modified-w-flipping"
    else:
        algorithm = "adam-lb-modified"
    plt = plot.Plot(params)
    plt.update_algorithm(algorithm, results, thresholding=True)
    plt.plot_all()