Changeset 9562 for branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning
- Timestamp:
- 05/31/13 17:20:17 (12 years ago)
- Location:
- branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning/Evaluator.cs
r8753 r9562 65 65 InterpreterParameter.ActualValue.EvaluateGaussianProcessConfiguration(tree, ProblemDataParameter.ActualValue, out quality, out solution); 66 66 67 if (double.IsInfinity(quality) || double.IsNaN(quality)) quality = 1E6; // a large value 67 68 QualityParameter.ActualValue = new DoubleValue(quality); 68 69 if (solution != null) -
branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning/GaussianProcessTuning.csproj
r9338 r9562 160 160 <None Include="Properties\AssemblyInfo.cs.frame" /> 161 161 </ItemGroup> 162 <ItemGroup> 163 <ProjectReference Include="..\HeuristicLab.Algorithms.DataAnalysis.Experimental\HeuristicLab.Algorithms.DataAnalysis.Experimental.csproj"> 164 <Project>{6142B24E-9C86-410B-A65A-1DE65C8C2349}</Project> 165 <Name>HeuristicLab.Algorithms.DataAnalysis.Experimental</Name> 166 </ProjectReference> 167 </ItemGroup> 162 168 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 163 169 <PropertyGroup> -
branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning/Grammar.cs
r9387 r9562 59 59 var covRQiso = new CovRQIso(); 60 60 var covNN = new CovNn(); 61 var covPoly = new CovPoly(); 62 var covPPoly = new CovPiecewisePoly(); 61 63 var covMatern1 = new CovMatern(1); 62 64 covMatern1.Name = "CovMatern1"; … … 102 104 covMatern5, 103 105 covNN, 106 covPoly, 107 covPPoly, 104 108 covPeriodic, 105 109 covPeriodic1, … … 163 167 covMatern5, 164 168 covNN, 169 covPoly, 170 covPPoly, 165 171 covPeriodic, 166 172 covPeriodic1, -
branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning/Interpreter.cs
r9387 r9562 36 36 gprAlg.GaussianProcessModelCreatorParameter.Value = 37 37 gprAlg.GaussianProcessModelCreatorParameter.ValidValues.First( 38 v => v is GaussianProcessRegressionModelCreator);38 v => v is EigenGaussianProcessRegressionModelCreator); 39 39 gprAlg.MinimizationIterations = 50; 40 40 … … 111 111 } else if (node.Symbol is CovNn) { 112 112 return new CovarianceNeuralNetwork(); 113 } else if (node.Symbol is CovPoly) { 114 return new CovariancePolynomial(); 115 } else if (node.Symbol is CovPiecewisePoly) { 116 return new CovariancePiecewisePolynomial(); 113 117 } else if (node.Symbol is CovPeriodic) { 114 118 return new CovariancePeriodic(); -
branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning/Symbols.cs
r9387 r9562 503 503 } 504 504 [StorableClass] 505 public sealed class CovPoly : Symbol { 506 public override int MinimumArity { 507 get { return 0; } 508 } 509 public override int MaximumArity { 510 get { return 0; } 511 } 512 513 [StorableConstructor] 514 private CovPoly(bool deserializing) : base(deserializing) { } 515 private CovPoly(CovPoly original, Cloner cloner) 516 : base(original, cloner) { 517 } 518 519 public CovPoly() 520 : base("CovPoly", "") { 521 } 522 [StorableHook(HookType.AfterDeserialization)] 523 private void AfterDeserialization() { 524 } 525 526 public override ISymbolicExpressionTreeNode CreateTreeNode() { 527 return new CovPolyTreeNode(this); 528 } 529 public override IDeepCloneable Clone(Cloner cloner) { 530 return new CovPoly(this, cloner); 531 } 532 } 533 [StorableClass] 534 public sealed class CovPiecewisePoly : Symbol { 535 public override int MinimumArity { 536 get { return 0; } 537 } 538 public override int MaximumArity { 539 get { return 0; } 540 } 541 542 [StorableConstructor] 543 private CovPiecewisePoly(bool deserializing) : base(deserializing) { } 544 private CovPiecewisePoly(CovPiecewisePoly original, Cloner cloner) 545 : base(original, cloner) { 546 } 547 548 public CovPiecewisePoly() 549 : base("CovPiecewisePoly", "") { 550 } 551 [StorableHook(HookType.AfterDeserialization)] 552 private void AfterDeserialization() { 553 } 554 555 public override ISymbolicExpressionTreeNode CreateTreeNode() { 556 return new CovPiecewisePolyTreeNode(this); 557 } 558 public override IDeepCloneable Clone(Cloner cloner) { 559 return new CovPiecewisePoly(this, cloner); 560 } 561 } 562 [StorableClass] 505 563 public sealed class CovNn : Symbol { 506 564 public override int MinimumArity { -
branches/HeuristicLab.Problems.GaussianProcessTuning/HeuristicLab.Problems.GaussianProcessTuning/TreeNodes.cs
r9387 r9562 228 228 } 229 229 [StorableClass] 230 public sealed class CovPolyTreeNode : SymbolicExpressionTreeTerminalNode { 231 public new CovPoly Symbol { get { return (CovPoly)base.Symbol; } } 232 233 [StorableConstructor] 234 private CovPolyTreeNode(bool deserializing) : base(deserializing) { } 235 private CovPolyTreeNode(CovPolyTreeNode original, Cloner cloner) 236 : base(original, cloner) { 237 } 238 239 public CovPolyTreeNode(CovPoly symbol) 240 : base(symbol) { 241 } 242 243 [StorableHook(HookType.AfterDeserialization)] 244 private void AfterDeserialization() { 245 } 246 public override IDeepCloneable Clone(Cloner cloner) { 247 return new CovPolyTreeNode(this, cloner); 248 } 249 } 250 [StorableClass] 251 public sealed class CovPiecewisePolyTreeNode : SymbolicExpressionTreeTerminalNode { 252 public new CovPiecewisePoly Symbol { get { return (CovPiecewisePoly)base.Symbol; } } 253 254 [StorableConstructor] 255 private CovPiecewisePolyTreeNode(bool deserializing) : base(deserializing) { } 256 private CovPiecewisePolyTreeNode(CovPiecewisePolyTreeNode original, Cloner cloner) 257 : base(original, cloner) { 258 } 259 260 public CovPiecewisePolyTreeNode(CovPiecewisePoly symbol) 261 : base(symbol) { 262 } 263 264 [StorableHook(HookType.AfterDeserialization)] 265 private void AfterDeserialization() { 266 } 267 public override IDeepCloneable Clone(Cloner cloner) { 268 return new CovPiecewisePolyTreeNode(this, cloner); 269 } 270 } 271 [StorableClass] 230 272 public sealed class CovNnTreeNode : SymbolicExpressionTreeTerminalNode { 231 273 public new CovNn Symbol { get { return (CovNn)base.Symbol; } }
Note: See TracChangeset
for help on using the changeset viewer.