예제 #1
0
def main(args):
    n_runs = 10
    models = {
        'BIAS': [':', 'results_bias_nruns=%d.mat' % (n_runs,)],
        'LIN(r)': ['-.', 'results_lin_r_lambda=34_nruns=%d.mat' % (n_runs,)],
        'LIN(v)': ['--', 'results_lin_v_lambda=32_nruns=%d.mat' % (n_runs,)],
        'LIN(r) + LIN(v)': ['-', 'results_mf_lin_r_lin_v_L=0_lambdaU=1_lambdaV=1_biasU=1_biasV=1_featU=1_featV=1_lambdaBU=36_lambdaBV=80_nruns=%d.mat' % (n_runs,)],
    }
    order = ['BIAS', 'LIN(r)', 'LIN(v)', 'LIN(r) + LIN(v)']

    pu.plot_models_results(models, order, pu.get_rmse, args.save, 2)
def main(args):
    n_runs = 10
    models = {
        'LIN(r)': ['-.', 'results_lin_r_lambda=34_nruns=%d.mat' % (n_runs,)],
        'MF': [':', 'results_mf_lin_r_lin_v_L=25_lambdaU=0.0316_lambdaV=31.6_biasU=1_biasV=1_featU=0_featV=0_lambdaBU=0.01_lambdaBV=10_nruns=%d.mat' % (n_runs,)],
        'MF + LIN(r) (CV)': ['--', 'results_mf_lin_r_lin_v_L=25_lambdaU=0.08_lambdaV=28_biasU=1_biasV=1_featU=0_featV=1_lambdaBU=100_lambdaBV=10_nruns=%d.mat' % (n_runs,)],
        'MF + LIN(r) (hand)': ['-', 'results_mf_lin_r_lin_v_L=25_lambdaU=0.0316_lambdaV=31.6_biasU=1_biasV=1_featU=0_featV=1_lambdaBU=34_lambdaBV=10_nruns=%d.mat' % (n_runs,)],
    }
    order = ['LIN(r)', 'MF', 'MF + LIN(r) (CV)', 'MF + LIN(r) (hand)']

    pu.plot_models_results(models, order, pu.get_rmse, args.save)
def main(args):
    n_runs = 10
    models = {
        'BIAS': [':', 'national_bias_nruns=%d.mat' % (n_runs,)],
        'LIN(v)': ['-.', 'national_lin_v_lambda=32_nruns=%d.mat' % (n_runs,)],
        'MF + GP(r)': ['--', 'national_mf_gp_r_seard_L=25_nruns=%d.mat' % (n_runs,)],
        'MF + GP(r) + LIN(v)': ['-', 'national_mf_gp_r_lin_v_seard_L=25_lambda=200_nruns=%d.mat' % (n_runs,)],
    }
    order = ['BIAS', 'LIN(v)', 'MF + GP(r)', 'MF + GP(r) + LIN(v)']

    pu.plot_models_results(models, order, pu.get_accuracy, args.save, national=True,
                           accuracy=True)
예제 #4
0
def main(args):
    n_runs = 10
    models = {
        'LIN(v)': ['--',
                   'results_lin_v_lambda=32_nruns=%d.mat' % (n_runs, )],
        'MF + GP(r)':
        ['-.', 'results_mf_gp_r_seard_L=25_nruns=%d.mat' % (n_runs, )],
        'MF + GP(r) + LIN(v)': [
            '-',
            'results_mf_gp_r_lin_v_seard_L=25_lambda=200_nruns=%d.mat' %
            (n_runs, )
        ],
    }
    order = ['LIN(v)', 'MF + GP(r)', 'MF + GP(r) + LIN(v)']

    pu.plot_models_results(models, order, pu.get_rmse, args.save)