Skip to content

Update copyright headers #459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 2024 The Emukit Authors. All Rights Reserved.
Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 changes: 3 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Copyright 2024 The Emukit Authors. All Rights Reserved.
#
# Copyright 2020 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.
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 2024 The Emukit Authors. 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


from emukit.__version__ import __version__
4 changes: 3 additions & 1 deletion emukit/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Copyright 2024 The Emukit Authors. All Rights Reserved.
#
# Copyright 2020 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.
Expand Down
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 2024 The Emukit Authors. 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
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 2024 The Emukit Authors. 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


# 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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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
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 2024 The Emukit Authors. 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
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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


# 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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


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 2024 The Emukit Authors. 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


Expand Down
5 changes: 4 additions & 1 deletion emukit/core/discrete_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 2024 The Emukit Authors. 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


Expand Down
5 changes: 4 additions & 1 deletion emukit/core/encodings.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 2024 The Emukit Authors. 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


Expand Down
7 changes: 7 additions & 0 deletions emukit/core/event_handler.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2024 The Emukit Authors. 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


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
Expand Down
6 changes: 5 additions & 1 deletion emukit/core/initial_designs/__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 2024 The Emukit Authors. 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


from .random_design import RandomDesign # noqa: F401
Loading