Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/11 15:03:46 (14 years ago)
Author:
gkronber
Message:

Merged changes from trunk to data analysis exploration branch and added fractional distance metric evaluator. #1142

Location:
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate/3.3/Evaluators
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate/3.3/Evaluators/OnlineMeanMahalanobisDistanceEvaluator.cs

    r4555 r5275  
    6060        // calculate mahalanobis distance using covariance matrix
    6161        // covMatrix^(-1) * diff => target
    62         alglib.ablas.rmatrixmv(covMatrix.GetLength(0), covMatrix.GetLength(1), ref covMatrix, 0, 0, 0, ref diff, 0, ref target, 0);
     62        alglib.ablas.rmatrixmv(covMatrix.GetLength(0), covMatrix.GetLength(1), covMatrix, 0, 0, 0, diff, 0, ref target, 0);
    6363
    6464        // diff^T * (covMatrix^(-1) * diff) => sum
     
    102102      int info = 0;
    103103      alglib.matinv.matinvreport report = new alglib.matinv.matinvreport();
    104       alglib.matinv.rmatrixinverse(ref covMatrix, covMatrix.GetLength(0), ref info, ref report);
     104      alglib.matinv.rmatrixinverse(ref covMatrix, covMatrix.GetLength(0), ref info, report);
    105105      if (info != 1) throw new InvalidOperationException("Can't invert covariance matrix.");
    106106      diff = new double[samples.Length];
Note: See TracChangeset for help on using the changeset viewer.