Package org.encog.mathutil.libsvm

Examples of org.encog.mathutil.libsvm.svm_problem


   * @return The SVM problem.
   */
  public static svm_problem encode(final MLDataSet training,
      final int outputIndex) {
    try {
      final svm_problem result = new svm_problem();

      result.l = (int) training.getRecordCount();

      result.y = new double[result.l];
      result.x = new svm_node[result.l][training.getInputSize()];
View Full Code Here


   * @return The SVM problem.
   */
  public static svm_problem encode(final MLDataSet training,
      final int outputIndex) {
    try {
      final svm_problem result = new svm_problem();

      result.l = (int) training.getRecordCount();

      result.y = new double[result.l];
      result.x = new svm_node[result.l][training.getInputSize()];
View Full Code Here

TOP

Related Classes of org.encog.mathutil.libsvm.svm_problem

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.