Changeset 2341 for trunk/sources/HeuristicLab.GP.StructureIdentification
- Timestamp:
- 09/07/09 19:08:18 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification/3.3
- Files:
-
- 1 added
- 7 deleted
- 2 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators/GPEvaluatorBase.cs
r2328 r2341 36 36 AddVariableInfo(new VariableInfo("SamplesStart", "Start index of samples in dataset to evaluate", typeof(IntData), VariableKind.In)); 37 37 AddVariableInfo(new VariableInfo("SamplesEnd", "End index of samples in dataset to evaluate", typeof(IntData), VariableKind.In)); 38 AddVariableInfo(new VariableInfo("UseEstimatedTargetValue", " Wether to use the original (measured) or the estimated (calculated) value for the target variable for autoregressive modelling", typeof(BoolData), VariableKind.In));38 AddVariableInfo(new VariableInfo("UseEstimatedTargetValue", "(optional) Wether to use the original (measured) or the estimated (calculated) value for the target variable for autoregressive modelling", typeof(BoolData), VariableKind.In)); 39 39 } 40 40 … … 47 47 int start = GetVariableValue<IntData>("SamplesStart", scope, true).Data; 48 48 int end = GetVariableValue<IntData>("SamplesEnd", scope, true).Data; 49 bool useEstimatedValues = GetVariableValue<BoolData>("UseEstimatedTargetValue", scope, true).Data; 49 BoolData useEstimatedValuesData = GetVariableValue<BoolData>("UseEstimatedTargetValue", scope, true, false); 50 bool useEstimatedValues = useEstimatedValuesData == null ? false : useEstimatedValuesData.Data; 50 51 ITreeEvaluator evaluator = GetVariableValue<ITreeEvaluator>("TreeEvaluator", scope, true); 51 52 evaluator.PrepareForEvaluation(dataset, gpModel.FunctionTree); -
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/HeuristicLab.GP.StructureIdentification-3.3.csproj
r2328 r2341 82 82 </ItemGroup> 83 83 <ItemGroup> 84 <Compile Include="BaseClasses\AlgorithmBase.cs" />85 84 <Compile Include="BaseClasses\FunctionTreeBase.cs" /> 86 85 <Compile Include="BaseClasses\TreeEvaluatorBase.cs" /> 86 <Compile Include="DefaultStructureIdentificationOperators.cs" /> 87 87 <Compile Include="HL3TreeEvaluatorInjector.cs" /> 88 88 <Compile Include="HL2TreeEvaluatorInjector.cs" /> 89 <Compile Include="OffspringSelectionGP.cs" /> 89 90 <Compile Include="PredictorBuilder.cs" /> 90 91 <Compile Include="Predictor.cs" /> … … 96 97 <Compile Include="PredictorView.Designer.cs"> 97 98 <DependentUpon>PredictorView.cs</DependentUpon> 99 </Compile> 100 <Compile Include="StandardGP.cs"> 101 <SubType>Code</SubType> 98 102 </Compile> 99 103 <Compile Include="Symbols\Addition.cs" /> … … 128 132 <Compile Include="Evaluators\MeanAbsolutePercentageOfRangeErrorEvaluator.cs" /> 129 133 <Compile Include="FunctionLibraryInjector.cs" /> 130 <Compile Include="OffspringSelectionGP.cs" />131 <Compile Include="OffSpringSelectionGpEditor.cs">132 <SubType>UserControl</SubType>133 </Compile>134 <Compile Include="OffSpringSelectionGpEditor.Designer.cs">135 <DependentUpon>OffSpringSelectionGpEditor.cs</DependentUpon>136 </Compile>137 <Compile Include="StandardGpEditor.cs">138 <SubType>UserControl</SubType>139 </Compile>140 <Compile Include="StandardGpEditor.Designer.cs">141 <DependentUpon>StandardGpEditor.cs</DependentUpon>142 </Compile>143 <Compile Include="StandardGP.cs" />144 134 <Compile Include="Evaluators\CoefficientOfDeterminationEvaluator.cs" /> 145 135 <Compile Include="Evaluators\UncertainMeanSquaredErrorEvaluator.cs" /> … … 177 167 <Name>HeuristicLab.Evolutionary-3.2</Name> 178 168 </ProjectReference> 169 <ProjectReference Include="..\..\HeuristicLab.GP.Algorithms\3.2\HeuristicLab.GP.Algorithms-3.2.csproj"> 170 <Project>{3127719F-110E-4558-8845-98559DBB422D}</Project> 171 <Name>HeuristicLab.GP.Algorithms-3.2</Name> 172 </ProjectReference> 179 173 <ProjectReference Include="..\..\HeuristicLab.GP.Interfaces\3.3\HeuristicLab.GP.Interfaces-3.3.csproj"> 180 174 <Project>{924B6BEA-9A99-40FE-9334-5C01E8D540EC}</Project> … … 227 221 </ItemGroup> 228 222 <ItemGroup> 229 <EmbeddedResource Include="OffSpringSelectionGpEditor.resx">230 <DependentUpon>OffSpringSelectionGpEditor.cs</DependentUpon>231 </EmbeddedResource>232 223 <EmbeddedResource Include="PredictorView.resx"> 233 224 <DependentUpon>PredictorView.cs</DependentUpon> 234 </EmbeddedResource>235 <EmbeddedResource Include="StandardGpEditor.resx">236 <DependentUpon>StandardGpEditor.cs</DependentUpon>237 <SubType>Designer</SubType>238 225 </EmbeddedResource> 239 226 </ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.