Changeset 9392 for branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3/Interfaces
- Timestamp:
- 04/23/13 13:31:29 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3
- Property svn:ignore
-
old new 1 1 *.user 2 2 Plugin.cs 3 obj
-
- Property svn:ignore
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3/Interfaces/IDecisionListClassificationProblemData.cs
r9352 r9392 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 22 using HeuristicLab.Core; 25 using HeuristicLab.Data;26 23 using HeuristicLab.Optimization.Operators.LCS; 27 using HeuristicLab.Problems.DataAnalysis;28 24 29 25 namespace HeuristicLab.Encodings.DecisionList { 30 26 public interface IDecisionListClassificationProblemData : IGAssistNichesProblemData { 31 Dataset Dataset { get; }32 ICheckedItemList<StringValue> ConditionVariables { get; }33 StringValue TargetVariable { get; }34 IEnumerable<string> AllowedConditionVariables { get; }35 //IEnumerable<string> AllowedTargetVariables { get; }36 37 IntRange TrainingPartition { get; }38 IntRange TestPartition { get; }39 40 IEnumerable<int> TrainingIndices { get; }41 IEnumerable<int> TestIndices { get; }42 43 bool IsTrainingSample(int index);44 bool IsTestSample(int index);45 46 int Classes { get; }47 48 27 IValueParameter<Rule> SampleRuleParameter { get; } 49 50 DecisionListInput FetchInput(int row);51 IEnumerable<DecisionListInput> FetchInput(IEnumerable<int> row);52 53 IEnumerable<IAction> FetchAction(IEnumerable<int> rows);54 IAction FetchAction(int rows);55 56 event EventHandler Changed;57 28 } 58 29 } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3/Interfaces/IDecisionListEvaluator.cs
r9334 r9392 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Data; 24 using HeuristicLab.Optimization ;24 using HeuristicLab.Optimization.Operators.LCS; 25 25 26 26 namespace HeuristicLab.Encodings.DecisionList { 27 public interface IDecisionListEvaluator : IS ingleObjectiveEvaluator {27 public interface IDecisionListEvaluator : IStrataSingleObjectiveEvaluator { 28 28 ILookupParameter<DecisionList> DecisionListParameter { get; } 29 IValueLookupParameter<IntRange> EvaluationPartitionParameter { get; }30 IValueLookupParameter<PercentValue> RelativeNumberOfEvaluatedSamplesParameter { get; }31 29 IValueLookupParameter<IDecisionListClassificationProblemData> ProblemDataParameter { get; } 32 30 IValueLookupParameter<IntValue> SizePenaltyMinRulesParameter { get; } -
branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3/Interfaces/IDecisionListSolution.cs
r9334 r9392 20 20 #endregion 21 21 22 using System; 23 using HeuristicLab.Optimization.Operators.LCS; 22 24 23 using System;24 25 namespace HeuristicLab.Encodings.DecisionList { 25 public interface IDecisionListSolution {26 public interface IDecisionListSolution : IGAssistSolution { 26 27 DecisionList Model { get; } 27 IDecisionListClassificationProblemData ProblemData { get; set; }28 //IDecisionListClassificationProblemData ProblemData { get; set; } 28 29 29 30 event EventHandler ModelChanged; 30 31 event EventHandler ProblemDataChanged; 31 32 double TrainingAccuracy { get; }33 double TestAccuracy { get; }34 int TrainingNumberOfAliveRules { get; }35 double TrainingTheoryLength { get; }36 double TrainingExceptionsLength { get; }37 32 } 38 33 }
Note: See TracChangeset
for help on using the changeset viewer.