Package JKernelMachines.fr.lip6.kernel.typed

Examples of JKernelMachines.fr.lip6.kernel.typed.DoubleLinear


//        lambda_matrix[y][x] = lambda_matrix[x][y];
//      }
//    }
//   
    eprintln(3, "+ update lambda");
    ThreadedMatrixOperator factory = new ThreadedMatrixOperator()
    {
      @Override
      public void doLine(int index, double[] line) {
        int l1 = l.get(index).label;
        double al1 = -0.5 * a[index]*l1;
        for(int j = line.length-1 ; j != 0 ; j--)
        {
          int l2 = l.get(j).label;
          line[j] = al1 * l2 * a[j] * matrix[index][j];
        }
      }

     
    };
   
    lambda_matrix = factory.getMatrix(lambda_matrix);
  }
View Full Code Here

TOP

Related Classes of JKernelMachines.fr.lip6.kernel.typed.DoubleLinear

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.