From 82dfe7590d642dc01de4699374f46d31e0a1a94f Mon Sep 17 00:00:00 2001 From: James Hensman Date: Fri, 21 Nov 2014 11:38:13 +0000 Subject: [PATCH] copyrighting --- GPy/core/parameterization/domains.py | 8 ++++---- GPy/core/parameterization/index_operations.py | 6 ++---- GPy/core/parameterization/lists_and_dicts.py | 7 ++----- GPy/core/parameterization/observable.py | 9 +++------ GPy/core/parameterization/observable_array.py | 3 +-- GPy/core/parameterization/param.py | 2 +- GPy/core/parameterization/parameterized.py | 2 +- GPy/core/parameterization/priors.py | 2 +- 8 files changed, 15 insertions(+), 24 deletions(-) diff --git a/GPy/core/parameterization/domains.py b/GPy/core/parameterization/domains.py index cf930ed8..c04b414f 100644 --- a/GPy/core/parameterization/domains.py +++ b/GPy/core/parameterization/domains.py @@ -1,7 +1,7 @@ # Copyright (c) 2012, GPy authors (see AUTHORS.txt). # Licensed under the BSD 3-clause license (see LICENSE.txt) -''' +""" (Hyper-)Parameter domains defined for :py:mod:`~GPy.core.priors` and :py:mod:`~GPy.kern`. These domains specify the legitimate realm of the parameters to live in. @@ -10,14 +10,14 @@ These domains specify the legitimate realm of the parameters to live in. :const:`~GPy.core.domains._POSITIVE`: positive domain, only positive real values are allowed - + :const:`~GPy.core.domains._NEGATIVE`: same as :const:`~GPy.core.domains._POSITIVE`, but only negative values are allowed - + :const:`~GPy.core.domains._BOUNDED`: only values within the bounded range are allowed, the bounds are specified withing the object with the bounded range -''' +""" _REAL = 'real' _POSITIVE = "positive" diff --git a/GPy/core/parameterization/index_operations.py b/GPy/core/parameterization/index_operations.py index ddd689ed..61c82da1 100644 --- a/GPy/core/parameterization/index_operations.py +++ b/GPy/core/parameterization/index_operations.py @@ -1,8 +1,6 @@ -''' -Created on Oct 2, 2013 +# Copyright (c) 2014, Max Zwiessele +# Licensed under the BSD 3-clause license (see LICENSE.txt) -@author: maxzwiessele -''' import numpy from numpy.lib.function_base import vectorize from lists_and_dicts import IntArrayDict diff --git a/GPy/core/parameterization/lists_and_dicts.py b/GPy/core/parameterization/lists_and_dicts.py index 0343909e..5afbb8ed 100644 --- a/GPy/core/parameterization/lists_and_dicts.py +++ b/GPy/core/parameterization/lists_and_dicts.py @@ -1,8 +1,5 @@ -''' -Created on 27 Feb 2014 - -@author: maxz -''' +# Copyright (c) 2014, Max Zwiessele +# Licensed under the BSD 3-clause license (see LICENSE.txt) from collections import defaultdict import weakref diff --git a/GPy/core/parameterization/observable.py b/GPy/core/parameterization/observable.py index ad55b44c..4782d2ea 100644 --- a/GPy/core/parameterization/observable.py +++ b/GPy/core/parameterization/observable.py @@ -1,8 +1,5 @@ -''' -Created on 30 Oct 2014 - -@author: maxz -''' +# Copyright (c) 2014, Max Zwiessele +# Licensed under the BSD 3-clause license (see LICENSE.txt) class Observable(object): @@ -66,4 +63,4 @@ class Observable(object): def change_priority(self, observer, callble, priority): self.remove_observer(observer, callble) - self.add_observer(observer, callble, priority) \ No newline at end of file + self.add_observer(observer, callble, priority) diff --git a/GPy/core/parameterization/observable_array.py b/GPy/core/parameterization/observable_array.py index 4a7bdf85..271fe7b9 100644 --- a/GPy/core/parameterization/observable_array.py +++ b/GPy/core/parameterization/observable_array.py @@ -1,7 +1,6 @@ -# Copyright (c) 2012, GPy authors (see AUTHORS.txt). +# Copyright (c) 2014, Max Zwiessele # Licensed under the BSD 3-clause license (see LICENSE.txt) -__updated__ = '2014-11-11' import numpy as np from parameter_core import Pickleable diff --git a/GPy/core/parameterization/param.py b/GPy/core/parameterization/param.py index 5560a362..c7d6be5d 100644 --- a/GPy/core/parameterization/param.py +++ b/GPy/core/parameterization/param.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012, GPy authors (see AUTHORS.txt). +# Copyright (c) 2014, Max Zwiessele # Licensed under the BSD 3-clause license (see LICENSE.txt) import itertools diff --git a/GPy/core/parameterization/parameterized.py b/GPy/core/parameterization/parameterized.py index 2c91b235..897c53e3 100644 --- a/GPy/core/parameterization/parameterized.py +++ b/GPy/core/parameterization/parameterized.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012, GPy authors (see AUTHORS.txt). +# Copyright (c) 2014, Max Zwiessele, James Hensman # Licensed under the BSD 3-clause license (see LICENSE.txt) diff --git a/GPy/core/parameterization/priors.py b/GPy/core/parameterization/priors.py index 906a5774..84b6357e 100644 --- a/GPy/core/parameterization/priors.py +++ b/GPy/core/parameterization/priors.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012, GPy authors (see AUTHORS.txt). +# Copyright (c) 2012 - 2014, GPy authors (see AUTHORS.txt). # Licensed under the BSD 3-clause license (see LICENSE.txt)