Changeset 13102
- Timestamp:
- 11/03/15 06:51:49 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Classification/ClassificationSolutionComparisonView.cs
r13101 r13102 29 29 30 30 namespace HeuristicLab.Problems.DataAnalysis.Views.Classification { 31 [View(" ClassificationSolution Comparison")]31 [View("Solution Comparison")] 32 32 [Content(typeof(IClassificationSolution))] 33 33 public partial class ClassificationSolutionComparisonView : DataAnalysisSolutionEvaluationView { -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj
r13100 r13102 138 138 <DependentUpon>ClassificationFeatureCorrelationView.cs</DependentUpon> 139 139 </Compile> 140 <Compile Include="Classification\ClassificationSolutionComparisonView.cs" /> 140 <Compile Include="Classification\ClassificationSolutionComparisonView.cs"> 141 <SubType>UserControl</SubType> 142 </Compile> 141 143 <Compile Include="Classification\ClassificationSolutionComparisonView.Designer.cs"> 142 144 <DependentUpon>ClassificationSolutionComparisonView.cs</DependentUpon> -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Classification/ClassificationSolutionBase.cs
r13100 r13102 137 137 ClassificationPerformanceMeasures.SetTestResults(testPerformanceCalculator); 138 138 139 var f1Training = FOneScoreCalculator.Calculate(originalTrainingClassValues, estimatedTrainingClassValues, out errorState); 140 if (errorState == OnlineCalculatorError.None) ClassificationPerformanceMeasures.TrainingF1Score = f1Training; 141 var f1Test = FOneScoreCalculator.Calculate(originalTestClassValues, estimatedTestClassValues, out errorState); 142 if (errorState == OnlineCalculatorError.None) ClassificationPerformanceMeasures.TestF1Score = f1Test; 143 139 if (ProblemData.Classes == 2) { 140 var f1Training = FOneScoreCalculator.Calculate(originalTrainingClassValues, estimatedTrainingClassValues, out errorState); 141 if (errorState == OnlineCalculatorError.None) ClassificationPerformanceMeasures.TrainingF1Score = f1Training; 142 var f1Test = FOneScoreCalculator.Calculate(originalTestClassValues, estimatedTestClassValues, out errorState); 143 if (errorState == OnlineCalculatorError.None) ClassificationPerformanceMeasures.TestF1Score = f1Test; 144 } 144 145 145 146 var mccTraining = MatthewsCorrelationCoefficientCalculator.Calculate(originalTrainingClassValues, estimatedTrainingClassValues, out errorState); -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/OnlineCalculators/ClassificationPerformanceMeasuresCalculator.cs
r12012 r13102 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Common; 25 using HeuristicLab.Problems.DataAnalysis.OnlineCalculators; 25 26 26 27 namespace HeuristicLab.Problems.DataAnalysis { -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/OnlineCalculators/ConfusionMatrixCalculator.cs
r13100 r13102 24 24 using System.Linq; 25 25 26 namespace HeuristicLab.Problems.DataAnalysis .OnlineCalculators{26 namespace HeuristicLab.Problems.DataAnalysis { 27 27 public class ConfusionMatrixCalculator { 28 28 public static double[,] Calculate(IEnumerable<double> originalValues, IEnumerable<double> estimatedValues, out OnlineCalculatorError errorState) { -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/OnlineCalculators/FOneScoreCalculator.cs
r13100 r13102 24 24 using System.Linq; 25 25 26 namespace HeuristicLab.Problems.DataAnalysis .OnlineCalculators{26 namespace HeuristicLab.Problems.DataAnalysis { 27 27 public class FOneScoreCalculator { 28 28 public static double Calculate(IEnumerable<double> originalValues, IEnumerable<double> estimatedValues, out OnlineCalculatorError errorState) {
Note: See TracChangeset
for help on using the changeset viewer.