- Timestamp:
- 10/22/15 19:28:06 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12794-12795,12797
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Algorithms.DataAnalysis merged: 12797
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessBase.cs
r12009 r13053 108 108 Parameters[ApproximateGradientsParameterName].Hidden = true; // should not be changed 109 109 110 // necessary for BFGS 111 Parameters.Add(new ValueParameter<BoolValue>("Maximization", new BoolValue(false))); 112 Parameters["Maximization"].Hidden = true; 113 110 114 var randomCreator = new HeuristicLab.Random.RandomCreator(); 111 115 var gpInitializer = new GaussianProcessHyperparameterInitializer(); … … 181 185 [StorableHook(HookType.AfterDeserialization)] 182 186 private void AfterDeserialization() { 187 // BackwardsCompatibility3.4 188 #region Backwards compatible code, remove with 3.5 189 if (!Parameters.ContainsKey("Maximization")) { 190 Parameters.Add(new ValueParameter<BoolValue>("Maximization", new BoolValue(false))); 191 Parameters["Maximization"].Hidden = true; 192 } 193 #endregion 183 194 } 184 195 }
Note: See TracChangeset
for help on using the changeset viewer.