Package com.clearnlp.classification.algorithm.old

Examples of com.clearnlp.classification.algorithm.old.LiblinearL2LR


    case AbstractAlgorithm.SOLVER_LIBLINEAR_LR2_L1_SVC:
      algorithm = new LiblinearL2SVC((byte)1, cost, eps, bias); break;
    case AbstractAlgorithm.SOLVER_LIBLINEAR_LR2_L2_SVC:
      algorithm = new LiblinearL2SVC((byte)2, cost, eps, bias); break;
    case AbstractAlgorithm.SOLVER_LIBLINEAR_LR2_LR:
      algorithm = new LiblinearL2LR(cost, eps, bias); break;
    }

    new OneVsAllTrainer(space, algorithm, numThreads);
    return space.getModel();
  }
View Full Code Here

TOP

Related Classes of com.clearnlp.classification.algorithm.old.LiblinearL2LR

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.