Changeset 10553 for branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceFunctions/CovarianceMask.cs
- Timestamp:
- 03/05/14 17:30:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceFunctions/CovarianceMask.cs
r8982 r10553 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 74 74 75 75 public ParameterizedCovarianceFunction GetParameterizedCovarianceFunction(double[] p, IEnumerable<int> columnIndices) { 76 if (columnIndices != null)77 throw new InvalidOperationException("Stacking of masking covariance functions is not supported.");78 76 var cov = CovarianceFunctionParameter.Value; 79 77 var selectedDimensions = SelectedDimensionsParameter.Value; 80 78 81 return cov.GetParameterizedCovarianceFunction(p, selectedDimensions );79 return cov.GetParameterizedCovarianceFunction(p, selectedDimensions.Intersect(columnIndices)); 82 80 } 83 81 }
Note: See TracChangeset
for help on using the changeset viewer.