Skip to content

Commit

Permalink
Update copyright headers (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahsereci authored Apr 4, 2024
1 parent e42c5bb commit 97188a9
Show file tree
Hide file tree
Showing 289 changed files with 1,582 additions and 158 deletions.
3 changes: 2 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -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.
22 changes: 7 additions & 15 deletions doc/conf.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
# 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
import shutil
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


Expand Down
6 changes: 5 additions & 1 deletion emukit/__init__.py
Original file line number Diff line number Diff line change
@@ -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__
20 changes: 7 additions & 13 deletions emukit/__version__.py
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion emukit/bayesian_optimization/__init__.py
Original file line number Diff line number Diff line change
@@ -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
6 changes: 5 additions & 1 deletion emukit/bayesian_optimization/acquisitions/__init__.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 4 additions & 1 deletion emukit/bayesian_optimization/acquisitions/entropy_search.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions emukit/bayesian_optimization/acquisitions/log_acquisition.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
5 changes: 4 additions & 1 deletion emukit/bayesian_optimization/epmgp.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
5 changes: 4 additions & 1 deletion emukit/bayesian_optimization/interfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
5 changes: 4 additions & 1 deletion emukit/bayesian_optimization/interfaces/models.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
7 changes: 7 additions & 0 deletions emukit/bayesian_optimization/local_penalization_calculator.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion emukit/bayesian_optimization/loops/__init__.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Original file line number Diff line number Diff line change
@@ -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


Expand Down
5 changes: 5 additions & 0 deletions emukit/benchmarking/__init__.py
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions emukit/benchmarking/loop_benchmarking/__init__.py
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions emukit/benchmarking/loop_benchmarking/benchmark_plot.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
7 changes: 7 additions & 0 deletions emukit/benchmarking/loop_benchmarking/benchmark_result.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions emukit/benchmarking/loop_benchmarking/benchmarker.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions emukit/benchmarking/loop_benchmarking/metrics.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 5 additions & 1 deletion emukit/benchmarking/loop_benchmarking/random_search.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 5 additions & 1 deletion emukit/core/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion emukit/core/acquisition/__init__.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
5 changes: 4 additions & 1 deletion emukit/core/acquisition/acquisition.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
7 changes: 7 additions & 0 deletions emukit/core/acquisition/acquisition_per_cost.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions emukit/core/acquisition/integrated_acquisition.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions emukit/core/bandit_parameter.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 4 additions & 1 deletion emukit/core/categorical_parameter.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
7 changes: 7 additions & 0 deletions emukit/core/constraints.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 4 additions & 1 deletion emukit/core/continuous_parameter.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
Loading

0 comments on commit 97188a9

Please sign in to comment.