From bfd7734339f38ae8a2a3bc6d7083aa0cb33f4900 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Thu, 21 May 2015 10:15:50 +0200 Subject: [PATCH] [param] added multilevel indexing note to doc --- GPy/core/parameterization/param.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GPy/core/parameterization/param.py b/GPy/core/parameterization/param.py index 1838f2bf..91ce9e24 100644 --- a/GPy/core/parameterization/param.py +++ b/GPy/core/parameterization/param.py @@ -38,6 +38,11 @@ class Param(Parameterizable, ObsAr): Fixing parameters will fix them to the value they are right now. If you change the fixed value, it will be fixed to the new value! + Important Note: + Multilevel indexing (e.g. self[:2][1:]) is not supported and might lead to unexpected behaviour. + Try to index in one go, using boolean indexing or the numpy builtin + np.index function. + See :py:class:`GPy.core.parameterized.Parameterized` for more details on constraining etc. """