Skip to content

Commit

Permalink
Copyright notes
Browse files Browse the repository at this point in the history
  • Loading branch information
st-- authored and awav committed May 5, 2018
1 parent b9e5817 commit 20a006f
Show file tree
Hide file tree
Showing 48 changed files with 76 additions and 53 deletions.
2 changes: 0 additions & 2 deletions gpflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

# flake8: noqa

from __future__ import absolute_import

from ._version import __version__
from ._settings import SETTINGS as settings

Expand Down
2 changes: 1 addition & 1 deletion gpflow/expectations.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import functools
import warnings
Expand Down
2 changes: 1 addition & 1 deletion gpflow/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

from abc import abstractmethod
from functools import singledispatch
Expand Down
1 change: 0 additions & 1 deletion gpflow/kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# limitations under the License.


from __future__ import print_function, absolute_import
from functools import reduce
import warnings

Expand Down
2 changes: 0 additions & 2 deletions gpflow/likelihoods.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# limitations under the License.


from __future__ import absolute_import

import tensorflow as tf
import numpy as np

Expand Down
14 changes: 14 additions & 0 deletions gpflow/models/gplvm.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2016 the GPflow authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import tensorflow as tf
import numpy as np

Expand Down
2 changes: 0 additions & 2 deletions gpflow/models/gpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.


from __future__ import absolute_import
import tensorflow as tf

from .. import likelihoods
Expand Down
2 changes: 0 additions & 2 deletions gpflow/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import print_function, absolute_import

import abc

import numpy as np
Expand Down
1 change: 0 additions & 1 deletion gpflow/models/sgpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.


from __future__ import absolute_import
import tensorflow as tf
import numpy as np

Expand Down
1 change: 0 additions & 1 deletion gpflow/models/svgp.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.


from __future__ import absolute_import
import tensorflow as tf
import numpy as np

Expand Down
1 change: 0 additions & 1 deletion gpflow/models/vgp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import
import tensorflow as tf
import numpy as np

Expand Down
2 changes: 0 additions & 2 deletions gpflow/params/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

# flake8: noqa

from __future__ import absolute_import

from .parameter import Parameter
from .dataholders import DataHolder
from .dataholders import Minibatch
Expand Down
1 change: 0 additions & 1 deletion gpflow/priors.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.


from __future__ import absolute_import
import tensorflow as tf
import numpy as np

Expand Down
4 changes: 2 additions & 2 deletions gpflow/probability_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

# Eventually, it would be nice to not have to have our own classes for
# proability distributions. The TensorFlow "distributions" framework would
Expand Down Expand Up @@ -48,4 +48,4 @@ class MarkovGaussian(ProbabilityDistribution):
"""
def __init__(self, mu, cov):
self.mu = mu # N+1 x D
self.cov = cov # 2 x (N+1) x D x D
self.cov = cov # 2 x (N+1) x D x D
14 changes: 13 additions & 1 deletion gpflow/quadrature.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
from __future__ import print_function, absolute_import
# Copyright 2017-2018 the GPflow authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import itertools
from collections import Iterable
Expand Down
2 changes: 0 additions & 2 deletions gpflow/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import

import numpy as np
import tensorflow as tf
import itertools
Expand Down
2 changes: 1 addition & 1 deletion tests/test_autoflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_conditionals.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.


# pylint: disable=W0212
Expand Down
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_coregion.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_data_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_dataholders.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_expectations.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import numpy as np
import tensorflow as tf
Expand Down
2 changes: 1 addition & 1 deletion tests/test_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import numpy as np
import tensorflow as tf
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gplvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_kerns.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_kldiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

# -*- coding: utf-8 -*-

Expand Down
2 changes: 1 addition & 1 deletion tests/test_likelihoods.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import six
import tensorflow as tf
Expand Down
2 changes: 1 addition & 1 deletion tests/test_logdensities.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import numpy as np
from numpy.random import randn
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mean_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import itertools
import tensorflow as tf
Expand Down
2 changes: 1 addition & 1 deletion tests/test_method_equivalence.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import traceback
import sys
Expand Down
2 changes: 1 addition & 1 deletion tests/test_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

# pylint: disable=E1123

Expand Down
2 changes: 1 addition & 1 deletion tests/test_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion tests/test_priors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import tensorflow as tf

Expand Down
2 changes: 1 addition & 1 deletion tests/test_profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.from __future__ import print_function
# limitations under the License.

import glob
import os
Expand Down
Loading

0 comments on commit 20a006f

Please sign in to comment.