Changeset 5658 for branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs
- Timestamp:
- 03/10/11 12:38:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs
r5649 r5658 75 75 int samplesStart = problemData.TrainingPartitionStart.Value; 76 76 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); 79 79 80 80 alglib.linearmodel lm = new alglib.linearmodel();
Note: See TracChangeset
for help on using the changeset viewer.