Changeset 5559 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces
- Timestamp:
- 02/24/11 16:44:24 (14 years ago)
- Location:
- branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces
- Files:
-
- 3 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 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/IDataAnalysisProblemData.cs
r5554 r5559 29 29 IEnumerable<string> AllowedInputVariables { get; } 30 30 31 int TrainingSamplesStart { get; set; } 32 int TrainingSamplesEnd { get; set; } 33 int TestSamplesStart { get; set; } 34 int TestSamplesEnd { get; set; } 31 bool AddAllowedInputVariable(string inputVariable); 32 bool RemoveAllowedInputVariable(string inputVariable); 33 34 int TrainingPartitionStart { get; set; } 35 int TrainingPartitionEnd { get; set; } 36 int TestPartitionStart { get; set; } 37 int TestPartitionEnd { get; set; } 35 38 36 39 IEnumerable<int> TrainingIndizes { get; } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Regression/IRegressionProblemData.cs
r5496 r5559 22 22 namespace HeuristicLab.Problems.DataAnalysis { 23 23 public interface IRegressionProblemData : IDataAnalysisProblemData { 24 string TargetVariable { get; }24 string TargetVariable { get; set; } 25 25 } 26 26 }
Note: See TracChangeset
for help on using the changeset viewer.