diff --git a/NOTICE b/NOTICE index 605f38fc..70d10d22 100644 --- a/NOTICE +++ b/NOTICE @@ -1,2 +1,3 @@ Emukit -Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/doc/conf.py b/doc/conf.py index 1f4d6aa1..4a2e915e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,17 +1,9 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"). -# You may not use this file except in compliance with the License. -# A copy of the License is located at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# or in the "license" file accompanying this file. This file 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. -# ============================================================================== -# -*- coding: utf-8 -*- +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + from datetime import datetime import os @@ -19,7 +11,7 @@ import sys from os.path import abspath, dirname -# -- Mock graphing modules - workaround for optinal dependencies as well as for wrong behavior of some required ones +# -- Mock graphing modules - workaround for optional dependencies as well as for wrong behavior of some required ones from unittest.mock import MagicMock diff --git a/emukit/__init__.py b/emukit/__init__.py index df020641..c057a22c 100644 --- a/emukit/__init__.py +++ b/emukit/__init__.py @@ -1,4 +1,8 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from emukit.__version__ import __version__ diff --git a/emukit/__version__.py b/emukit/__version__.py index 8062546a..43bad2e1 100644 --- a/emukit/__version__.py +++ b/emukit/__version__.py @@ -1,14 +1,8 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"). -# You may not use this file except in compliance with the License. -# A copy of the License is located at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# or in the "license" file accompanying this file. This file 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. -# ============================================================================== +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + __version__ = "0.4.10" # noqa diff --git a/emukit/bayesian_optimization/__init__.py b/emukit/bayesian_optimization/__init__.py index ceb2dd74..a63c77b7 100644 --- a/emukit/bayesian_optimization/__init__.py +++ b/emukit/bayesian_optimization/__init__.py @@ -1,2 +1,5 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/acquisitions/__init__.py b/emukit/bayesian_optimization/acquisitions/__init__.py index 4b703751..4877e688 100644 --- a/emukit/bayesian_optimization/acquisitions/__init__.py +++ b/emukit/bayesian_optimization/acquisitions/__init__.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # there are circular imports in this package, hence we can't just sort alphabetically # isort: skip_file diff --git a/emukit/bayesian_optimization/acquisitions/entropy_search.py b/emukit/bayesian_optimization/acquisitions/entropy_search.py index 753eef74..d6139a8f 100644 --- a/emukit/bayesian_optimization/acquisitions/entropy_search.py +++ b/emukit/bayesian_optimization/acquisitions/entropy_search.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/acquisitions/expected_improvement.py b/emukit/bayesian_optimization/acquisitions/expected_improvement.py index 5062c19b..828279f4 100644 --- a/emukit/bayesian_optimization/acquisitions/expected_improvement.py +++ b/emukit/bayesian_optimization/acquisitions/expected_improvement.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/acquisitions/local_penalization.py b/emukit/bayesian_optimization/acquisitions/local_penalization.py index 0bacd834..8c159b3b 100644 --- a/emukit/bayesian_optimization/acquisitions/local_penalization.py +++ b/emukit/bayesian_optimization/acquisitions/local_penalization.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/bayesian_optimization/acquisitions/log_acquisition.py b/emukit/bayesian_optimization/acquisitions/log_acquisition.py index 0cbfe476..2b1a8c08 100644 --- a/emukit/bayesian_optimization/acquisitions/log_acquisition.py +++ b/emukit/bayesian_optimization/acquisitions/log_acquisition.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/bayesian_optimization/acquisitions/max_value_entropy_search.py b/emukit/bayesian_optimization/acquisitions/max_value_entropy_search.py index aef24626..bfb611ff 100644 --- a/emukit/bayesian_optimization/acquisitions/max_value_entropy_search.py +++ b/emukit/bayesian_optimization/acquisitions/max_value_entropy_search.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/acquisitions/negative_lower_confidence_bound.py b/emukit/bayesian_optimization/acquisitions/negative_lower_confidence_bound.py index 6294d5e0..0a21eee9 100644 --- a/emukit/bayesian_optimization/acquisitions/negative_lower_confidence_bound.py +++ b/emukit/bayesian_optimization/acquisitions/negative_lower_confidence_bound.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/acquisitions/probability_of_feasibility.py b/emukit/bayesian_optimization/acquisitions/probability_of_feasibility.py index 52493536..cec185a5 100644 --- a/emukit/bayesian_optimization/acquisitions/probability_of_feasibility.py +++ b/emukit/bayesian_optimization/acquisitions/probability_of_feasibility.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/acquisitions/probability_of_improvement.py b/emukit/bayesian_optimization/acquisitions/probability_of_improvement.py index df49c8e5..fd69257e 100644 --- a/emukit/bayesian_optimization/acquisitions/probability_of_improvement.py +++ b/emukit/bayesian_optimization/acquisitions/probability_of_improvement.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/epmgp.py b/emukit/bayesian_optimization/epmgp.py index c0b58a06..80599c4e 100644 --- a/emukit/bayesian_optimization/epmgp.py +++ b/emukit/bayesian_optimization/epmgp.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/interfaces/__init__.py b/emukit/bayesian_optimization/interfaces/__init__.py index 11b3302e..d2205d9d 100644 --- a/emukit/bayesian_optimization/interfaces/__init__.py +++ b/emukit/bayesian_optimization/interfaces/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/interfaces/models.py b/emukit/bayesian_optimization/interfaces/models.py index 46c11cc8..88e4e05f 100644 --- a/emukit/bayesian_optimization/interfaces/models.py +++ b/emukit/bayesian_optimization/interfaces/models.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/local_penalization_calculator.py b/emukit/bayesian_optimization/local_penalization_calculator.py index d21cf861..1f40f437 100644 --- a/emukit/bayesian_optimization/local_penalization_calculator.py +++ b/emukit/bayesian_optimization/local_penalization_calculator.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Optional import numpy as np diff --git a/emukit/bayesian_optimization/loops/__init__.py b/emukit/bayesian_optimization/loops/__init__.py index 84b429d6..7094f438 100644 --- a/emukit/bayesian_optimization/loops/__init__.py +++ b/emukit/bayesian_optimization/loops/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/loops/bayesian_optimization_loop.py b/emukit/bayesian_optimization/loops/bayesian_optimization_loop.py index 865f320d..7c1c8650 100644 --- a/emukit/bayesian_optimization/loops/bayesian_optimization_loop.py +++ b/emukit/bayesian_optimization/loops/bayesian_optimization_loop.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/loops/cost_sensitive_bayesian_optimization_loop.py b/emukit/bayesian_optimization/loops/cost_sensitive_bayesian_optimization_loop.py index 39ea23c4..e582e03a 100644 --- a/emukit/bayesian_optimization/loops/cost_sensitive_bayesian_optimization_loop.py +++ b/emukit/bayesian_optimization/loops/cost_sensitive_bayesian_optimization_loop.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/bayesian_optimization/loops/unknown_constraint_bayesian_optimization_loop.py b/emukit/bayesian_optimization/loops/unknown_constraint_bayesian_optimization_loop.py index 078ebaac..483db162 100644 --- a/emukit/bayesian_optimization/loops/unknown_constraint_bayesian_optimization_loop.py +++ b/emukit/bayesian_optimization/loops/unknown_constraint_bayesian_optimization_loop.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/benchmarking/__init__.py b/emukit/benchmarking/__init__.py index e69de29b..a63c77b7 100644 --- a/emukit/benchmarking/__init__.py +++ b/emukit/benchmarking/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/benchmarking/loop_benchmarking/__init__.py b/emukit/benchmarking/loop_benchmarking/__init__.py index e69de29b..a63c77b7 100644 --- a/emukit/benchmarking/loop_benchmarking/__init__.py +++ b/emukit/benchmarking/loop_benchmarking/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/benchmarking/loop_benchmarking/benchmark_plot.py b/emukit/benchmarking/loop_benchmarking/benchmark_plot.py index e0b4a9ab..398e6b60 100644 --- a/emukit/benchmarking/loop_benchmarking/benchmark_plot.py +++ b/emukit/benchmarking/loop_benchmarking/benchmark_plot.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from itertools import cycle from typing import List diff --git a/emukit/benchmarking/loop_benchmarking/benchmark_result.py b/emukit/benchmarking/loop_benchmarking/benchmark_result.py index 7cd9af0d..20a90c3e 100644 --- a/emukit/benchmarking/loop_benchmarking/benchmark_result.py +++ b/emukit/benchmarking/loop_benchmarking/benchmark_result.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import List import numpy as np diff --git a/emukit/benchmarking/loop_benchmarking/benchmarker.py b/emukit/benchmarking/loop_benchmarking/benchmarker.py index 4714165c..1502c331 100644 --- a/emukit/benchmarking/loop_benchmarking/benchmarker.py +++ b/emukit/benchmarking/loop_benchmarking/benchmarker.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging from functools import partial from typing import Callable, List, Tuple, Union diff --git a/emukit/benchmarking/loop_benchmarking/metrics.py b/emukit/benchmarking/loop_benchmarking/metrics.py index 3ff4c46d..d4f7e42c 100644 --- a/emukit/benchmarking/loop_benchmarking/metrics.py +++ b/emukit/benchmarking/loop_benchmarking/metrics.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from time import time import numpy as np diff --git a/emukit/benchmarking/loop_benchmarking/random_search.py b/emukit/benchmarking/loop_benchmarking/random_search.py index 619d7b4d..6e35f029 100644 --- a/emukit/benchmarking/loop_benchmarking/random_search.py +++ b/emukit/benchmarking/loop_benchmarking/random_search.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from ...core.loop.candidate_point_calculators import RandomSampling diff --git a/emukit/core/__init__.py b/emukit/core/__init__.py index c3e8552d..9b370013 100644 --- a/emukit/core/__init__.py +++ b/emukit/core/__init__.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .bandit_parameter import BanditParameter # noqa: F401 from .categorical_parameter import CategoricalParameter # noqa: F401 from .continuous_parameter import ContinuousParameter # noqa: F401 diff --git a/emukit/core/acquisition/__init__.py b/emukit/core/acquisition/__init__.py index 7249172d..2e0b2f00 100644 --- a/emukit/core/acquisition/__init__.py +++ b/emukit/core/acquisition/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/acquisition/acquisition.py b/emukit/core/acquisition/acquisition.py index 0be7193c..d8003e94 100644 --- a/emukit/core/acquisition/acquisition.py +++ b/emukit/core/acquisition/acquisition.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/acquisition/acquisition_per_cost.py b/emukit/core/acquisition/acquisition_per_cost.py index affabe98..eb6aca89 100644 --- a/emukit/core/acquisition/acquisition_per_cost.py +++ b/emukit/core/acquisition/acquisition_per_cost.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/core/acquisition/integrated_acquisition.py b/emukit/core/acquisition/integrated_acquisition.py index 04c89e1b..6c1a148a 100644 --- a/emukit/core/acquisition/integrated_acquisition.py +++ b/emukit/core/acquisition/integrated_acquisition.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Callable, Tuple, Union import numpy as np diff --git a/emukit/core/bandit_parameter.py b/emukit/core/bandit_parameter.py index e13ea008..e11bae4c 100644 --- a/emukit/core/bandit_parameter.py +++ b/emukit/core/bandit_parameter.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2020 Opsani, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/categorical_parameter.py b/emukit/core/categorical_parameter.py index 27da3eeb..77b71469 100644 --- a/emukit/core/categorical_parameter.py +++ b/emukit/core/categorical_parameter.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/constraints.py b/emukit/core/constraints.py index 06087b36..a05ff451 100644 --- a/emukit/core/constraints.py +++ b/emukit/core/constraints.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging from typing import Callable, Optional diff --git a/emukit/core/continuous_parameter.py b/emukit/core/continuous_parameter.py index 193c2664..7824f291 100644 --- a/emukit/core/continuous_parameter.py +++ b/emukit/core/continuous_parameter.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/discrete_parameter.py b/emukit/core/discrete_parameter.py index 1b28422d..d258d060 100644 --- a/emukit/core/discrete_parameter.py +++ b/emukit/core/discrete_parameter.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/encodings.py b/emukit/core/encodings.py index e24d5fb8..5031d31b 100644 --- a/emukit/core/encodings.py +++ b/emukit/core/encodings.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/event_handler.py b/emukit/core/event_handler.py index dc1770ba..a77d8181 100644 --- a/emukit/core/event_handler.py +++ b/emukit/core/event_handler.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + class EventHandler(list): """ A list of callable objects. Calling an instance of this will cause a call to each item in the list in ascending diff --git a/emukit/core/initial_designs/__init__.py b/emukit/core/initial_designs/__init__.py index ecd67040..b14a75d0 100644 --- a/emukit/core/initial_designs/__init__.py +++ b/emukit/core/initial_designs/__init__.py @@ -1,4 +1,8 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .random_design import RandomDesign # noqa: F401 diff --git a/emukit/core/initial_designs/base.py b/emukit/core/initial_designs/base.py index 46b43148..e327ba9f 100644 --- a/emukit/core/initial_designs/base.py +++ b/emukit/core/initial_designs/base.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from .. import ParameterSpace diff --git a/emukit/core/initial_designs/latin_design.py b/emukit/core/initial_designs/latin_design.py index dcf21878..5c29c69c 100644 --- a/emukit/core/initial_designs/latin_design.py +++ b/emukit/core/initial_designs/latin_design.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/initial_designs/random_design.py b/emukit/core/initial_designs/random_design.py index 64fa71ee..846af906 100644 --- a/emukit/core/initial_designs/random_design.py +++ b/emukit/core/initial_designs/random_design.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from .. import ParameterSpace diff --git a/emukit/core/initial_designs/sobol_design.py b/emukit/core/initial_designs/sobol_design.py index 90745749..b1c8d2fa 100644 --- a/emukit/core/initial_designs/sobol_design.py +++ b/emukit/core/initial_designs/sobol_design.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/interfaces/__init__.py b/emukit/core/interfaces/__init__.py index 6adffce6..a808cb3c 100644 --- a/emukit/core/interfaces/__init__.py +++ b/emukit/core/interfaces/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/interfaces/models.py b/emukit/core/interfaces/models.py index f2e37e03..a6cf1060 100644 --- a/emukit/core/interfaces/models.py +++ b/emukit/core/interfaces/models.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/__init__.py b/emukit/core/loop/__init__.py index 534a1252..909c68b6 100644 --- a/emukit/core/loop/__init__.py +++ b/emukit/core/loop/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/candidate_point_calculators.py b/emukit/core/loop/candidate_point_calculators.py index 09be6e5a..61618c32 100644 --- a/emukit/core/loop/candidate_point_calculators.py +++ b/emukit/core/loop/candidate_point_calculators.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/loop_state.py b/emukit/core/loop/loop_state.py index e1023775..c67596d3 100644 --- a/emukit/core/loop/loop_state.py +++ b/emukit/core/loop/loop_state.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/model_updaters.py b/emukit/core/loop/model_updaters.py index bbcdb298..46aaec69 100644 --- a/emukit/core/loop/model_updaters.py +++ b/emukit/core/loop/model_updaters.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/outer_loop.py b/emukit/core/loop/outer_loop.py index 0e538635..5402f6f2 100644 --- a/emukit/core/loop/outer_loop.py +++ b/emukit/core/loop/outer_loop.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/stopping_conditions.py b/emukit/core/loop/stopping_conditions.py index d6e41d16..e4cc172b 100644 --- a/emukit/core/loop/stopping_conditions.py +++ b/emukit/core/loop/stopping_conditions.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/user_function.py b/emukit/core/loop/user_function.py index f5f503b0..1cac986b 100644 --- a/emukit/core/loop/user_function.py +++ b/emukit/core/loop/user_function.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/loop/user_function_result.py b/emukit/core/loop/user_function_result.py index efac1729..738209a1 100644 --- a/emukit/core/loop/user_function_result.py +++ b/emukit/core/loop/user_function_result.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/optimization/__init__.py b/emukit/core/optimization/__init__.py index efa7128d..f1265788 100644 --- a/emukit/core/optimization/__init__.py +++ b/emukit/core/optimization/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/optimization/acquisition_optimizer.py b/emukit/core/optimization/acquisition_optimizer.py index 136ddcfa..8ea504d3 100644 --- a/emukit/core/optimization/acquisition_optimizer.py +++ b/emukit/core/optimization/acquisition_optimizer.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import abc from typing import Optional, Tuple diff --git a/emukit/core/optimization/anchor_points_generator.py b/emukit/core/optimization/anchor_points_generator.py index d4fd2ae4..6da09441 100644 --- a/emukit/core/optimization/anchor_points_generator.py +++ b/emukit/core/optimization/anchor_points_generator.py @@ -1,5 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging import numpy as np diff --git a/emukit/core/optimization/context_manager.py b/emukit/core/optimization/context_manager.py index 4fd4980e..eda89723 100644 --- a/emukit/core/optimization/context_manager.py +++ b/emukit/core/optimization/context_manager.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging from typing import Any, Dict diff --git a/emukit/core/optimization/gradient_acquisition_optimizer.py b/emukit/core/optimization/gradient_acquisition_optimizer.py index ae8d4416..efcee0c0 100644 --- a/emukit/core/optimization/gradient_acquisition_optimizer.py +++ b/emukit/core/optimization/gradient_acquisition_optimizer.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging from typing import Tuple diff --git a/emukit/core/optimization/local_search_acquisition_optimizer.py b/emukit/core/optimization/local_search_acquisition_optimizer.py index 0af117e1..3de8ec39 100644 --- a/emukit/core/optimization/local_search_acquisition_optimizer.py +++ b/emukit/core/optimization/local_search_acquisition_optimizer.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging from typing import List, Optional, Sequence, Tuple diff --git a/emukit/core/optimization/multi_source_acquisition_optimizer.py b/emukit/core/optimization/multi_source_acquisition_optimizer.py index 731ac943..0b95a6ba 100644 --- a/emukit/core/optimization/multi_source_acquisition_optimizer.py +++ b/emukit/core/optimization/multi_source_acquisition_optimizer.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/optimization/optimizer.py b/emukit/core/optimization/optimizer.py index b61fbe12..cd87b652 100644 --- a/emukit/core/optimization/optimizer.py +++ b/emukit/core/optimization/optimizer.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Callable, List, Tuple import numpy as np diff --git a/emukit/core/optimization/random_search_acquisition_optimizer.py b/emukit/core/optimization/random_search_acquisition_optimizer.py index 6e9261f3..40374d2b 100644 --- a/emukit/core/optimization/random_search_acquisition_optimizer.py +++ b/emukit/core/optimization/random_search_acquisition_optimizer.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging from typing import Tuple diff --git a/emukit/core/parameter.py b/emukit/core/parameter.py index 762cd360..7a926920 100644 --- a/emukit/core/parameter.py +++ b/emukit/core/parameter.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/core/parameter_space.py b/emukit/core/parameter_space.py index d00b48a8..b0f6d76c 100644 --- a/emukit/core/parameter_space.py +++ b/emukit/core/parameter_space.py @@ -1,5 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import itertools from typing import List, Optional, Tuple diff --git a/emukit/examples/__init__.py b/emukit/examples/__init__.py index ceb2dd74..a63c77b7 100644 --- a/emukit/examples/__init__.py +++ b/emukit/examples/__init__.py @@ -1,2 +1,5 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/dynamic_negative_lower_confidence_bound/__init__.py b/emukit/examples/dynamic_negative_lower_confidence_bound/__init__.py index 7b3f983a..bbb6d43d 100644 --- a/emukit/examples/dynamic_negative_lower_confidence_bound/__init__.py +++ b/emukit/examples/dynamic_negative_lower_confidence_bound/__init__.py @@ -1 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .dnlcb import DynamicNegativeLowerConfidenceBound diff --git a/emukit/examples/dynamic_negative_lower_confidence_bound/dnlcb.py b/emukit/examples/dynamic_negative_lower_confidence_bound/dnlcb.py index 655b2a0e..61cf0603 100644 --- a/emukit/examples/dynamic_negative_lower_confidence_bound/dnlcb.py +++ b/emukit/examples/dynamic_negative_lower_confidence_bound/dnlcb.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Union import numpy as np diff --git a/emukit/examples/emulation_mountain_car_simulator/mountain_car.py b/emukit/examples/emulation_mountain_car_simulator/mountain_car.py index 62862889..82d97dfb 100644 --- a/emukit/examples/emulation_mountain_car_simulator/mountain_car.py +++ b/emukit/examples/emulation_mountain_car_simulator/mountain_car.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import matplotlib.pyplot as plt import numpy as np from IPython.display import display diff --git a/emukit/examples/fabolas/__init__.py b/emukit/examples/fabolas/__init__.py index dcc2ad8d..331d874f 100644 --- a/emukit/examples/fabolas/__init__.py +++ b/emukit/examples/fabolas/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .fabolas_loop import FabolasLoop from .fabolas_model import FabolasModel from .fmin import fmin_fabolas diff --git a/emukit/examples/fabolas/continuous_fidelity_entropy_search.py b/emukit/examples/fabolas/continuous_fidelity_entropy_search.py index 6fdfcc5e..68ca80e4 100644 --- a/emukit/examples/fabolas/continuous_fidelity_entropy_search.py +++ b/emukit/examples/fabolas/continuous_fidelity_entropy_search.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Union import numpy as np diff --git a/emukit/examples/fabolas/example.py b/emukit/examples/fabolas/example.py index 7b7b4f31..ed76374d 100644 --- a/emukit/examples/fabolas/example.py +++ b/emukit/examples/fabolas/example.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """ This file implements an example of how to use Fabolas via the provided fmin interface to optimize the hyperparameters of a SVM. diff --git a/emukit/examples/fabolas/fabolas_loop.py b/emukit/examples/fabolas/fabolas_loop.py index e6517551..326f6866 100644 --- a/emukit/examples/fabolas/fabolas_loop.py +++ b/emukit/examples/fabolas/fabolas_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.bayesian_optimization.loops.cost_sensitive_bayesian_optimization_loop import ( diff --git a/emukit/examples/fabolas/fabolas_model.py b/emukit/examples/fabolas/fabolas_model.py index d620b46d..8ff68e3a 100644 --- a/emukit/examples/fabolas/fabolas_model.py +++ b/emukit/examples/fabolas/fabolas_model.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from copy import deepcopy from typing import Tuple diff --git a/emukit/examples/fabolas/fmin.py b/emukit/examples/fabolas/fmin.py index 7f489bb4..90c1690a 100644 --- a/emukit/examples/fabolas/fmin.py +++ b/emukit/examples/fabolas/fmin.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.core.initial_designs.latin_design import LatinDesign diff --git a/emukit/examples/gp_bayesian_optimization/__init__.py b/emukit/examples/gp_bayesian_optimization/__init__.py index ceb2dd74..a63c77b7 100644 --- a/emukit/examples/gp_bayesian_optimization/__init__.py +++ b/emukit/examples/gp_bayesian_optimization/__init__.py @@ -1,2 +1,5 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/gp_bayesian_optimization/enums.py b/emukit/examples/gp_bayesian_optimization/enums.py index 868e1be7..d4093c9f 100644 --- a/emukit/examples/gp_bayesian_optimization/enums.py +++ b/emukit/examples/gp_bayesian_optimization/enums.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from enum import Enum diff --git a/emukit/examples/gp_bayesian_optimization/optimization_loops.py b/emukit/examples/gp_bayesian_optimization/optimization_loops.py index e7c69815..6e79f44d 100644 --- a/emukit/examples/gp_bayesian_optimization/optimization_loops.py +++ b/emukit/examples/gp_bayesian_optimization/optimization_loops.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from ...bayesian_optimization.acquisitions import ( diff --git a/emukit/examples/gp_bayesian_optimization/single_objective_bayesian_optimization.py b/emukit/examples/gp_bayesian_optimization/single_objective_bayesian_optimization.py index bd305dd0..cb2e1fb1 100644 --- a/emukit/examples/gp_bayesian_optimization/single_objective_bayesian_optimization.py +++ b/emukit/examples/gp_bayesian_optimization/single_objective_bayesian_optimization.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/gp_bayesian_optimization/unknown_constraint_bayesian_optimization.py b/emukit/examples/gp_bayesian_optimization/unknown_constraint_bayesian_optimization.py index 88195169..9f485c54 100644 --- a/emukit/examples/gp_bayesian_optimization/unknown_constraint_bayesian_optimization.py +++ b/emukit/examples/gp_bayesian_optimization/unknown_constraint_bayesian_optimization.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/models/__init__.py b/emukit/examples/models/__init__.py index ceb2dd74..a63c77b7 100644 --- a/emukit/examples/models/__init__.py +++ b/emukit/examples/models/__init__.py @@ -1,2 +1,5 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/models/bohamiann.py b/emukit/examples/models/bohamiann.py index 288d91e8..4542d44e 100644 --- a/emukit/examples/models/bohamiann.py +++ b/emukit/examples/models/bohamiann.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from ...core.interfaces.models import IDifferentiable, IModel diff --git a/emukit/examples/models/random_forest.py b/emukit/examples/models/random_forest.py index fd3a013a..8ce343e0 100644 --- a/emukit/examples/models/random_forest.py +++ b/emukit/examples/models/random_forest.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from ...core.interfaces.models import IModel diff --git a/emukit/examples/multi_fidelity_dgp/__init__.py b/emukit/examples/multi_fidelity_dgp/__init__.py index e69de29b..a63c77b7 100644 --- a/emukit/examples/multi_fidelity_dgp/__init__.py +++ b/emukit/examples/multi_fidelity_dgp/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/multi_fidelity_dgp/baseline_model_wrappers.py b/emukit/examples/multi_fidelity_dgp/baseline_model_wrappers.py index 6b73eb6a..08f3bf6f 100644 --- a/emukit/examples/multi_fidelity_dgp/baseline_model_wrappers.py +++ b/emukit/examples/multi_fidelity_dgp/baseline_model_wrappers.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """ These are emukit model wrappers that contain the specific optimization procedures we found worked well for each model. diff --git a/emukit/examples/multi_fidelity_dgp/multi_fidelity_deep_gp.py b/emukit/examples/multi_fidelity_dgp/multi_fidelity_deep_gp.py index d5b7e60f..7acaeab4 100644 --- a/emukit/examples/multi_fidelity_dgp/multi_fidelity_deep_gp.py +++ b/emukit/examples/multi_fidelity_dgp/multi_fidelity_deep_gp.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """ This file contains the multi-fidelity deep Gaussian process model from: Deep Gaussian Processes for Multi-fidelity Modeling (Kurt Cutajar, Mark Pullin, Andreas Damianou, Neil Lawrence, Javier González) diff --git a/emukit/examples/preferential_batch_bayesian_optimization/__init__.py b/emukit/examples/preferential_batch_bayesian_optimization/__init__.py index 8b137891..f1e7d21e 100644 --- a/emukit/examples/preferential_batch_bayesian_optimization/__init__.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/__init__.py @@ -1 +1,2 @@ - +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/preferential_batch_bayesian_optimization/minimum_working_example.py b/emukit/examples/preferential_batch_bayesian_optimization/minimum_working_example.py index 7b4a00d9..060528d7 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/minimum_working_example.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/minimum_working_example.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import evalset.test_funcs import GPy from pbbo import * diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/__init__.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/__init__.py index 31cf9349..4d426756 100644 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/__init__.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # from .bayesian_optimization import * from .acquisitions import * from .bayesian_optimization import * diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/__init__.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/__init__.py index 13e0622c..82505c19 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/__init__.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .acquisition_function import * from .expectation_acquisition import * from .thompson_sampling_acquisition import * diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/acquisition_function.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/acquisition_function.py index 484cc11c..18755333 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/acquisition_function.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/acquisition_function.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Callable, Dict, Optional, Tuple import numpy as np diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/expectation_acquisition.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/expectation_acquisition.py index 066f94be..a0742df2 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/expectation_acquisition.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/expectation_acquisition.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import collections import math import time diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/thompson_sampling_acquisition.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/thompson_sampling_acquisition.py index f9fc95c4..bef4a1a5 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/thompson_sampling_acquisition.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/thompson_sampling_acquisition.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import collections import time from typing import Callable, Dict, List, Tuple diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/bayesian_optimization.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/bayesian_optimization.py index 0133512e..d22097b7 100644 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/bayesian_optimization.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/bayesian_optimization.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging import math from functools import partial diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/gp_models.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/gp_models.py index 04be9938..1f51330e 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/gp_models.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/gp_models.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import itertools import os import traceback diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/__init__.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/__init__.py index 4ae9d105..acc3e7ba 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/__init__.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .ep_batch_comparison import * from .mcmc_batch_comparison import * from .vi_batch_comparison import * diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/ep_batch_comparison.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/ep_batch_comparison.py index 0217e03f..9818e552 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/ep_batch_comparison.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/ep_batch_comparison.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import time from typing import Callable, Dict, List, Tuple diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/mcmc_batch_comparison.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/mcmc_batch_comparison.py index 56a75e4a..5b8087d4 100644 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/mcmc_batch_comparison.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/mcmc_batch_comparison.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import itertools import os import sys diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/vi_batch_comparison.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/vi_batch_comparison.py index e5819e6d..80d76936 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/vi_batch_comparison.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/inferences/vi_batch_comparison.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Callable, Dict, List, Tuple import GPy diff --git a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/util.py b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/util.py index 9edaca88..40c5a5a6 100755 --- a/emukit/examples/preferential_batch_bayesian_optimization/pbbo/util.py +++ b/emukit/examples/preferential_batch_bayesian_optimization/pbbo/util.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import logging from typing import Callable, Dict, List, Tuple diff --git a/emukit/examples/profet/__init__.py b/emukit/examples/profet/__init__.py index e69de29b..a63c77b7 100644 --- a/emukit/examples/profet/__init__.py +++ b/emukit/examples/profet/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/profet/meta_benchmarks/__init__.py b/emukit/examples/profet/meta_benchmarks/__init__.py index 873e664f..4e34c444 100644 --- a/emukit/examples/profet/meta_benchmarks/__init__.py +++ b/emukit/examples/profet/meta_benchmarks/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .meta_fcnet import meta_fcnet from .meta_forrester import meta_forrester from .meta_svm import meta_svm diff --git a/emukit/examples/profet/meta_benchmarks/architecture.py b/emukit/examples/profet/meta_benchmarks/architecture.py index 9bcce375..95102b8e 100644 --- a/emukit/examples/profet/meta_benchmarks/architecture.py +++ b/emukit/examples/profet/meta_benchmarks/architecture.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + try: import torch import torch.nn as nn diff --git a/emukit/examples/profet/meta_benchmarks/meta_fcnet.py b/emukit/examples/profet/meta_benchmarks/meta_fcnet.py index 85841ce3..287288d6 100644 --- a/emukit/examples/profet/meta_benchmarks/meta_fcnet.py +++ b/emukit/examples/profet/meta_benchmarks/meta_fcnet.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import pickle try: diff --git a/emukit/examples/profet/meta_benchmarks/meta_forrester.py b/emukit/examples/profet/meta_benchmarks/meta_forrester.py index 1ab2722a..905b5efe 100644 --- a/emukit/examples/profet/meta_benchmarks/meta_forrester.py +++ b/emukit/examples/profet/meta_benchmarks/meta_forrester.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import pickle from functools import partial from typing import Tuple diff --git a/emukit/examples/profet/meta_benchmarks/meta_surrogates.py b/emukit/examples/profet/meta_benchmarks/meta_surrogates.py index 94ceb257..84e50788 100644 --- a/emukit/examples/profet/meta_benchmarks/meta_surrogates.py +++ b/emukit/examples/profet/meta_benchmarks/meta_surrogates.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import torch diff --git a/emukit/examples/profet/meta_benchmarks/meta_svm.py b/emukit/examples/profet/meta_benchmarks/meta_svm.py index 85858650..36fa8049 100644 --- a/emukit/examples/profet/meta_benchmarks/meta_svm.py +++ b/emukit/examples/profet/meta_benchmarks/meta_svm.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import pickle try: diff --git a/emukit/examples/profet/meta_benchmarks/meta_xgboost.py b/emukit/examples/profet/meta_benchmarks/meta_xgboost.py index 275a5304..b1e4b7be 100644 --- a/emukit/examples/profet/meta_benchmarks/meta_xgboost.py +++ b/emukit/examples/profet/meta_benchmarks/meta_xgboost.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import pickle try: diff --git a/emukit/examples/profet/performance_assessment.py b/emukit/examples/profet/performance_assessment.py index 65eaa5b7..9ad0c797 100644 --- a/emukit/examples/profet/performance_assessment.py +++ b/emukit/examples/profet/performance_assessment.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import scipy.stats as stats diff --git a/emukit/examples/profet/train_meta_model.py b/emukit/examples/profet/train_meta_model.py index 86a85c2a..2623f6ca 100644 --- a/emukit/examples/profet/train_meta_model.py +++ b/emukit/examples/profet/train_meta_model.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import argparse import functools import json diff --git a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/__init__.py b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/__init__.py index 58288358..8fe7601a 100644 --- a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/__init__.py +++ b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/base_models.py b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/base_models.py index 98b99f80..ec847342 100644 --- a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/base_models.py +++ b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/base_models.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_analysis.py b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_analysis.py index 25aeb5d7..3243c65a 100644 --- a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_analysis.py +++ b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_analysis.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_base.py b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_base.py index 9c8136f4..bbbb2498 100644 --- a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_base.py +++ b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/gillespie_base.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/seir_gillespie.py b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/seir_gillespie.py index 4dc0f8be..43563540 100644 --- a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/seir_gillespie.py +++ b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/seir_gillespie.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/sir_gillespie.py b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/sir_gillespie.py index 0e7cc191..20e80a4f 100644 --- a/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/sir_gillespie.py +++ b/emukit/examples/spread_of_disease-with_seir_model/Emukit_task_seir_model/sir_gillespie.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/vanilla_bayesian_quadrature_with_rbf/__init__.py b/emukit/examples/vanilla_bayesian_quadrature_with_rbf/__init__.py index ceb2dd74..a63c77b7 100644 --- a/emukit/examples/vanilla_bayesian_quadrature_with_rbf/__init__.py +++ b/emukit/examples/vanilla_bayesian_quadrature_with_rbf/__init__.py @@ -1,2 +1,5 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/examples/vanilla_bayesian_quadrature_with_rbf/vanilla_bq_loop_with_rbf.py b/emukit/examples/vanilla_bayesian_quadrature_with_rbf/vanilla_bq_loop_with_rbf.py index 7c22627c..4ac1713f 100644 --- a/emukit/examples/vanilla_bayesian_quadrature_with_rbf/vanilla_bq_loop_with_rbf.py +++ b/emukit/examples/vanilla_bayesian_quadrature_with_rbf/vanilla_bq_loop_with_rbf.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/experimental_design/__init__.py b/emukit/experimental_design/__init__.py index 11a72e26..d07e432f 100644 --- a/emukit/experimental_design/__init__.py +++ b/emukit/experimental_design/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/experimental_design/acquisitions/__init__.py b/emukit/experimental_design/acquisitions/__init__.py index 12e06a57..f9c7d457 100644 --- a/emukit/experimental_design/acquisitions/__init__.py +++ b/emukit/experimental_design/acquisitions/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/experimental_design/acquisitions/integrated_variance.py b/emukit/experimental_design/acquisitions/integrated_variance.py index 5b08951b..d847da2f 100644 --- a/emukit/experimental_design/acquisitions/integrated_variance.py +++ b/emukit/experimental_design/acquisitions/integrated_variance.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/experimental_design/acquisitions/model_variance.py b/emukit/experimental_design/acquisitions/model_variance.py index 1b660ce3..c18a4bad 100644 --- a/emukit/experimental_design/acquisitions/model_variance.py +++ b/emukit/experimental_design/acquisitions/model_variance.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/experimental_design/experimental_design_loop.py b/emukit/experimental_design/experimental_design_loop.py index 1f31ca6f..d7f03052 100644 --- a/emukit/experimental_design/experimental_design_loop.py +++ b/emukit/experimental_design/experimental_design_loop.py @@ -1,5 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from ..core.acquisition import Acquisition from ..core.interfaces.models import IModel from ..core.loop import FixedIntervalUpdater, OuterLoop, SequentialPointCalculator diff --git a/emukit/experimental_design/interfaces/__init__.py b/emukit/experimental_design/interfaces/__init__.py index 3791421e..d95b0462 100644 --- a/emukit/experimental_design/interfaces/__init__.py +++ b/emukit/experimental_design/interfaces/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/experimental_design/interfaces/models.py b/emukit/experimental_design/interfaces/models.py index 4afbda05..7a7a0ee6 100644 --- a/emukit/experimental_design/interfaces/models.py +++ b/emukit/experimental_design/interfaces/models.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/model_wrappers/__init__.py b/emukit/model_wrappers/__init__.py index d65e19c9..e3478247 100644 --- a/emukit/model_wrappers/__init__.py +++ b/emukit/model_wrappers/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/model_wrappers/gpy_model_wrappers.py b/emukit/model_wrappers/gpy_model_wrappers.py index b85580c3..0b1b7413 100644 --- a/emukit/model_wrappers/gpy_model_wrappers.py +++ b/emukit/model_wrappers/gpy_model_wrappers.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/model_wrappers/gpy_quadrature_wrappers.py b/emukit/model_wrappers/gpy_quadrature_wrappers.py index 151053f3..86c6d5e9 100644 --- a/emukit/model_wrappers/gpy_quadrature_wrappers.py +++ b/emukit/model_wrappers/gpy_quadrature_wrappers.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """GPy wrappers for the quadrature package.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/model_wrappers/simple_gp_model.py b/emukit/model_wrappers/simple_gp_model.py index cb289690..0faf1a53 100644 --- a/emukit/model_wrappers/simple_gp_model.py +++ b/emukit/model_wrappers/simple_gp_model.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/model_wrappers/sklearn_model_wrapper.py b/emukit/model_wrappers/sklearn_model_wrapper.py index dbf0fce9..fc77fcb9 100644 --- a/emukit/model_wrappers/sklearn_model_wrapper.py +++ b/emukit/model_wrappers/sklearn_model_wrapper.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/multi_fidelity/__init__.py b/emukit/multi_fidelity/__init__.py index a834814c..1e6279e0 100644 --- a/emukit/multi_fidelity/__init__.py +++ b/emukit/multi_fidelity/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/multi_fidelity/convert_lists_to_array.py b/emukit/multi_fidelity/convert_lists_to_array.py index f1db65c6..54863349 100644 --- a/emukit/multi_fidelity/convert_lists_to_array.py +++ b/emukit/multi_fidelity/convert_lists_to_array.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/multi_fidelity/kernels/__init__.py b/emukit/multi_fidelity/kernels/__init__.py index e157bc99..96cf8d60 100644 --- a/emukit/multi_fidelity/kernels/__init__.py +++ b/emukit/multi_fidelity/kernels/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/multi_fidelity/kernels/linear_multi_fidelity_kernel.py b/emukit/multi_fidelity/kernels/linear_multi_fidelity_kernel.py index 00b07522..f49093d6 100644 --- a/emukit/multi_fidelity/kernels/linear_multi_fidelity_kernel.py +++ b/emukit/multi_fidelity/kernels/linear_multi_fidelity_kernel.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/multi_fidelity/models/__init__.py b/emukit/multi_fidelity/models/__init__.py index c0dcf83d..a70db734 100644 --- a/emukit/multi_fidelity/models/__init__.py +++ b/emukit/multi_fidelity/models/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/multi_fidelity/models/linear_model.py b/emukit/multi_fidelity/models/linear_model.py index 657f8417..4d8071bd 100644 --- a/emukit/multi_fidelity/models/linear_model.py +++ b/emukit/multi_fidelity/models/linear_model.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/multi_fidelity/models/non_linear_multi_fidelity_model.py b/emukit/multi_fidelity/models/non_linear_multi_fidelity_model.py index 59c202d6..3c328d39 100644 --- a/emukit/multi_fidelity/models/non_linear_multi_fidelity_model.py +++ b/emukit/multi_fidelity/models/non_linear_multi_fidelity_model.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/__init__.py b/emukit/quadrature/__init__.py index 170b2869..44c063d8 100644 --- a/emukit/quadrature/__init__.py +++ b/emukit/quadrature/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """This package contains solvers for numerical integration.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/acquisitions/__init__.py b/emukit/quadrature/acquisitions/__init__.py index 792ae37d..0dc0c84f 100644 --- a/emukit/quadrature/acquisitions/__init__.py +++ b/emukit/quadrature/acquisitions/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Acquisition functions for the quadrature package.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/acquisitions/mutual_information.py b/emukit/quadrature/acquisitions/mutual_information.py index 2b2ebdfc..bbe6ba89 100644 --- a/emukit/quadrature/acquisitions/mutual_information.py +++ b/emukit/quadrature/acquisitions/mutual_information.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/acquisitions/squared_correlation.py b/emukit/quadrature/acquisitions/squared_correlation.py index f84fc890..ec5a939a 100644 --- a/emukit/quadrature/acquisitions/squared_correlation.py +++ b/emukit/quadrature/acquisitions/squared_correlation.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/acquisitions/uncertainty_sampling.py b/emukit/quadrature/acquisitions/uncertainty_sampling.py index 1ba19c69..455820d8 100644 --- a/emukit/quadrature/acquisitions/uncertainty_sampling.py +++ b/emukit/quadrature/acquisitions/uncertainty_sampling.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/interfaces/__init__.py b/emukit/quadrature/interfaces/__init__.py index b92d6a36..1c9ad361 100644 --- a/emukit/quadrature/interfaces/__init__.py +++ b/emukit/quadrature/interfaces/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Interfaces for the quadrature package.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/interfaces/base_gp.py b/emukit/quadrature/interfaces/base_gp.py index 45b2259e..09bcc6dc 100644 --- a/emukit/quadrature/interfaces/base_gp.py +++ b/emukit/quadrature/interfaces/base_gp.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/interfaces/standard_kernels.py b/emukit/quadrature/interfaces/standard_kernels.py index acbd576c..7dbe121c 100644 --- a/emukit/quadrature/interfaces/standard_kernels.py +++ b/emukit/quadrature/interfaces/standard_kernels.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/kernels/__init__.py b/emukit/quadrature/kernels/__init__.py index 9ba5198a..3ff60fc7 100644 --- a/emukit/quadrature/kernels/__init__.py +++ b/emukit/quadrature/kernels/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Kernel embeddings for Bayesian quadrature.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/kernels/quadrature_brownian.py b/emukit/quadrature/kernels/quadrature_brownian.py index 3b628ba1..c56d2bf3 100644 --- a/emukit/quadrature/kernels/quadrature_brownian.py +++ b/emukit/quadrature/kernels/quadrature_brownian.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The Brownian motion kernel embeddings.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/kernels/quadrature_kernels.py b/emukit/quadrature/kernels/quadrature_kernels.py index a3a4db33..c9f97ee3 100644 --- a/emukit/quadrature/kernels/quadrature_kernels.py +++ b/emukit/quadrature/kernels/quadrature_kernels.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Base class for kernel embeddings.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/kernels/quadrature_matern12.py b/emukit/quadrature/kernels/quadrature_matern12.py index a280f869..29d028b5 100644 --- a/emukit/quadrature/kernels/quadrature_matern12.py +++ b/emukit/quadrature/kernels/quadrature_matern12.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The product Matern12 kernel embeddings.""" from typing import Union diff --git a/emukit/quadrature/kernels/quadrature_matern32.py b/emukit/quadrature/kernels/quadrature_matern32.py index b970c531..a27483c0 100644 --- a/emukit/quadrature/kernels/quadrature_matern32.py +++ b/emukit/quadrature/kernels/quadrature_matern32.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The product Matern32 kernel embeddings.""" from typing import Union diff --git a/emukit/quadrature/kernels/quadrature_matern52.py b/emukit/quadrature/kernels/quadrature_matern52.py index 552da493..1d9b33e7 100644 --- a/emukit/quadrature/kernels/quadrature_matern52.py +++ b/emukit/quadrature/kernels/quadrature_matern52.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The product Matern52 kernel embeddings.""" from typing import Union diff --git a/emukit/quadrature/kernels/quadrature_rbf.py b/emukit/quadrature/kernels/quadrature_rbf.py index 12f3569c..0405df82 100644 --- a/emukit/quadrature/kernels/quadrature_rbf.py +++ b/emukit/quadrature/kernels/quadrature_rbf.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The RBF kernel embeddings.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/loop/__init__.py b/emukit/quadrature/loop/__init__.py index 674d6c3d..ef650520 100644 --- a/emukit/quadrature/loop/__init__.py +++ b/emukit/quadrature/loop/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Loops for Bayesian quadrature.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/loop/bayesian_monte_carlo_loop.py b/emukit/quadrature/loop/bayesian_monte_carlo_loop.py index 024e7b6e..289461a6 100644 --- a/emukit/quadrature/loop/bayesian_monte_carlo_loop.py +++ b/emukit/quadrature/loop/bayesian_monte_carlo_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/loop/point_calculators/__init__.py b/emukit/quadrature/loop/point_calculators/__init__.py index dabe092c..5d7ce176 100644 --- a/emukit/quadrature/loop/point_calculators/__init__.py +++ b/emukit/quadrature/loop/point_calculators/__init__.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Point calculators for Bayesian quadrature.""" from .quadrature_point_calculators import BayesianMonteCarloPointCalculator diff --git a/emukit/quadrature/loop/point_calculators/quadrature_point_calculators.py b/emukit/quadrature/loop/point_calculators/quadrature_point_calculators.py index b8c1e5d5..10301c22 100644 --- a/emukit/quadrature/loop/point_calculators/quadrature_point_calculators.py +++ b/emukit/quadrature/loop/point_calculators/quadrature_point_calculators.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/loop/vanilla_bq_loop.py b/emukit/quadrature/loop/vanilla_bq_loop.py index 38802b3c..743a3a18 100644 --- a/emukit/quadrature/loop/vanilla_bq_loop.py +++ b/emukit/quadrature/loop/vanilla_bq_loop.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from ...core.acquisition import Acquisition from ...core.loop import FixedIntervalUpdater, ModelUpdater, OuterLoop, SequentialPointCalculator from ...core.loop.loop_state import create_loop_state diff --git a/emukit/quadrature/loop/wsabil_loop.py b/emukit/quadrature/loop/wsabil_loop.py index b04d1dca..16dbed36 100644 --- a/emukit/quadrature/loop/wsabil_loop.py +++ b/emukit/quadrature/loop/wsabil_loop.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The WSABI-L loop""" diff --git a/emukit/quadrature/measures/__init__.py b/emukit/quadrature/measures/__init__.py index d7b629bf..2e4ab301 100644 --- a/emukit/quadrature/measures/__init__.py +++ b/emukit/quadrature/measures/__init__.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Integration measures.""" from .domain import BoxDomain diff --git a/emukit/quadrature/measures/domain.py b/emukit/quadrature/measures/domain.py index be3034f3..427358dc 100644 --- a/emukit/quadrature/measures/domain.py +++ b/emukit/quadrature/measures/domain.py @@ -1,4 +1,4 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/measures/gaussian_measure.py b/emukit/quadrature/measures/gaussian_measure.py index c4a6856f..b30dad32 100644 --- a/emukit/quadrature/measures/gaussian_measure.py +++ b/emukit/quadrature/measures/gaussian_measure.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The Gaussian measure.""" from typing import Union diff --git a/emukit/quadrature/measures/integration_measure.py b/emukit/quadrature/measures/integration_measure.py index 6f22e3c3..6585a539 100644 --- a/emukit/quadrature/measures/integration_measure.py +++ b/emukit/quadrature/measures/integration_measure.py @@ -1,4 +1,4 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/measures/lebesgue_measure.py b/emukit/quadrature/measures/lebesgue_measure.py index 2b1ac592..90b2c046 100644 --- a/emukit/quadrature/measures/lebesgue_measure.py +++ b/emukit/quadrature/measures/lebesgue_measure.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The Lebesgue measure.""" import numpy as np diff --git a/emukit/quadrature/methods/__init__.py b/emukit/quadrature/methods/__init__.py index 3df7266a..75bb30f0 100644 --- a/emukit/quadrature/methods/__init__.py +++ b/emukit/quadrature/methods/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Bayesian quadrature models.""" # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/emukit/quadrature/methods/bounded_bq_model.py b/emukit/quadrature/methods/bounded_bq_model.py index a9acb4d5..6c68f05d 100644 --- a/emukit/quadrature/methods/bounded_bq_model.py +++ b/emukit/quadrature/methods/bounded_bq_model.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """The bounded Bayesian quadrature model is with square-root warping.""" from typing import Optional, Tuple diff --git a/emukit/quadrature/methods/vanilla_bq.py b/emukit/quadrature/methods/vanilla_bq.py index f1d95e38..2c2691c7 100644 --- a/emukit/quadrature/methods/vanilla_bq.py +++ b/emukit/quadrature/methods/vanilla_bq.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/methods/warped_bq_model.py b/emukit/quadrature/methods/warped_bq_model.py index 660bc8bd..bbb3eefb 100644 --- a/emukit/quadrature/methods/warped_bq_model.py +++ b/emukit/quadrature/methods/warped_bq_model.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/quadrature/methods/warpings.py b/emukit/quadrature/methods/warpings.py index 9ffb5cf7..4970bdcd 100644 --- a/emukit/quadrature/methods/warpings.py +++ b/emukit/quadrature/methods/warpings.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Warpings as used by warped Bayesian quadrature models.""" import abc diff --git a/emukit/quadrature/methods/wsabi.py b/emukit/quadrature/methods/wsabi.py index ce52f457..7b2052f9 100644 --- a/emukit/quadrature/methods/wsabi.py +++ b/emukit/quadrature/methods/wsabi.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """WSABI model as in Gunter et al. 2014""" diff --git a/emukit/quadrature/typing.py b/emukit/quadrature/typing.py index 65c983a0..ffea62b6 100644 --- a/emukit/quadrature/typing.py +++ b/emukit/quadrature/typing.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Types for the quadrature package.""" from typing import List, Tuple diff --git a/emukit/samplers/__init__.py b/emukit/samplers/__init__.py index 42b51150..7d99e073 100644 --- a/emukit/samplers/__init__.py +++ b/emukit/samplers/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/samplers/mcmc_sampler.py b/emukit/samplers/mcmc_sampler.py index d78d4d11..5046a95c 100644 --- a/emukit/samplers/mcmc_sampler.py +++ b/emukit/samplers/mcmc_sampler.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/sensitivity/__init__.py b/emukit/sensitivity/__init__.py index ceb2dd74..a63c77b7 100644 --- a/emukit/sensitivity/__init__.py +++ b/emukit/sensitivity/__init__.py @@ -1,2 +1,5 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/sensitivity/monte_carlo/__init__.py b/emukit/sensitivity/monte_carlo/__init__.py index 7155c845..79975c8f 100644 --- a/emukit/sensitivity/monte_carlo/__init__.py +++ b/emukit/sensitivity/monte_carlo/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/sensitivity/monte_carlo/monte_carlo_sensitivity.py b/emukit/sensitivity/monte_carlo/monte_carlo_sensitivity.py index d5634a95..2c0ae664 100644 --- a/emukit/sensitivity/monte_carlo/monte_carlo_sensitivity.py +++ b/emukit/sensitivity/monte_carlo/monte_carlo_sensitivity.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/__init__.py b/emukit/test_functions/__init__.py index c9302258..6ebd4aff 100644 --- a/emukit/test_functions/__init__.py +++ b/emukit/test_functions/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/branin.py b/emukit/test_functions/branin.py index a6b5c5c0..052fd187 100644 --- a/emukit/test_functions/branin.py +++ b/emukit/test_functions/branin.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/forrester.py b/emukit/test_functions/forrester.py index 798e8a7d..68d898eb 100644 --- a/emukit/test_functions/forrester.py +++ b/emukit/test_functions/forrester.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/multi_fidelity/__init__.py b/emukit/test_functions/multi_fidelity/__init__.py index 1518a4bb..4a345f49 100644 --- a/emukit/test_functions/multi_fidelity/__init__.py +++ b/emukit/test_functions/multi_fidelity/__init__.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from .borehole import multi_fidelity_borehole_function # noqa: F401 from .branin import multi_fidelity_branin_function # noqa: F401 from .currin import multi_fidelity_currin_function # noqa: F401 diff --git a/emukit/test_functions/multi_fidelity/borehole.py b/emukit/test_functions/multi_fidelity/borehole.py index 5f130bcf..f6144a55 100644 --- a/emukit/test_functions/multi_fidelity/borehole.py +++ b/emukit/test_functions/multi_fidelity/borehole.py @@ -1,5 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/test_functions/multi_fidelity/branin.py b/emukit/test_functions/multi_fidelity/branin.py index 1197d9da..7413f71c 100644 --- a/emukit/test_functions/multi_fidelity/branin.py +++ b/emukit/test_functions/multi_fidelity/branin.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/test_functions/multi_fidelity/currin.py b/emukit/test_functions/multi_fidelity/currin.py index a36cf327..d60ddda2 100644 --- a/emukit/test_functions/multi_fidelity/currin.py +++ b/emukit/test_functions/multi_fidelity/currin.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/test_functions/multi_fidelity/hartmann.py b/emukit/test_functions/multi_fidelity/hartmann.py index 6b8ff98b..8d3de8a6 100644 --- a/emukit/test_functions/multi_fidelity/hartmann.py +++ b/emukit/test_functions/multi_fidelity/hartmann.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/test_functions/multi_fidelity/park.py b/emukit/test_functions/multi_fidelity/park.py index d1450410..5179c972 100644 --- a/emukit/test_functions/multi_fidelity/park.py +++ b/emukit/test_functions/multi_fidelity/park.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from typing import Tuple import numpy as np diff --git a/emukit/test_functions/non_linear_sin.py b/emukit/test_functions/non_linear_sin.py index 5698df4e..33edb6a0 100644 --- a/emukit/test_functions/non_linear_sin.py +++ b/emukit/test_functions/non_linear_sin.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.core import ContinuousParameter, InformationSourceParameter, ParameterSpace diff --git a/emukit/test_functions/quadrature/__init__.py b/emukit/test_functions/quadrature/__init__.py index 2f4b0c2f..7b7f730c 100644 --- a/emukit/test_functions/quadrature/__init__.py +++ b/emukit/test_functions/quadrature/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/quadrature/baselines.py b/emukit/test_functions/quadrature/baselines.py index d25461e9..fddeb679 100644 --- a/emukit/test_functions/quadrature/baselines.py +++ b/emukit/test_functions/quadrature/baselines.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/quadrature/circular_gaussian.py b/emukit/test_functions/quadrature/circular_gaussian.py index 3974f4de..d3fe425d 100644 --- a/emukit/test_functions/quadrature/circular_gaussian.py +++ b/emukit/test_functions/quadrature/circular_gaussian.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/quadrature/hennig1D.py b/emukit/test_functions/quadrature/hennig1D.py index aed79d87..9ba300b4 100644 --- a/emukit/test_functions/quadrature/hennig1D.py +++ b/emukit/test_functions/quadrature/hennig1D.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/quadrature/hennig2D.py b/emukit/test_functions/quadrature/hennig2D.py index 81547274..89eb613d 100644 --- a/emukit/test_functions/quadrature/hennig2D.py +++ b/emukit/test_functions/quadrature/hennig2D.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/quadrature/sombrero2D.py b/emukit/test_functions/quadrature/sombrero2D.py index bcb83929..c73fce54 100644 --- a/emukit/test_functions/quadrature/sombrero2D.py +++ b/emukit/test_functions/quadrature/sombrero2D.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/sensitivity/__init__.py b/emukit/test_functions/sensitivity/__init__.py index b14fe8de..50a40237 100644 --- a/emukit/test_functions/sensitivity/__init__.py +++ b/emukit/test_functions/sensitivity/__init__.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/sensitivity/ishigami.py b/emukit/test_functions/sensitivity/ishigami.py index 243a1e12..668341b8 100644 --- a/emukit/test_functions/sensitivity/ishigami.py +++ b/emukit/test_functions/sensitivity/ishigami.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/emukit/test_functions/sixhumpcamel.py b/emukit/test_functions/sixhumpcamel.py index 577e2148..0c525b58 100644 --- a/emukit/test_functions/sixhumpcamel.py +++ b/emukit/test_functions/sixhumpcamel.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/integration_tests/emukit/bayesian_optimization/test_constrained_loop.py b/integration_tests/emukit/bayesian_optimization/test_constrained_loop.py index 93b7cbce..7edc11a1 100644 --- a/integration_tests/emukit/bayesian_optimization/test_constrained_loop.py +++ b/integration_tests/emukit/bayesian_optimization/test_constrained_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np diff --git a/integration_tests/emukit/bayesian_optimization/test_create_bayesian_optimization_loop.py b/integration_tests/emukit/bayesian_optimization/test_create_bayesian_optimization_loop.py index a0c1b047..4f5bf6d1 100644 --- a/integration_tests/emukit/bayesian_optimization/test_create_bayesian_optimization_loop.py +++ b/integration_tests/emukit/bayesian_optimization/test_create_bayesian_optimization_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.examples.gp_bayesian_optimization.enums import AcquisitionType, ModelType diff --git a/integration_tests/emukit/bayesian_optimization/test_local_penalization_loop.py b/integration_tests/emukit/bayesian_optimization/test_local_penalization_loop.py index 7d64933f..a944f72a 100644 --- a/integration_tests/emukit/bayesian_optimization/test_local_penalization_loop.py +++ b/integration_tests/emukit/bayesian_optimization/test_local_penalization_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np diff --git a/integration_tests/emukit/bayesian_optimization/test_optimization_with_categorical_variables.py b/integration_tests/emukit/bayesian_optimization/test_optimization_with_categorical_variables.py index 5888eed2..5199d3cf 100644 --- a/integration_tests/emukit/bayesian_optimization/test_optimization_with_categorical_variables.py +++ b/integration_tests/emukit/bayesian_optimization/test_optimization_with_categorical_variables.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np diff --git a/integration_tests/emukit/bayesian_optimization/test_single_objective_bayesian_optimization.py b/integration_tests/emukit/bayesian_optimization/test_single_objective_bayesian_optimization.py index 8a2d12b5..d1b125dd 100644 --- a/integration_tests/emukit/bayesian_optimization/test_single_objective_bayesian_optimization.py +++ b/integration_tests/emukit/bayesian_optimization/test_single_objective_bayesian_optimization.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.core.continuous_parameter import ContinuousParameter diff --git a/integration_tests/emukit/bayesian_optimization/test_unknown_constraints_bayesian_optimization.py b/integration_tests/emukit/bayesian_optimization/test_unknown_constraints_bayesian_optimization.py index adfac32a..f7bbed44 100644 --- a/integration_tests/emukit/bayesian_optimization/test_unknown_constraints_bayesian_optimization.py +++ b/integration_tests/emukit/bayesian_optimization/test_unknown_constraints_bayesian_optimization.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.core.continuous_parameter import ContinuousParameter diff --git a/integration_tests/emukit/benchmarking/test_benchmarker.py b/integration_tests/emukit/benchmarking/test_benchmarker.py index 77d2e675..62445364 100644 --- a/integration_tests/emukit/benchmarking/test_benchmarker.py +++ b/integration_tests/emukit/benchmarking/test_benchmarker.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np import pytest diff --git a/integration_tests/emukit/experimental_design/test_experimental_design_with_categorical.py b/integration_tests/emukit/experimental_design/test_experimental_design_with_categorical.py index 49bf3f57..e4b3a1e4 100644 --- a/integration_tests/emukit/experimental_design/test_experimental_design_with_categorical.py +++ b/integration_tests/emukit/experimental_design/test_experimental_design_with_categorical.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np diff --git a/integration_tests/emukit/experimental_design/test_multi_source_experimental_design.py b/integration_tests/emukit/experimental_design/test_multi_source_experimental_design.py index 3a18d985..35b48dcc 100644 --- a/integration_tests/emukit/experimental_design/test_multi_source_experimental_design.py +++ b/integration_tests/emukit/experimental_design/test_multi_source_experimental_design.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np diff --git a/integration_tests/emukit/fabolas/__init__.py b/integration_tests/emukit/fabolas/__init__.py index e69de29b..a63c77b7 100644 --- a/integration_tests/emukit/fabolas/__init__.py +++ b/integration_tests/emukit/fabolas/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/integration_tests/emukit/fabolas/test_continuous_entropy_search.py b/integration_tests/emukit/fabolas/test_continuous_entropy_search.py index fa9d8b5a..6e9340cf 100644 --- a/integration_tests/emukit/fabolas/test_continuous_entropy_search.py +++ b/integration_tests/emukit/fabolas/test_continuous_entropy_search.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.core import ContinuousParameter, ParameterSpace diff --git a/integration_tests/emukit/fabolas/test_fabolas_model.py b/integration_tests/emukit/fabolas/test_fabolas_model.py index 38534c83..3c0b32cd 100644 --- a/integration_tests/emukit/fabolas/test_fabolas_model.py +++ b/integration_tests/emukit/fabolas/test_fabolas_model.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/integration_tests/emukit/models/test_bohamiann.py b/integration_tests/emukit/models/test_bohamiann.py index 5db9eb0c..6305fd4a 100644 --- a/integration_tests/emukit/models/test_bohamiann.py +++ b/integration_tests/emukit/models/test_bohamiann.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/integration_tests/emukit/models/test_random_forest.py b/integration_tests/emukit/models/test_random_forest.py index 0bdba460..4c8fbd18 100644 --- a/integration_tests/emukit/models/test_random_forest.py +++ b/integration_tests/emukit/models/test_random_forest.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/integration_tests/emukit/models/test_sklearn_model_wrapper.py b/integration_tests/emukit/models/test_sklearn_model_wrapper.py index 36cece8f..954bbe2f 100644 --- a/integration_tests/emukit/models/test_sklearn_model_wrapper.py +++ b/integration_tests/emukit/models/test_sklearn_model_wrapper.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest from sklearn.gaussian_process import GaussianProcessRegressor diff --git a/integration_tests/emukit/notebooks/test_notebooks.py b/integration_tests/emukit/notebooks/test_notebooks.py index 00e58dcd..a6d43b70 100644 --- a/integration_tests/emukit/notebooks/test_notebooks.py +++ b/integration_tests/emukit/notebooks/test_notebooks.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # These are notebooks that take too long to run so are not tested here # The parallel evel notebook is too flaky and often fails the builds for no reason excluded_notebooks = ['Emukit-tutorial-multi-fidelity-bayesian-optimization.ipynb', diff --git a/integration_tests/emukit/profet/__init__.py b/integration_tests/emukit/profet/__init__.py index e69de29b..a63c77b7 100644 --- a/integration_tests/emukit/profet/__init__.py +++ b/integration_tests/emukit/profet/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/integration_tests/emukit/profet/test_performance_assessment.py b/integration_tests/emukit/profet/test_performance_assessment.py index 2a9f5f44..4965600b 100644 --- a/integration_tests/emukit/profet/test_performance_assessment.py +++ b/integration_tests/emukit/profet/test_performance_assessment.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.examples.profet.performance_assessment import compute_ecdf, compute_ranks, compute_runtime_feval diff --git a/integration_tests/emukit/quadrature/test_bayesian_monte_carlo_loop.py b/integration_tests/emukit/quadrature/test_bayesian_monte_carlo_loop.py index 6aab7bfa..99d5e226 100644 --- a/integration_tests/emukit/quadrature/test_bayesian_monte_carlo_loop.py +++ b/integration_tests/emukit/quadrature/test_bayesian_monte_carlo_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/integration_tests/emukit/quadrature/test_vanilla_bq_loop.py b/integration_tests/emukit/quadrature/test_vanilla_bq_loop.py index f6e06a15..97eb18db 100644 --- a/integration_tests/emukit/quadrature/test_vanilla_bq_loop.py +++ b/integration_tests/emukit/quadrature/test_vanilla_bq_loop.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/integration_tests/emukit/quadrature/test_wsabil_loop.py b/integration_tests/emukit/quadrature/test_wsabil_loop.py index 5188d92f..9f2772e3 100644 --- a/integration_tests/emukit/quadrature/test_wsabil_loop.py +++ b/integration_tests/emukit/quadrature/test_wsabil_loop.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np import pytest diff --git a/setup.py b/setup.py index 0672880e..b1ef58d2 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,9 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"). -# You may not use this file except in compliance with the License. -# A copy of the License is located at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# or in the "license" file accompanying this file. This file 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. -# ============================================================================== +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + import sys diff --git a/tests/emukit/bayesian_optimization/__init__.py b/tests/emukit/bayesian_optimization/__init__.py index e69de29b..a63c77b7 100644 --- a/tests/emukit/bayesian_optimization/__init__.py +++ b/tests/emukit/bayesian_optimization/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/bayesian_optimization/test_bayesian_optimization_loop.py b/tests/emukit/bayesian_optimization/test_bayesian_optimization_loop.py index ca4eb018..79a465e9 100644 --- a/tests/emukit/bayesian_optimization/test_bayesian_optimization_loop.py +++ b/tests/emukit/bayesian_optimization/test_bayesian_optimization_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import mock import numpy as np diff --git a/tests/emukit/bayesian_optimization/test_constrained_loop.py b/tests/emukit/bayesian_optimization/test_constrained_loop.py index 0868c789..b384a93a 100644 --- a/tests/emukit/bayesian_optimization/test_constrained_loop.py +++ b/tests/emukit/bayesian_optimization/test_constrained_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np diff --git a/tests/emukit/bayesian_optimization/test_cost_sensitive_bayesian_optimization.py b/tests/emukit/bayesian_optimization/test_cost_sensitive_bayesian_optimization.py index 026e7eed..05618d43 100644 --- a/tests/emukit/bayesian_optimization/test_cost_sensitive_bayesian_optimization.py +++ b/tests/emukit/bayesian_optimization/test_cost_sensitive_bayesian_optimization.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np diff --git a/tests/emukit/bayesian_optimization/test_entropy_search.py b/tests/emukit/bayesian_optimization/test_entropy_search.py index 8c29003e..620d3864 100644 --- a/tests/emukit/bayesian_optimization/test_entropy_search.py +++ b/tests/emukit/bayesian_optimization/test_entropy_search.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/bayesian_optimization/test_epmgp.py b/tests/emukit/bayesian_optimization/test_epmgp.py index 7c68b0a2..65531179 100644 --- a/tests/emukit/bayesian_optimization/test_epmgp.py +++ b/tests/emukit/bayesian_optimization/test_epmgp.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.bayesian_optimization import epmgp diff --git a/tests/emukit/bayesian_optimization/test_local_penalization.py b/tests/emukit/bayesian_optimization/test_local_penalization.py index e1be8aeb..29368d12 100644 --- a/tests/emukit/bayesian_optimization/test_local_penalization.py +++ b/tests/emukit/bayesian_optimization/test_local_penalization.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from scipy.optimize import check_grad diff --git a/tests/emukit/bayesian_optimization/test_local_penalization_calculator.py b/tests/emukit/bayesian_optimization/test_local_penalization_calculator.py index 2177fdf4..3fe924e6 100644 --- a/tests/emukit/bayesian_optimization/test_local_penalization_calculator.py +++ b/tests/emukit/bayesian_optimization/test_local_penalization_calculator.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import mock import numpy as np diff --git a/tests/emukit/bayesian_optimization/test_max_value_entropy_search.py b/tests/emukit/bayesian_optimization/test_max_value_entropy_search.py index f8716af7..3c324e28 100644 --- a/tests/emukit/bayesian_optimization/test_max_value_entropy_search.py +++ b/tests/emukit/bayesian_optimization/test_max_value_entropy_search.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/bayesian_optimization/test_mean_plugin_expected_improvement.py b/tests/emukit/bayesian_optimization/test_mean_plugin_expected_improvement.py index 47d4fbba..05eea6e3 100644 --- a/tests/emukit/bayesian_optimization/test_mean_plugin_expected_improvement.py +++ b/tests/emukit/bayesian_optimization/test_mean_plugin_expected_improvement.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from unittest.mock import MagicMock import numpy as np diff --git a/tests/emukit/bayesian_optimization/test_multipoint_expected_improvement.py b/tests/emukit/bayesian_optimization/test_multipoint_expected_improvement.py index 914327b6..5589c10f 100644 --- a/tests/emukit/bayesian_optimization/test_multipoint_expected_improvement.py +++ b/tests/emukit/bayesian_optimization/test_multipoint_expected_improvement.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np from scipy.optimize import check_grad diff --git a/tests/emukit/benchmarking/test_benchmark_plot.py b/tests/emukit/benchmarking/test_benchmark_plot.py index 6a0550ff..ee5276a6 100644 --- a/tests/emukit/benchmarking/test_benchmark_plot.py +++ b/tests/emukit/benchmarking/test_benchmark_plot.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/benchmarking/test_benchmark_result.py b/tests/emukit/benchmarking/test_benchmark_result.py index 9d93d559..748851d0 100644 --- a/tests/emukit/benchmarking/test_benchmark_result.py +++ b/tests/emukit/benchmarking/test_benchmark_result.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest from numpy.testing import assert_array_equal diff --git a/tests/emukit/benchmarking/test_metrics.py b/tests/emukit/benchmarking/test_metrics.py index 0cbf19bf..f348f596 100644 --- a/tests/emukit/benchmarking/test_metrics.py +++ b/tests/emukit/benchmarking/test_metrics.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np diff --git a/tests/emukit/benchmarking/test_random_search.py b/tests/emukit/benchmarking/test_random_search.py index 56d8c568..ae0dcaee 100644 --- a/tests/emukit/benchmarking/test_random_search.py +++ b/tests/emukit/benchmarking/test_random_search.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.benchmarking.loop_benchmarking.random_search import RandomSearch diff --git a/tests/emukit/conftest.py b/tests/emukit/conftest.py index dbb79c87..a07fd728 100644 --- a/tests/emukit/conftest.py +++ b/tests/emukit/conftest.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """ This file is where to put fixtures that are to be shared across different test files """ diff --git a/tests/emukit/core/optimization/conftest.py b/tests/emukit/core/optimization/conftest.py index 7040ae0a..87ab3660 100644 --- a/tests/emukit/core/optimization/conftest.py +++ b/tests/emukit/core/optimization/conftest.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/core/optimization/test_anchor_points_generator.py b/tests/emukit/core/optimization/test_anchor_points_generator.py index c2e372eb..6e844315 100644 --- a/tests/emukit/core/optimization/test_anchor_points_generator.py +++ b/tests/emukit/core/optimization/test_anchor_points_generator.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np import pytest diff --git a/tests/emukit/core/optimization/test_context_manager.py b/tests/emukit/core/optimization/test_context_manager.py index 1c87d87b..50bdcd74 100644 --- a/tests/emukit/core/optimization/test_context_manager.py +++ b/tests/emukit/core/optimization/test_context_manager.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/core/optimization/test_gradient_acquisition_optimizer.py b/tests/emukit/core/optimization/test_gradient_acquisition_optimizer.py index c01a402f..de392750 100644 --- a/tests/emukit/core/optimization/test_gradient_acquisition_optimizer.py +++ b/tests/emukit/core/optimization/test_gradient_acquisition_optimizer.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest from numpy.testing import assert_array_equal diff --git a/tests/emukit/core/optimization/test_local_search_acquisition_optimizer.py b/tests/emukit/core/optimization/test_local_search_acquisition_optimizer.py index 9a258808..5704cf67 100644 --- a/tests/emukit/core/optimization/test_local_search_acquisition_optimizer.py +++ b/tests/emukit/core/optimization/test_local_search_acquisition_optimizer.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest from numpy.testing import assert_almost_equal, assert_equal diff --git a/tests/emukit/core/optimization/test_multi_source_acquisition_optimizer.py b/tests/emukit/core/optimization/test_multi_source_acquisition_optimizer.py index bcd4a477..a52202ca 100644 --- a/tests/emukit/core/optimization/test_multi_source_acquisition_optimizer.py +++ b/tests/emukit/core/optimization/test_multi_source_acquisition_optimizer.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from numpy.testing import assert_array_equal diff --git a/tests/emukit/core/optimization/test_optimizer.py b/tests/emukit/core/optimization/test_optimizer.py index 67733d11..d7c8dd07 100644 --- a/tests/emukit/core/optimization/test_optimizer.py +++ b/tests/emukit/core/optimization/test_optimizer.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/core/optimization/test_random_search_acquisition_optimizer.py b/tests/emukit/core/optimization/test_random_search_acquisition_optimizer.py index b3200f21..df4930bb 100644 --- a/tests/emukit/core/optimization/test_random_search_acquisition_optimizer.py +++ b/tests/emukit/core/optimization/test_random_search_acquisition_optimizer.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from numpy.testing import assert_array_equal diff --git a/tests/emukit/core/optimization/test_trust_region_constrained_optimizer.py b/tests/emukit/core/optimization/test_trust_region_constrained_optimizer.py index d8745190..7140ed11 100644 --- a/tests/emukit/core/optimization/test_trust_region_constrained_optimizer.py +++ b/tests/emukit/core/optimization/test_trust_region_constrained_optimizer.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/core/test_acquisition.py b/tests/emukit/core/test_acquisition.py index 6c5006fd..f4566fe6 100644 --- a/tests/emukit/core/test_acquisition.py +++ b/tests/emukit/core/test_acquisition.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np import pytest diff --git a/tests/emukit/core/test_categorical_parameter.py b/tests/emukit/core/test_categorical_parameter.py index e1bc64c2..d43b5d50 100644 --- a/tests/emukit/core/test_categorical_parameter.py +++ b/tests/emukit/core/test_categorical_parameter.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np import pytest diff --git a/tests/emukit/core/test_constraints.py b/tests/emukit/core/test_constraints.py index e64e8110..9520ef02 100644 --- a/tests/emukit/core/test_constraints.py +++ b/tests/emukit/core/test_constraints.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/core/test_encodings.py b/tests/emukit/core/test_encodings.py index c1b4072a..04bad0c6 100644 --- a/tests/emukit/core/test_encodings.py +++ b/tests/emukit/core/test_encodings.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest from numpy.testing import assert_array_equal diff --git a/tests/emukit/core/test_loop_state.py b/tests/emukit/core/test_loop_state.py index 2586cb32..baf73913 100644 --- a/tests/emukit/core/test_loop_state.py +++ b/tests/emukit/core/test_loop_state.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest from numpy.testing import assert_array_equal diff --git a/tests/emukit/core/test_loop_steps.py b/tests/emukit/core/test_loop_steps.py index 9a02ad48..16eca95f 100644 --- a/tests/emukit/core/test_loop_steps.py +++ b/tests/emukit/core/test_loop_steps.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np diff --git a/tests/emukit/core/test_model_free_designs.py b/tests/emukit/core/test_model_free_designs.py index 300aa3fc..c3f5ab29 100644 --- a/tests/emukit/core/test_model_free_designs.py +++ b/tests/emukit/core/test_model_free_designs.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from emukit.core import CategoricalParameter, ContinuousParameter, DiscreteParameter, ParameterSpace from emukit.core.initial_designs import RandomDesign from emukit.core.initial_designs.latin_design import LatinDesign diff --git a/tests/emukit/core/test_multi_source_optimizer.py b/tests/emukit/core/test_multi_source_optimizer.py index 85b15079..99b4bba0 100644 --- a/tests/emukit/core/test_multi_source_optimizer.py +++ b/tests/emukit/core/test_multi_source_optimizer.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np import pytest diff --git a/tests/emukit/core/test_outer_loop.py b/tests/emukit/core/test_outer_loop.py index 64d6139a..e03c6148 100644 --- a/tests/emukit/core/test_outer_loop.py +++ b/tests/emukit/core/test_outer_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import mock import numpy as np diff --git a/tests/emukit/core/test_parameter_space.py b/tests/emukit/core/test_parameter_space.py index 6f4e4b89..5cbece31 100644 --- a/tests/emukit/core/test_parameter_space.py +++ b/tests/emukit/core/test_parameter_space.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from unittest import mock import numpy as np diff --git a/tests/emukit/core/test_parameters.py b/tests/emukit/core/test_parameters.py index bebb715d..5c54f292 100644 --- a/tests/emukit/core/test_parameters.py +++ b/tests/emukit/core/test_parameters.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/core/test_stopping_conditions.py b/tests/emukit/core/test_stopping_conditions.py index 106f07e9..7b66bb01 100644 --- a/tests/emukit/core/test_stopping_conditions.py +++ b/tests/emukit/core/test_stopping_conditions.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np diff --git a/tests/emukit/core/test_user_function.py b/tests/emukit/core/test_user_function.py index 3c63e4a7..094b3400 100644 --- a/tests/emukit/core/test_user_function.py +++ b/tests/emukit/core/test_user_function.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest from numpy.testing import assert_array_equal diff --git a/tests/emukit/examples/test_simple_gp_model.py b/tests/emukit/examples/test_simple_gp_model.py index f3a361c3..d1edfdb3 100644 --- a/tests/emukit/examples/test_simple_gp_model.py +++ b/tests/emukit/examples/test_simple_gp_model.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/experimental_design/__init__.py b/tests/emukit/experimental_design/__init__.py index e69de29b..a63c77b7 100644 --- a/tests/emukit/experimental_design/__init__.py +++ b/tests/emukit/experimental_design/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/experimental_design/test_batch_experimental_design.py b/tests/emukit/experimental_design/test_batch_experimental_design.py index 351cad8c..a0803cb8 100644 --- a/tests/emukit/experimental_design/test_batch_experimental_design.py +++ b/tests/emukit/experimental_design/test_batch_experimental_design.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import mock import numpy as np diff --git a/tests/emukit/experimental_design/test_experimental_design_loop.py b/tests/emukit/experimental_design/test_experimental_design_loop.py index e028f6c9..db6d7bef 100644 --- a/tests/emukit/experimental_design/test_experimental_design_loop.py +++ b/tests/emukit/experimental_design/test_experimental_design_loop.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np from numpy.testing import assert_array_equal diff --git a/tests/emukit/experimental_design/test_integrated_variance.py b/tests/emukit/experimental_design/test_integrated_variance.py index 1c9647c4..055c5a02 100644 --- a/tests/emukit/experimental_design/test_integrated_variance.py +++ b/tests/emukit/experimental_design/test_integrated_variance.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/model_wrappers/__init__.py b/tests/emukit/model_wrappers/__init__.py index e69de29b..f1e7d21e 100644 --- a/tests/emukit/model_wrappers/__init__.py +++ b/tests/emukit/model_wrappers/__init__.py @@ -0,0 +1,2 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/model_wrappers/test_gpy_wrappers_quadrature.py b/tests/emukit/model_wrappers/test_gpy_wrappers_quadrature.py index a0e37572..4d6381fa 100644 --- a/tests/emukit/model_wrappers/test_gpy_wrappers_quadrature.py +++ b/tests/emukit/model_wrappers/test_gpy_wrappers_quadrature.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Basic tests for quadrature GPy wrappers.""" import GPy diff --git a/tests/emukit/multi_fidelity/test_convert_list_to_array.py b/tests/emukit/multi_fidelity/test_convert_list_to_array.py index 27e952ac..7026d314 100644 --- a/tests/emukit/multi_fidelity/test_convert_list_to_array.py +++ b/tests/emukit/multi_fidelity/test_convert_list_to_array.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np import pytest diff --git a/tests/emukit/multi_fidelity/test_kernels.py b/tests/emukit/multi_fidelity/test_kernels.py index 40f1e4d2..c0776519 100644 --- a/tests/emukit/multi_fidelity/test_kernels.py +++ b/tests/emukit/multi_fidelity/test_kernels.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """ Tests for multi-fidelity kernels """ diff --git a/tests/emukit/multi_fidelity/test_models.py b/tests/emukit/multi_fidelity/test_models.py index 747d8462..32bb7f51 100644 --- a/tests/emukit/multi_fidelity/test_models.py +++ b/tests/emukit/multi_fidelity/test_models.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np import pytest diff --git a/tests/emukit/multi_fidelity/test_non_linear_models.py b/tests/emukit/multi_fidelity/test_non_linear_models.py index 598fc7d3..73453b41 100644 --- a/tests/emukit/multi_fidelity/test_non_linear_models.py +++ b/tests/emukit/multi_fidelity/test_non_linear_models.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import GPy import numpy as np import pytest diff --git a/tests/emukit/quadrature/ground_truth_integrals_methods.py b/tests/emukit/quadrature/ground_truth_integrals_methods.py index f605a29a..88958085 100644 --- a/tests/emukit/quadrature/ground_truth_integrals_methods.py +++ b/tests/emukit/quadrature/ground_truth_integrals_methods.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/quadrature/ground_truth_integrals_qkernel.py b/tests/emukit/quadrature/ground_truth_integrals_qkernel.py index 6a47a6d0..d50a9d12 100644 --- a/tests/emukit/quadrature/ground_truth_integrals_qkernel.py +++ b/tests/emukit/quadrature/ground_truth_integrals_qkernel.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/quadrature/test_domain.py b/tests/emukit/quadrature/test_domain.py index b43d99bb..9be20d1b 100644 --- a/tests/emukit/quadrature/test_domain.py +++ b/tests/emukit/quadrature/test_domain.py @@ -1,4 +1,4 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/quadrature/test_measures.py b/tests/emukit/quadrature/test_measures.py index 6a10755f..9b16205e 100644 --- a/tests/emukit/quadrature/test_measures.py +++ b/tests/emukit/quadrature/test_measures.py @@ -1,6 +1,10 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from dataclasses import dataclass import numpy as np diff --git a/tests/emukit/quadrature/test_quadrature_acquisitions.py b/tests/emukit/quadrature/test_quadrature_acquisitions.py index 4fa1245c..ffc40130 100644 --- a/tests/emukit/quadrature/test_quadrature_acquisitions.py +++ b/tests/emukit/quadrature/test_quadrature_acquisitions.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/quadrature/test_quadrature_kernels.py b/tests/emukit/quadrature/test_quadrature_kernels.py index 33444fc8..a486524e 100644 --- a/tests/emukit/quadrature/test_quadrature_kernels.py +++ b/tests/emukit/quadrature/test_quadrature_kernels.py @@ -1,6 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 + from dataclasses import dataclass import GPy diff --git a/tests/emukit/quadrature/test_quadrature_models.py b/tests/emukit/quadrature/test_quadrature_models.py index eab3ecb4..9c4b1f5d 100644 --- a/tests/emukit/quadrature/test_quadrature_models.py +++ b/tests/emukit/quadrature/test_quadrature_models.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from dataclasses import dataclass from math import isclose diff --git a/tests/emukit/quadrature/test_warpings.py b/tests/emukit/quadrature/test_warpings.py index 4a338920..3c1999f5 100644 --- a/tests/emukit/quadrature/test_warpings.py +++ b/tests/emukit/quadrature/test_warpings.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from collections import namedtuple import numpy as np diff --git a/tests/emukit/quadrature/utils.py b/tests/emukit/quadrature/utils.py index 25d4390f..c3890b84 100644 --- a/tests/emukit/quadrature/utils.py +++ b/tests/emukit/quadrature/utils.py @@ -1,3 +1,7 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + """Helper functions for quadrature tests""" from math import isclose diff --git a/tests/emukit/sensitivity/test_emukit_sensitivity.py b/tests/emukit/sensitivity/test_emukit_sensitivity.py index 22f2dc21..cd2ac038 100644 --- a/tests/emukit/sensitivity/test_emukit_sensitivity.py +++ b/tests/emukit/sensitivity/test_emukit_sensitivity.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import mock import numpy as np import pytest diff --git a/tests/emukit/test_acquisitions.py b/tests/emukit/test_acquisitions.py index 0e08ab48..83a763c0 100644 --- a/tests/emukit/test_acquisitions.py +++ b/tests/emukit/test_acquisitions.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + from collections import namedtuple import numpy as np diff --git a/tests/emukit/test_functions/test_baselines.py b/tests/emukit/test_functions/test_baselines.py index 1cce4a90..63981924 100644 --- a/tests/emukit/test_functions/test_baselines.py +++ b/tests/emukit/test_functions/test_baselines.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/test_functions/test_branin.py b/tests/emukit/test_functions/test_branin.py index d6064d4e..717ae6d9 100644 --- a/tests/emukit/test_functions/test_branin.py +++ b/tests/emukit/test_functions/test_branin.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.test_functions import branin_function diff --git a/tests/emukit/test_functions/test_circular_gaussian.py b/tests/emukit/test_functions/test_circular_gaussian.py index 08ac3d7e..3ef7ae0f 100644 --- a/tests/emukit/test_functions/test_circular_gaussian.py +++ b/tests/emukit/test_functions/test_circular_gaussian.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/test_functions/test_forrester.py b/tests/emukit/test_functions/test_forrester.py index 9ae1e869..eb404de9 100644 --- a/tests/emukit/test_functions/test_forrester.py +++ b/tests/emukit/test_functions/test_forrester.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.test_functions import forrester_function diff --git a/tests/emukit/test_functions/test_hennig1d.py b/tests/emukit/test_functions/test_hennig1d.py index e460a7d6..8d453db6 100644 --- a/tests/emukit/test_functions/test_hennig1d.py +++ b/tests/emukit/test_functions/test_hennig1d.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/test_functions/test_hennig2d.py b/tests/emukit/test_functions/test_hennig2d.py index 96002ece..fed6a6a8 100644 --- a/tests/emukit/test_functions/test_hennig2d.py +++ b/tests/emukit/test_functions/test_hennig2d.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 diff --git a/tests/emukit/test_functions/test_ishigami_function.py b/tests/emukit/test_functions/test_ishigami_function.py index 29ec4640..fa9bde1e 100644 --- a/tests/emukit/test_functions/test_ishigami_function.py +++ b/tests/emukit/test_functions/test_ishigami_function.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.test_functions.sensitivity import Ishigami diff --git a/tests/emukit/test_functions/test_multi_fidelity_functions.py b/tests/emukit/test_functions/test_multi_fidelity_functions.py index a95e8bd3..97ea6f58 100644 --- a/tests/emukit/test_functions/test_multi_fidelity_functions.py +++ b/tests/emukit/test_functions/test_multi_fidelity_functions.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import pytest from emukit.core.initial_designs import RandomDesign diff --git a/tests/emukit/test_functions/test_nonlinear_sin.py b/tests/emukit/test_functions/test_nonlinear_sin.py index f842e026..94e2d233 100644 --- a/tests/emukit/test_functions/test_nonlinear_sin.py +++ b/tests/emukit/test_functions/test_nonlinear_sin.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.test_functions.non_linear_sin import nonlinear_sin_high, nonlinear_sin_low diff --git a/tests/emukit/test_functions/test_sixhumpcamel.py b/tests/emukit/test_functions/test_sixhumpcamel.py index bb4e0098..bcbaccca 100644 --- a/tests/emukit/test_functions/test_sixhumpcamel.py +++ b/tests/emukit/test_functions/test_sixhumpcamel.py @@ -1,3 +1,10 @@ +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + + import numpy as np from emukit.test_functions import sixhumpcamel_function diff --git a/tests/emukit/test_functions/test_sombrero2d.py b/tests/emukit/test_functions/test_sombrero2d.py index 9fd82faa..8bd2055e 100644 --- a/tests/emukit/test_functions/test_sombrero2d.py +++ b/tests/emukit/test_functions/test_sombrero2d.py @@ -1,4 +1,7 @@ -# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright 2020-2024 The Emukit Authors. All Rights Reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0