Package com.clearnlp.classification.algorithm

Examples of com.clearnlp.classification.algorithm.AdaGradOnlineHingeLoss


     
      LOG.info(String.format("AdaGrad: type=%s, alpha=%5.2f, rho=%5.2f, average=%b\n", type, alpha, rho, average));
     
      switch (type)
      {
      case "hinge"     : return new AdaGradOnlineHingeLoss(alpha, rho, average);
      case "regression": return new AdaGradOnlineLogisticRegression(alpha, rho, average);
      default          : throw new IllegalArgumentException("Unknown solver type: "+type);
      }
    }
    else if (name.equals("liblinear"))
View Full Code Here

TOP

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

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.