Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/10/11 12:38:43 (12 years ago)
Author:
gkronber
Message:

#1418 implemented wrapper for LDA (linear discriminant analysis) implemented in alglib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs

    r5649 r5658  
    7575      int samplesStart = problemData.TrainingPartitionStart.Value;
    7676      int samplesEnd = problemData.TrainingPartitionEnd.Value;
    77 
    78       double[,] inputMatrix = LinearRegressionUtil.PrepareInputMatrix(dataset, targetVariable, allowedInputVariables, samplesStart, samplesEnd);
     77      IEnumerable<int> rows = Enumerable.Range(samplesStart, samplesEnd - samplesStart);
     78      double[,] inputMatrix = AlglibUtil.PrepareInputMatrix(dataset, allowedInputVariables.Concat(new string[] { targetVariable }), rows);
    7979
    8080      alglib.linearmodel lm = new alglib.linearmodel();
Note: See TracChangeset for help on using the changeset viewer.