- Timestamp:
- 06/27/12 17:34:17 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/MultiObjective/SymbolicClassificationMultiObjectiveProblem.cs
r7823 r8139 81 81 82 82 private void UpdateEstimationLimits() { 83 if (ProblemData.TrainingIndi zes.Any()) {84 var targetValues = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndi zes).ToList();83 if (ProblemData.TrainingIndices.Any()) { 84 var targetValues = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndices).ToList(); 85 85 var mean = targetValues.Average(); 86 86 var range = targetValues.Max() - targetValues.Min(); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveProblem.cs
r8130 r8139 97 97 98 98 private void UpdateEstimationLimits() { 99 if (ProblemData.TrainingIndi zes.Any()) {100 var targetValues = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndi zes).ToList();99 if (ProblemData.TrainingIndices.Any()) { 100 var targetValues = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndices).ToList(); 101 101 var mean = targetValues.Average(); 102 102 var range = targetValues.Max() - targetValues.Min(); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationModel.cs
r8030 r8139 125 125 var dataset = problemData.Dataset; 126 126 var targetVariable = problemData.TargetVariable; 127 var rows = problemData.TrainingIndi zes;127 var rows = problemData.TrainingIndices; 128 128 var estimatedValues = model.Interpreter.GetSymbolicExpressionTreeValues(model.SymbolicExpressionTree, dataset, rows); 129 129 var targetValues = dataset.GetDoubleValues(targetVariable, rows);
Note: See TracChangeset
for help on using the changeset viewer.