Changeset 4054 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Analyzers/SymbolicRegressionModelQualityAnalyzer.cs
- Timestamp:
- 07/20/10 14:58:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/Symbolic/Analyzers/SymbolicRegressionModelQualityAnalyzer.cs
r3996 r4054 91 91 private const string RelativeErrorValuesParameterName = "Average relative error"; 92 92 93 private const string TrainingSamplesStartParameterName = "TrainingSamplesStart";94 private const string TrainingSamplesEndParameterName = "TrainingSamplesEnd";95 private const string TestSamplesStartParameterName = "TestSamplesStart";96 private const string TestSamplesEndParameterName = "TestSamplesEnd";97 93 private const string UpperEstimationLimitParameterName = "UpperEstimationLimit"; 98 94 private const string LowerEstimationLimitParameterName = "LowerEstimationLimit"; … … 107 103 public IValueLookupParameter<DataAnalysisProblemData> ProblemDataParameter { 108 104 get { return (IValueLookupParameter<DataAnalysisProblemData>)Parameters[ProblemDataParameterName]; } 109 }110 public IValueLookupParameter<IntValue> TrainingSamplesStartParameter {111 get { return (IValueLookupParameter<IntValue>)Parameters[TrainingSamplesStartParameterName]; }112 }113 public IValueLookupParameter<IntValue> TrainingSamplesEndParameter {114 get { return (IValueLookupParameter<IntValue>)Parameters[TrainingSamplesEndParameterName]; }115 }116 public IValueLookupParameter<IntValue> TestSamplesStartParameter {117 get { return (IValueLookupParameter<IntValue>)Parameters[TestSamplesStartParameterName]; }118 }119 public IValueLookupParameter<IntValue> TestSamplesEndParameter {120 get { return (IValueLookupParameter<IntValue>)Parameters[TestSamplesEndParameterName]; }121 105 } 122 106 public IValueLookupParameter<DoubleValue> UpperEstimationLimitParameter { … … 144 128 Parameters.Add(new ValueLookupParameter<ISymbolicExpressionTreeInterpreter>(SymbolicExpressionTreeInterpreterParameterName, "The interpreter that should be used to calculate the output values of the symbolic expression tree.")); 145 129 Parameters.Add(new ValueLookupParameter<DataAnalysisProblemData>(ProblemDataParameterName, "The problem data containing the input varaibles for the symbolic regression problem.")); 146 Parameters.Add(new ValueLookupParameter<IntValue>(TrainingSamplesStartParameterName, "The first index of the training data set partition on which the model quality values should be calculated."));147 Parameters.Add(new ValueLookupParameter<IntValue>(TrainingSamplesEndParameterName, "The last index of the training data set partition on which the model quality values should be calculated."));148 Parameters.Add(new ValueLookupParameter<IntValue>(TestSamplesStartParameterName, "The first index of the test data set partition on which the model quality values should be calculated."));149 Parameters.Add(new ValueLookupParameter<IntValue>(TestSamplesEndParameterName, "The last index of the test data set partition on which the model quality values should be calculated."));150 130 Parameters.Add(new ValueLookupParameter<DoubleValue>(UpperEstimationLimitParameterName, "The upper limit that should be used as cut off value for the output values of symbolic expression trees.")); 151 131 Parameters.Add(new ValueLookupParameter<DoubleValue>(LowerEstimationLimitParameterName, "The lower limit that should be used as cut off value for the output values of symbolic expression trees.")); … … 162 142 Analyze(SymbolicExpressionTreeParameter.ActualValue, SymbolicExpressionTreeInterpreterParameter.ActualValue, 163 143 UpperEstimationLimit.Value, LowerEstimationLimit.Value, ProblemDataParameter.ActualValue, 164 TrainingSamplesStartParameter.ActualValue.Value, TrainingSamplesEndParameter.ActualValue.Value,165 TestSamplesStartParameter.ActualValue.Value, TestSamplesEndParameter.ActualValue.Value,144 ProblemDataParameter.ActualValue.TrainingSamplesStart.Value, ProblemDataParameter.ActualValue.TrainingSamplesEnd.Value, 145 ProblemDataParameter.ActualValue.TestSamplesStart.Value, ProblemDataParameter.ActualValue.TestSamplesEnd.Value, 166 146 ResultsParameter.ActualValue); 167 147 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.