Changeset 9098
- Timestamp:
- 01/03/13 14:37:31 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessClassification.cs
r9096 r9098 53 53 54 54 #region parameter properties 55 public IConstrainedValueParameter<IGaussianProcessClassificationModelCreator> ModelCreatorParameter {55 public IConstrainedValueParameter<IGaussianProcessClassificationModelCreator> GaussianProcessModelCreatorParameter { 56 56 get { return (IConstrainedValueParameter<IGaussianProcessClassificationModelCreator>)Parameters[ModelCreatorParameterName]; } 57 57 } 58 public IFixedValueParameter<GaussianProcessClassificationSolutionCreator> SolutionCreatorParameter {58 public IFixedValueParameter<GaussianProcessClassificationSolutionCreator> GaussianProcessSolutionCreatorParameter { 59 59 get { return (IFixedValueParameter<GaussianProcessClassificationSolutionCreator>)Parameters[SolutionCreatorParameterName]; } 60 60 } … … 87 87 88 88 ParameterizedModelCreators(); 89 ParameterizeSolutionCreator( SolutionCreatorParameter.Value);89 ParameterizeSolutionCreator(GaussianProcessSolutionCreatorParameter.Value); 90 90 RegisterEventHandlers(); 91 91 } … … 103 103 #region events 104 104 private void RegisterEventHandlers() { 105 ModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged;105 GaussianProcessModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged; 106 106 } 107 107 108 108 private void ModelCreatorParameter_ValueChanged(object sender, EventArgs e) { 109 ParameterizedModelCreator( ModelCreatorParameter.Value);109 ParameterizedModelCreator(GaussianProcessModelCreatorParameter.Value); 110 110 } 111 111 #endregion 112 112 113 113 private void ParameterizedModelCreators() { 114 foreach (var creator in ModelCreatorParameter.ValidValues) {114 foreach (var creator in GaussianProcessModelCreatorParameter.ValidValues) { 115 115 ParameterizedModelCreator(creator); 116 116 } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessRegression.cs
r9096 r9098 53 53 54 54 #region parameter properties 55 public IConstrainedValueParameter<IGaussianProcessRegressionModelCreator> ModelCreatorParameter {55 public IConstrainedValueParameter<IGaussianProcessRegressionModelCreator> GaussianProcessModelCreatorParameter { 56 56 get { return (IConstrainedValueParameter<IGaussianProcessRegressionModelCreator>)Parameters[ModelCreatorParameterName]; } 57 57 } 58 public IFixedValueParameter<GaussianProcessRegressionSolutionCreator> SolutionCreatorParameter {58 public IFixedValueParameter<GaussianProcessRegressionSolutionCreator> GaussianProcessSolutionCreatorParameter { 59 59 get { return (IFixedValueParameter<GaussianProcessRegressionSolutionCreator>)Parameters[SolutionCreatorParameterName]; } 60 60 } … … 87 87 88 88 ParameterizedModelCreators(); 89 ParameterizeSolutionCreator( SolutionCreatorParameter.Value);89 ParameterizeSolutionCreator(GaussianProcessSolutionCreatorParameter.Value); 90 90 RegisterEventHandlers(); 91 91 } … … 103 103 #region events 104 104 private void RegisterEventHandlers() { 105 ModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged;105 GaussianProcessModelCreatorParameter.ValueChanged += ModelCreatorParameter_ValueChanged; 106 106 } 107 107 108 108 private void ModelCreatorParameter_ValueChanged(object sender, EventArgs e) { 109 ParameterizedModelCreator( ModelCreatorParameter.Value);109 ParameterizedModelCreator(GaussianProcessModelCreatorParameter.Value); 110 110 } 111 111 #endregion 112 112 113 113 private void ParameterizedModelCreators() { 114 foreach (var creator in ModelCreatorParameter.ValidValues) {114 foreach (var creator in GaussianProcessModelCreatorParameter.ValidValues) { 115 115 ParameterizedModelCreator(creator); 116 116 }
Note: See TracChangeset
for help on using the changeset viewer.