- Timestamp:
- 07/30/19 11:51:57 (5 years ago)
- Location:
- stable
- Files:
-
- 9 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Problems.DataAnalysis
- Property svn:mergeinfo changed
/branches/SensitivityEvaluator/HeuristicLab.Problems.DataAnalysis (added) merged: 12212-12213,12416,12448-12449,13401 /trunk/HeuristicLab.Problems.DataAnalysis merged: 16788
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification-3.4.csproj
r17105 r17177 126 126 <Compile Include="ModelCreators\NormalDistributedThresholdsModelCreator.cs" /> 127 127 <Compile Include="MultiObjective\SymbolicClassificationMultiObjectiveValidationBestSolutionAnalyzer.cs" /> 128 <Compile Include="SingleObjective\SymbolicClassificationSingleObjectiveWeightedPerformanceMeasuresEvaluator.cs" /> 129 <Compile Include="SingleObjective\SymbolicClassificationSingleObjectiveWeightedResidualsMeanSquaredErrorEvaluator.cs" /> 128 130 <Compile Include="SymbolicClassificationPhenotypicDiversityAnalyzer.cs" /> 129 131 <Compile Include="SymbolicClassificationPruningAnalyzer.cs" /> -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationModel.cs
r17097 r17177 112 112 113 113 public override IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows) { 114 var estimatedValues = GetEstimatedValues(dataset, rows); 115 return GetEstimatedClassValues(estimatedValues); 116 } 117 public IEnumerable<double> GetEstimatedClassValues(IEnumerable<double> estimatedValues) { 114 118 if (!Thresholds.Any() && !ClassValues.Any()) throw new ArgumentException("No thresholds and class values were set for the current symbolic classification model."); 115 foreach (var x in GetEstimatedValues(dataset, rows)) {119 foreach (var x in estimatedValues) { 116 120 int classIndex = 0; 117 121 // find first threshold value which is larger than x => class index = threshold index + 1 … … 123 127 } 124 128 } 125 126 129 127 130 public override ISymbolicClassificationSolution CreateClassificationSolution(IClassificationProblemData problemData) { -
stable/HeuristicLab.Problems.DataAnalysis/3.4
- Property svn:mergeinfo changed
/branches/SensitivityEvaluator/HeuristicLab.Problems.DataAnalysis/3.4 (added) merged: 12213,12416,12448-12449,13401 /trunk/HeuristicLab.Problems.DataAnalysis/3.4 merged: 16788
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis/3.4/HeuristicLab.Problems.DataAnalysis-3.4.csproj
r17105 r17177 244 244 <Compile Include="OnlineCalculators\OnlineTheilsUStatisticCalculator.cs" /> 245 245 <Compile Include="OnlineCalculators\OnlineWeightedDirectionalSymmetryCalculator.cs" /> 246 <Compile Include="OnlineCalculators\OnlineWeightedClassificationMeanSquaredErrorCalculator.cs" /> 246 247 <Compile Include="Plugin.cs" /> 247 248 <Compile Include="Implementation\Classification\ThresholdCalculators\AccuracyMaximizationThresholdCalculator.cs" /> -
stable/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/DiscriminantFunctionClassificationModel.cs
r17097 r17177 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; 27 using HEAL.Attic;28 28 29 29 namespace HeuristicLab.Problems.DataAnalysis { … … 121 121 122 122 public override IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows) { 123 var estimatedValues = GetEstimatedValues(dataset, rows); 124 return GetEstimatedClassValues(estimatedValues); 125 } 126 127 public virtual IEnumerable<double> GetEstimatedClassValues(IEnumerable<double> estimatedValues) { 123 128 if (!Thresholds.Any() && !ClassValues.Any()) throw new ArgumentException("No thresholds and class values were set for the current classification model."); 124 foreach (var x in GetEstimatedValues(dataset, rows)) {129 foreach (var x in estimatedValues) { 125 130 int classIndex = 0; 126 131 // find first threshold value which is larger than x => class index = threshold index + 1 … … 132 137 } 133 138 } 139 134 140 #region events 135 141 public event EventHandler ThresholdsChanged; -
stable/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IDiscriminantFunctionClassificationModel.cs
r17097 r17177 34 34 void SetThresholdsAndClassValues(IEnumerable<double> thresholds, IEnumerable<double> classValues); 35 35 IEnumerable<double> GetEstimatedValues(IDataset dataset, IEnumerable<int> rows); 36 IEnumerable<double> GetEstimatedClassValues(IEnumerable<double> estimatedValues); 36 37 37 38 event EventHandler ThresholdsChanged;
Note: See TracChangeset
for help on using the changeset viewer.