Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/11/11 15:03:46 (14 years ago)
Author:
gkronber
Message:

Merged changes from trunk to data analysis exploration branch and added fractional distance metric evaluator. #1142

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.FeatureSelection/3.3/Evaluators/LinearRegressionFeatureSelectionEvaluator.cs

    r4109 r5275  
    3333using HeuristicLab.Problems.DataAnalysis.Regression.Symbolic;
    3434using HeuristicLab.Problems.DataAnalysis.Evaluators;
     35using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3536namespace HeuristicLab.Problems.DataAnalysis.FeatureSelection {
    3637  public class LinearRegressionFeatureSelectionEvaluator : SingleSuccessorOperator, IFeatureSelectionEvaluator {
     
    5657    }
    5758    #endregion
    58 
     59    [StorableConstructor]
     60    protected LinearRegressionFeatureSelectionEvaluator(bool deserializing) : base(deserializing) { }
     61    protected LinearRegressionFeatureSelectionEvaluator(LinearRegressionFeatureSelectionEvaluator original, Cloner cloner)
     62      : base(original, cloner) {
     63    }
    5964    public LinearRegressionFeatureSelectionEvaluator()
    6065      : base() {
     
    6368      Parameters.Add(new LookupParameter<DoubleArray>("Qualities", "The qualities of the linear regression solution (MSE, size)."));
    6469    }
    65 
     70    public override IDeepCloneable Clone(Cloner cloner) {
     71      return new LinearRegressionFeatureSelectionEvaluator(this, cloner);
     72    }
    6673    public override IOperation Apply() {
    6774      var dataset = DataAnalysisProblemData.Dataset;
Note: See TracChangeset for help on using the changeset viewer.