Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/13 13:31:29 (12 years ago)
Author:
sforsten
Message:

#1980:

  • several small bug fixes
  • added windowing technique ILAS to GAssist
  • GAssist and XCS work now with real-valued features
  • severely improved the performance of XCS
Location:
branches/LearningClassifierSystems/HeuristicLab.Problems.DecisionListClassification/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Problems.DecisionListClassification/3.3/DecisionListClassificationProblem.cs

    r9352 r9392  
    6262      get { return (IFixedValueParameter<IntValue>)Parameters["SizePenaltyMinRules"]; }
    6363    }
    64     public IFixedValueParameter<IntValue> ActivationIterationParameter {
    65       get { return (IFixedValueParameter<IntValue>)Parameters["ActivationIteration"]; }
    66     }
    6764    public IFixedValueParameter<DoubleValue> InitialTheoryLengthRatioParameter {
    6865      get { return (IFixedValueParameter<DoubleValue>)Parameters["InitialTheoryLengthRatio"]; }
     
    8885    }
    8986
     87    IStrataSingleObjectiveEvaluator IGAssistProblem.Evaluator {
     88      get { return Evaluator; }
     89    }
    9090    IDecisionListEvaluator IDecisionListClassificationProblem.Evaluator {
    9191      get { return Evaluator; }
     
    101101      : base(original, cloner) {
    102102    }
     103    public override IDeepCloneable Clone(Cloner cloner) {
     104      return new DecisionListClassificationProblem(this, cloner);
     105    }
    103106
    104107    public DecisionListClassificationProblem()
     
    113116      Parameters.Add(new FixedValueParameter<DoubleValue>("BestKnownQuality", "", new DoubleValue(0.5)));
    114117      Parameters.Add(new FixedValueParameter<IntValue>("SizePenaltyMinRules", "", new IntValue(4)));
    115       Parameters.Add(new FixedValueParameter<IntValue>("ActivationIteration", "", new IntValue(25)));
    116       Parameters.Add(new FixedValueParameter<DoubleValue>("InitialTheoryLengthRatio", "", new DoubleValue(0.075)));
    117       Parameters.Add(new FixedValueParameter<DoubleValue>("WeightRelaxFactor", "", new DoubleValue(0.9)));
    118118      Parameters.Add(new FixedValueParameter<PercentValue>("ActionMutationProbability", "", new PercentValue(0.1)));
    119119
    120120      Evaluator.SizePenaltyMinRulesParameter.ActualName = "SizePenaltyMinRules";
    121       // do differently
    122       ((MDLEvaluator)Evaluator).MDLCalculatorParameter.Value = new MDLCalculator(ActivationIterationParameter.Value.Value, InitialTheoryLengthRatioParameter.Value.Value, WeightRelaxFactorParameter.Value.Value);
    123121
    124122      InitializeOperators();
     
    169167      }
    170168    }
    171     public override IDeepCloneable Clone(Cloner cloner) {
    172       return new DecisionListClassificationProblem(this, cloner);
    173     }
    174169
    175170    IParameter IGAssistProblem.ProblemDataParameter {
  • branches/LearningClassifierSystems/HeuristicLab.Problems.DecisionListClassification/3.3/DecisionListClassificationProblemData.cs

    r9352 r9392  
    214214    }
    215215
    216     public IEnumerable<DecisionListInput> FetchInput(IEnumerable<int> rows) {
     216    public IEnumerable<IGAssistInput> FetchInput(IEnumerable<int> rows) {
    217217      foreach (var row in rows) {
    218218        yield return FetchInput(row);
     
    221221
    222222    protected IDictionary<int, DecisionListInput> fetchInputCache = new Dictionary<int, DecisionListInput>();
    223     public DecisionListInput FetchInput(int row) {
     223    public IGAssistInput FetchInput(int row) {
    224224      if (!fetchInputCache.ContainsKey(row)) {
    225225        DecisionListInput input = new DecisionListInput();
     
    234234    }
    235235
    236     public IEnumerable<IAction> FetchAction(IEnumerable<int> rows) {
     236    public IEnumerable<IGAssistNiche> FetchAction(IEnumerable<int> rows) {
    237237      foreach (var row in rows) {
    238238        yield return FetchAction(row);
     
    240240    }
    241241    protected IDictionary<int, IAction> fetchActionCache = new Dictionary<int, IAction>();
    242     public IAction FetchAction(int row) {
     242    public IGAssistNiche FetchAction(int row) {
    243243      if (!fetchActionCache.ContainsKey(row)) {
    244244        var action = (IAction)SampleRuleParameter.Value.Action.Clone();
  • branches/LearningClassifierSystems/HeuristicLab.Problems.DecisionListClassification/3.3/Properties

    • Property svn:ignore set to
      AssemblyInfo.cs
Note: See TracChangeset for help on using the changeset viewer.