def progstart():
    rarray = []
    rarray.append(appstart('sigmoid'))
    rarray.append(appstart('relu'))
    rarray.append(appstart('elu'))
    if (not os.path.exists('figures')):
        os.makedirs('figures')
    fig1 = plt.figure()
    axes1 = fig1.add_axes([0.1, 0.1, 0.8, 0.8])
    axes1.plot(rarray[0][0], rarray[0][1], 'r')
    axes1.plot(rarray[0][0], rarray[1][1], 'b')
    axes1.plot(rarray[0][0], rarray[2][1], 'g')
    axes1.set_xlabel('Train Iterations')
    axes1.set_ylabel('Train accuracy')
    fig1.savefig((('figures/' + expno) + '_trainAccuracy.png'))
    fig2 = plt.figure()
    axes2 = fig2.add_axes([0.1, 0.1, 0.8, 0.8])
    axes2.plot(rarray[0][0], rarray[0][2], 'r')
    axes2.plot(rarray[0][0], rarray[1][2], 'b')
    axes2.plot(rarray[0][0], rarray[2][2], 'g')
    axes2.set_xlabel('Train Iterations')
    axes2.set_ylabel('Test accuracy')
    fig2.savefig((('figures/' + expno) + '_testAccuracy.png'))
    plt.plot()
def progstart():
    rarray = []
    rarray.append(appstart('sigmoid'))
    rarray.append(appstart('relu'))
    rarray.append(appstart('elu'))
    if (not os.path.exists('figures')):
        os.makedirs('figures')
    fig1 = plt.figure()
    axes1 = fig1.add_axes([0.1, 0.1, 0.8, 0.8])
    axes1.plot(rarray[0][0], rarray[0][1], 'r')
    axes1.plot(rarray[0][0], rarray[1][1], 'b')
    axes1.plot(rarray[0][0], rarray[2][1], 'g')
    axes1.set_xlabel('Train Iterations')
    axes1.set_ylabel('Train accuracy')
    fig1.savefig((('figures/' + expno) + '_trainAccuracy.png'))
    fig2 = plt.figure()
    axes2 = fig2.add_axes([0.1, 0.1, 0.8, 0.8])
    axes2.plot(rarray[0][0], rarray[0][2], 'r')
    axes2.plot(rarray[0][0], rarray[1][2], 'b')
    axes2.plot(rarray[0][0], rarray[2][2], 'g')
    axes2.set_xlabel('Train Iterations')
    axes2.set_ylabel('Test accuracy')
    fig2.savefig((('figures/' + expno) + '_testAccuracy.png'))
    plt.plot()