Package com.clearnlp.classification.algorithm

Examples of com.clearnlp.classification.algorithm.LiblinearHingeLoss


      double  cost = Double.parseDouble(UTXml.getTrimmedAttribute(eAlgorithm, "cost"));
      double  eps  = Double.parseDouble(UTXml.getTrimmedAttribute(eAlgorithm, "eps"));
     
      switch (type)
      {
      case "hinge"   : return new LiblinearHingeLoss(cost, eps);
//      case "logistic": return ;
      default        : throw new IllegalArgumentException("Unknown solver type: "+type);
      }
    }
View Full Code Here

TOP

Related Classes of com.clearnlp.classification.algorithm.LiblinearHingeLoss

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.