Changeset 2352
- Timestamp:
- 09/14/09 17:35:31 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification.TimeSeries/3.3/DefaultTimeSeriesOperators.cs
r2344 r2352 62 62 seq.AddSubOperator(subScopesProc); 63 63 64 TheilInequalityCoefficientEvaluator trainingTheil = newTheilInequalityCoefficientEvaluator();64 SimpleTheilInequalityCoefficientEvaluator trainingTheil = new SimpleTheilInequalityCoefficientEvaluator(); 65 65 trainingTheil.Name = "TrainingTheilInequalityEvaluator"; 66 trainingTheil.GetVariableInfo("SamplesStart").ActualName = "TrainingSamplesStart"; 67 trainingTheil.GetVariableInfo("SamplesEnd").ActualName = "TrainingSamplesEnd"; 66 trainingTheil.GetVariableInfo("Values").ActualName = "TrainingValues"; 68 67 trainingTheil.GetVariableInfo("TheilInequalityCoefficient").ActualName = "TrainingTheilInequalityCoefficient"; 69 trainingTheil.GetVariableInfo("TheilInequalityCoefficientBias").ActualName = "TrainingTheilInequalityCoefficientBias"; 70 trainingTheil.GetVariableInfo("TheilInequalityCoefficientVariance").ActualName = "TrainingTheilInequalityCoefficientVariance"; 71 trainingTheil.GetVariableInfo("TheilInequalityCoefficientCovariance").ActualName = "TrainingTheilInequalityCoefficientCovariance"; 72 73 TheilInequalityCoefficientEvaluator validationTheil = new TheilInequalityCoefficientEvaluator(); 68 SimpleTheilInequalityCoefficientEvaluator validationTheil = new SimpleTheilInequalityCoefficientEvaluator(); 74 69 validationTheil.Name = "ValidationTheilInequalityEvaluator"; 75 validationTheil.GetVariableInfo("SamplesStart").ActualName = "ValidationSamplesStart"; 76 validationTheil.GetVariableInfo("SamplesEnd").ActualName = "ValidationSamplesEnd"; 70 validationTheil.GetVariableInfo("Values").ActualName = "ValidationValues"; 77 71 validationTheil.GetVariableInfo("TheilInequalityCoefficient").ActualName = "ValidationTheilInequalityCoefficient"; 78 validationTheil.GetVariableInfo("TheilInequalityCoefficientBias").ActualName = "ValidationTheilInequalityCoefficientBias"; 79 validationTheil.GetVariableInfo("TheilInequalityCoefficientVariance").ActualName = "ValidationTheilInequalityCoefficientVariance"; 80 validationTheil.GetVariableInfo("TheilInequalityCoefficientCovariance").ActualName = "ValidationTheilInequalityCoefficientCovariance"; 81 82 TheilInequalityCoefficientEvaluator testTheil = new TheilInequalityCoefficientEvaluator(); 72 SimpleTheilInequalityCoefficientEvaluator testTheil = new SimpleTheilInequalityCoefficientEvaluator(); 83 73 testTheil.Name = "TestTheilInequalityEvaluator"; 84 testTheil.GetVariableInfo("SamplesStart").ActualName = "TestSamplesStart"; 85 testTheil.GetVariableInfo("SamplesEnd").ActualName = "TestSamplesEnd"; 74 testTheil.GetVariableInfo("Values").ActualName = "TestValues"; 86 75 testTheil.GetVariableInfo("TheilInequalityCoefficient").ActualName = "TestTheilInequalityCoefficient"; 87 testTheil.GetVariableInfo("TheilInequalityCoefficientBias").ActualName = "TestTheilInequalityCoefficientBias";88 testTheil.GetVariableInfo("TheilInequalityCoefficientVariance").ActualName = "TestTheilInequalityCoefficientVariance";89 testTheil.GetVariableInfo("TheilInequalityCoefficientCovariance").ActualName = "TestTheilInequalityCoefficientCovariance";90 76 91 77 individualProc.AddSubOperator(trainingTheil); -
trunk/sources/HeuristicLab.GP.StructureIdentification.TimeSeries/3.3/HeuristicLab.GP.StructureIdentification.TimeSeries-3.3.csproj
r2341 r2352 89 89 <Compile Include="Properties\AssemblyInfo.cs" /> 90 90 <Compile Include="StandardGP.cs" /> 91 <Compile Include="TheilInequalityCoefficientEvaluator.cs" />92 91 </ItemGroup> 93 92 <ItemGroup> -
trunk/sources/HeuristicLab.SupportVectorMachines/3.2/TimeSeriesSupportVectorRegression.cs
r2349 r2352 63 63 ProblemInjector probInjector = new ProblemInjector(); 64 64 seq.AddSubOperator(probInjector); 65 seq.AddSubOperator(new RandomInjector());66 67 65 return seq; 68 66 } … … 83 81 SequentialProcessor seqProc = new SequentialProcessor(); 84 82 83 SupportVectorEvaluator trainingEvaluator = new SupportVectorEvaluator(); 84 trainingEvaluator.GetVariableInfo("SamplesStart").ActualName = "TrainingSamplesStart"; 85 trainingEvaluator.GetVariableInfo("SamplesEnd").ActualName = "TrainingSamplesEnd"; 86 trainingEvaluator.GetVariableInfo("Values").ActualName = "TrainingValues"; 87 85 88 SimpleTheilInequalityCoefficientEvaluator trainingTheilUCalculator = new SimpleTheilInequalityCoefficientEvaluator(); 89 trainingTheilUCalculator.Name = "TrainingTheilInequalityEvaluator"; 86 90 trainingTheilUCalculator.GetVariableInfo("Values").ActualName = "TrainingValues"; 87 91 trainingTheilUCalculator.GetVariableInfo("TheilInequalityCoefficient").ActualName = "TrainingTheilInequalityCoefficient"; 88 92 SimpleTheilInequalityCoefficientEvaluator validationTheilUCalculator = new SimpleTheilInequalityCoefficientEvaluator(); 93 validationTheilUCalculator.Name = "ValidationTheilInequalityEvaluator"; 89 94 validationTheilUCalculator.GetVariableInfo("Values").ActualName = "ValidationValues"; 90 95 validationTheilUCalculator.GetVariableInfo("TheilInequalityCoefficient").ActualName = "ValidationTheilInequalityCoefficient"; 91 96 SimpleTheilInequalityCoefficientEvaluator testTheilUCalculator = new SimpleTheilInequalityCoefficientEvaluator(); 97 testTheilUCalculator.Name = "TestTheilInequalityEvaluator"; 92 98 testTheilUCalculator.GetVariableInfo("Values").ActualName = "TestValues"; 93 99 testTheilUCalculator.GetVariableInfo("TheilInequalityCoefficient").ActualName = "TestTheilInequalityCoefficient"; 94 100 101 seqProc.AddSubOperator(trainingEvaluator); 95 102 seqProc.AddSubOperator(trainingTheilUCalculator); 96 103 seqProc.AddSubOperator(validationTheilUCalculator);
Note: See TracChangeset
for help on using the changeset viewer.