Changeset 5759 for branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs
- Timestamp:
- 03/19/11 02:22:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs
r5733 r5759 73 73 string targetVariable = problemData.TargetVariable; 74 74 IEnumerable<string> allowedInputVariables = problemData.AllowedInputVariables; 75 int samplesStart = problemData.TrainingPartition Start.Value;76 int samplesEnd = problemData.TrainingPartition End.Value;75 int samplesStart = problemData.TrainingPartition.Start; 76 int samplesEnd = problemData.TrainingPartition.End; 77 77 IEnumerable<int> rows = Enumerable.Range(samplesStart, samplesEnd - samplesStart); 78 78 double[,] inputMatrix = AlglibUtil.PrepareInputMatrix(dataset, allowedInputVariables.Concat(new string[] { targetVariable }), rows);
Note: See TracChangeset
for help on using the changeset viewer.