Package org.data2semantics.proppred.learners.evaluation

Examples of org.data2semantics.proppred.learners.evaluation.MeanSquaredError


    List<EvaluationFunction> evalFuncs1 = new ArrayList<EvaluationFunction>();
    evalFuncs1.add(new Task1ScoreForBins(bins));

    List<EvaluationFunction> evalFuncs2 = new ArrayList<EvaluationFunction>();
    evalFuncs2.add(new Task1Score());
    evalFuncs2.add(new MeanSquaredError());
    evalFuncs2.add(new MeanAbsoluteError());


    LibLINEARParameters linParms = new LibLINEARParameters(LibLINEARParameters.SVC_DUAL, cs);
    linParms.setEvalFunction(new Task1ScoreForBothBins(bins));
View Full Code Here


    break;
    case SVC_PRIMAL: solver = SolverType.L2R_L2LOSS_SVC;
    evalFunction = new Accuracy();
    break;
    case SVR_DUAL: solver = SolverType.L2R_L2LOSS_SVR_DUAL;
    evalFunction = new MeanSquaredError();
    break;
    case SVR_PRIMAL: solver = SolverType.L2R_L2LOSS_SVR;
    evalFunction = new MeanSquaredError();
    break;
    case LR_DUAL: solver = SolverType.L2R_LR_DUAL;
    evalFunction = new Accuracy();
    break;
    case LR_PRIMAL: solver = SolverType.L2R_LR;
View Full Code Here

    verbose = false;
    ps = new double[1];
    ps[0] = 0.1;

    switch (algorithm) {
    case EPSILON_SVR: evalFunction = new MeanSquaredError(); break;
    case NU_SVR: evalFunction = new MeanSquaredError(); break;
    default: evalFunction = new Accuracy();

    }

    numFolds = 10;
View Full Code Here

TOP

Related Classes of org.data2semantics.proppred.learners.evaluation.MeanSquaredError

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.