Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5775


Ignore:
Timestamp:
03/21/11 10:34:23 (14 years ago)
Author:
mkommend
Message:

#1418: Renamed ModelSelectionPartition to ValidationPartition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs

    r5770 r5775  
    5050    private const string RelativeNumberOfEvaluatedSamplesParameterName = "RelativeNumberOfEvaluatedSamples";
    5151    private const string FitnessCalculationPartitionParameterName = "FitnessCalculationPartition";
    52     private const string ModelSelectionPartitionParameterName = "ModelSelectionPartition";
     52    private const string ValidationPartitionParameterName = "ValidationPartition";
    5353
    5454    private const string ProblemDataParameterDescription = "";
     
    6161    private const string RelativeNumberOfEvaluatedSamplesParameterDescription = "The relative number of samples of the dataset partition, which should be randomly chosen for evaluation.";
    6262    private const string FitnessCalculationPartitionParameterDescription = "The partition of the problem data training partition, that should be used to calculate the fitness of an individual.";
    63     private const string ModelSelectionPartitionParameterDescription = "The partition of the problem data training partition, that should be used the select the best model from (optional).";
     63    private const string ValidationPartitionParameterDescription = "The partition of the problem data training partition, that should be used the select the best model from (optional).";
    6464    #endregion
    6565
     
    9595      get { return (IFixedValueParameter<IntRange>)Parameters[FitnessCalculationPartitionParameterName]; }
    9696    }
    97     public IFixedValueParameter<IntRange> ModelSelectionPartitionParamater {
    98       get { return (IFixedValueParameter<IntRange>)Parameters[ModelSelectionPartitionParameterName]; }
     97    public IFixedValueParameter<IntRange> ValidationPartitionParamater {
     98      get { return (IFixedValueParameter<IntRange>)Parameters[ValidationPartitionParameterName]; }
    9999    }
    100100    #endregion
     
    140140      get { return FitnessCalculationPartitionParameter.Value; }
    141141    }
    142     public IntRange ModelSelectionPartition {
    143       get { return ModelSelectionPartitionParamater.Value; }
     142    public IntRange ValidationPartition {
     143      get { return ValidationPartitionParamater.Value; }
    144144    }
    145145    #endregion
     
    166166      Parameters.Add(new FixedValueParameter<IntValue>(MaximumFunctionArgumentsParameterName, MaximumFunctionArgumentsParameterDescription, new IntValue()));
    167167      Parameters.Add(new FixedValueParameter<IntRange>(FitnessCalculationPartitionParameterName, FitnessCalculationPartitionParameterDescription, new IntRange()));
    168       Parameters.Add(new FixedValueParameter<IntRange>(ModelSelectionPartitionParameterName, ModelSelectionPartitionParameterDescription, new IntRange()));
     168      Parameters.Add(new FixedValueParameter<IntRange>(ValidationPartitionParameterName, ValidationPartitionParameterDescription, new IntRange()));
    169169      Parameters.Add(new FixedValueParameter<PercentValue>(RelativeNumberOfEvaluatedSamplesParameterName, RelativeNumberOfEvaluatedSamplesParameterDescription, new PercentValue(1)));
    170170
     
    286286      foreach (var op in operators.OfType<ISymbolicDataAnalysisValidationAnalyzer<U, T>>()) {
    287287        op.RelativeNumberOfEvaluatedSamplesParameter.ActualName = RelativeNumberOfEvaluatedSamplesParameter.Name;
    288         op.ValidationPartitionParameter.ActualName = ModelSelectionPartitionParamater.Name;
     288        op.ValidationPartitionParameter.ActualName = ValidationPartitionParamater.Name;
    289289      }
    290290      foreach (var op in operators.OfType<ISymbolicDataAnalysisInterpreterOperator>()) {
Note: See TracChangeset for help on using the changeset viewer.