From 040b1c716b06f68a07324aeb81d3884a1276741e Mon Sep 17 00:00:00 2001 From: Santoso Wijaya Date: Thu, 15 Feb 2024 17:04:48 -0800 Subject: [PATCH] Remove duplicate copyright headers PiperOrigin-RevId: 607502906 --- meridian/__init__.py | 14 -------------- meridian/analysis/__init__.py | 14 -------------- meridian/analysis/analyzer.py | 14 -------------- meridian/analysis/analyzer_test.py | 14 -------------- meridian/analysis/formatter.py | 14 -------------- meridian/analysis/formatter_test.py | 14 -------------- meridian/analysis/optimizer.py | 14 -------------- meridian/analysis/optimizer_test.py | 14 -------------- meridian/analysis/summarizer.py | 14 -------------- meridian/analysis/summarizer_test.py | 14 -------------- meridian/analysis/summary_text.py | 14 -------------- meridian/analysis/templates/summary.html.jinja | 16 ---------------- meridian/analysis/test_utils.py | 14 -------------- meridian/analysis/visualizer.py | 14 -------------- meridian/analysis/visualizer_test.py | 14 -------------- meridian/constants.py | 14 -------------- meridian/data/__init__.py | 14 -------------- meridian/data/input_data.py | 14 -------------- meridian/data/input_data_test.py | 14 -------------- meridian/data/load.py | 14 -------------- meridian/data/load_test.py | 14 -------------- meridian/data/test_utils.py | 14 -------------- meridian/model/__init__.py | 14 -------------- meridian/model/adstock_hill.py | 14 -------------- meridian/model/adstock_hill_test.py | 14 -------------- meridian/model/knots.py | 14 -------------- meridian/model/knots_test.py | 14 -------------- meridian/model/model.py | 14 -------------- meridian/model/model_test.py | 14 -------------- meridian/model/prior_distribution.py | 14 -------------- meridian/model/prior_distribution_test.py | 14 -------------- meridian/model/spec.py | 14 -------------- meridian/model/spec_test.py | 14 -------------- meridian/model/transformers.py | 14 -------------- meridian/model/transformers_test.py | 14 -------------- setup.py | 14 +------------- 36 files changed, 1 insertion(+), 505 deletions(-) diff --git a/meridian/__init__.py b/meridian/__init__.py index a23f8ac3..1b39773c 100644 --- a/meridian/__init__.py +++ b/meridian/__init__.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - """Meridian API.""" from meridian import analysis diff --git a/meridian/analysis/__init__.py b/meridian/analysis/__init__.py index e6fd7cc3..a30c4e69 100644 --- a/meridian/analysis/__init__.py +++ b/meridian/analysis/__init__.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - """Meridian analysis API for trained models.""" from meridian.analysis import analyzer diff --git a/meridian/analysis/analyzer.py b/meridian/analysis/analyzer.py index ed3f77e7..97bd8ac5 100644 --- a/meridian/analysis/analyzer.py +++ b/meridian/analysis/analyzer.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - """Methods to compute analysis metrics of the model and the data.""" import collections diff --git a/meridian/analysis/analyzer_test.py b/meridian/analysis/analyzer_test.py index 6e7e5445..18e1cd6a 100644 --- a/meridian/analysis/analyzer_test.py +++ b/meridian/analysis/analyzer_test.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - from collections.abc import Sequence import os from unittest import mock diff --git a/meridian/analysis/formatter.py b/meridian/analysis/formatter.py index 969b845c..e724c940 100644 --- a/meridian/analysis/formatter.py +++ b/meridian/analysis/formatter.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - """Functions for formatting analysis outputs.""" from collections.abc import Sequence diff --git a/meridian/analysis/formatter_test.py b/meridian/analysis/formatter_test.py index ae1ae4ec..e461876e 100644 --- a/meridian/analysis/formatter_test.py +++ b/meridian/analysis/formatter_test.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - from xml.etree import ElementTree as ET from absl.testing import absltest diff --git a/meridian/analysis/optimizer.py b/meridian/analysis/optimizer.py index 52a43b1e..edfeb987 100644 --- a/meridian/analysis/optimizer.py +++ b/meridian/analysis/optimizer.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - """Module to output budget optimization scenarios on the Meridian model.""" from collections.abc import Mapping, Sequence diff --git a/meridian/analysis/optimizer_test.py b/meridian/analysis/optimizer_test.py index 947be11a..31769fea 100644 --- a/meridian/analysis/optimizer_test.py +++ b/meridian/analysis/optimizer_test.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - from collections.abc import Mapping import os import tempfile diff --git a/meridian/analysis/summarizer.py b/meridian/analysis/summarizer.py index 90c2096a..133779b9 100644 --- a/meridian/analysis/summarizer.py +++ b/meridian/analysis/summarizer.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - """Summarization module that creates a 2-pager HTML report.""" from collections.abc import Sequence diff --git a/meridian/analysis/summarizer_test.py b/meridian/analysis/summarizer_test.py index c13f1a9e..b004c371 100644 --- a/meridian/analysis/summarizer_test.py +++ b/meridian/analysis/summarizer_test.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - import datetime as dt import os import tempfile diff --git a/meridian/analysis/summary_text.py b/meridian/analysis/summary_text.py index b8c7543c..b94d1f00 100644 --- a/meridian/analysis/summary_text.py +++ b/meridian/analysis/summary_text.py @@ -12,20 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Copyright 2024 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# https://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - """Defines text string constants used in the model outputs.""" diff --git a/meridian/analysis/templates/summary.html.jinja b/meridian/analysis/templates/summary.html.jinja index ca83534f..5949b8bd 100644 --- a/meridian/analysis/templates/summary.html.jinja +++ b/meridian/analysis/templates/summary.html.jinja @@ -1,19 +1,3 @@ -{# -Copyright 2024 Google LLC - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -#} -