Changeset 5559 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification
- Timestamp:
- 02/24/11 16:44:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationProblemData.cs
r5501 r5559 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 namespace HeuristicLab.Problems.DataAnalysis { 24 25 public interface IClassificationProblemData : IDataAnalysisProblemData { 25 string TargetVariable { get; } 26 int NumberOfClasses { get; } 27 26 string TargetVariable { get; set; } 28 27 IEnumerable<string> ClassNames { get; } 29 28 IEnumerable<double> ClassValues { get; } 29 int Classes { get; } 30 30 31 31 string GetClassName(double classValue); 32 32 double GetClassValue(string className); 33 void SetClassName(double classValue, string className); 33 34 34 35 double GetClassificationPenalty(string correctClass, string estimatedClass); 35 36 double GetClassificationPenalty(double correctClassValue, double estimatedClassValue); 37 void SetClassificationPenalty(string correctClassName, string estimatedClassName, double penalty); 38 void SetClassificationPenalty(double correctClassValue, double estimatedClassValue, double penalty); 39 40 event EventHandler ClassNamesChanged; 41 event EventHandler ClassificationPenaltyChanged; 36 42 } 37 43 }
Note: See TracChangeset
for help on using the changeset viewer.