- Timestamp:
- 05/14/11 16:45:46 (14 years ago)
- Location:
- branches/histogram
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram
-
branches/histogram/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearDiscriminantAnalysis.cs
r6011 r6195 68 68 string targetVariable = problemData.TargetVariable; 69 69 IEnumerable<string> allowedInputVariables = problemData.AllowedInputVariables; 70 int samplesStart = problemData.TrainingPartition.Start; 71 int samplesEnd = problemData.TrainingPartition.End; 72 IEnumerable<int> rows = Enumerable.Range(samplesStart, samplesEnd - samplesStart); 70 IEnumerable<int> rows = problemData.TrainingIndizes; 73 71 int nClasses = problemData.ClassNames.Count(); 74 72 double[,] inputMatrix = AlglibUtil.PrepareInputMatrix(dataset, allowedInputVariables.Concat(new string[] { targetVariable }), rows); -
branches/histogram/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/LinearRegression.cs
r6011 r6195 72 72 string targetVariable = problemData.TargetVariable; 73 73 IEnumerable<string> allowedInputVariables = problemData.AllowedInputVariables; 74 int samplesStart = problemData.TrainingPartition.Start; 75 int samplesEnd = problemData.TrainingPartition.End; 76 IEnumerable<int> rows = Enumerable.Range(samplesStart, samplesEnd - samplesStart); 74 IEnumerable<int> rows = problemData.TrainingIndizes; 77 75 double[,] inputMatrix = AlglibUtil.PrepareInputMatrix(dataset, allowedInputVariables.Concat(new string[] { targetVariable }), rows); 78 76 if (inputMatrix.Cast<double>().Any(x => double.IsNaN(x) || double.IsInfinity(x)))
Note: See TracChangeset
for help on using the changeset viewer.