From 4e30dfee7b3610960f77a73243d5be98467ed070 Mon Sep 17 00:00:00 2001 From: Fritz Obermeyer Date: Wed, 22 Jul 2020 17:38:14 -0700 Subject: [PATCH 1/3] Change license to Apache 2.0 --- LICENSE | 9 --- LICENSE.md | 202 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 202 insertions(+), 9 deletions(-) delete mode 100644 LICENSE create mode 100644 LICENSE.md diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 5dd977a..0000000 --- a/LICENSE +++ /dev/null @@ -1,9 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 Uber Technologies, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. From 80cab07fd3f4959d0acf7a68c61ba52d1a8e91fc Mon Sep 17 00:00:00 2001 From: Fritz Obermeyer Date: Wed, 22 Jul 2020 17:40:19 -0700 Subject: [PATCH 2/3] Add header script --- Makefile | 11 ++++++ scripts/update_headers.py | 78 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 Makefile create mode 100644 scripts/update_headers.py diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..65661e8 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.PHONY: all lint license FORCE + +all: lint + +lint: FORCE + python scripts/update_headers.py --check + +license: FORCE + python scripts/update_headers.py + +FORCE: diff --git a/scripts/update_headers.py b/scripts/update_headers.py new file mode 100644 index 0000000..0bf027c --- /dev/null +++ b/scripts/update_headers.py @@ -0,0 +1,78 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + +import argparse +import glob +import os +import sys + +root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +blacklist = ["/build/", "/dist/"] +file_types = [ + ("*.py", "# {}"), + ("*.cpp", "// {}"), +] + +parser = argparse.ArgumentParser() +parser.add_argument("--check", action="store_true") +args = parser.parse_args() +dirty = [] + +for basename, comment in file_types: + copyright_line = comment.format("Copyright Contributors to the Pyro project.\n") + # See https://spdx.org/ids-how + spdx_line = comment.format("SPDX-License-Identifier: Apache-2.0\n") + + filenames = glob.glob(os.path.join(root, "**", basename), recursive=True) + filenames.sort() + filenames = [ + filename + for filename in filenames + if not any(word in filename for word in blacklist) + ] + for filename in filenames: + with open(filename) as f: + lines = f.readlines() + + # Ignore empty files like __init__.py + if all(line.isspace() for line in lines): + continue + + # Ensure first few line are copyright notices. + changed = False + lineno = 0 + if not lines[lineno].startswith(comment.format("Copyright")): + lines.insert(lineno, copyright_line) + changed = True + lineno += 1 + while lines[lineno].startswith(comment.format("Copyright")): + lineno += 1 + + # Ensure next line is an SPDX short identifier. + if not lines[lineno].startswith(comment.format("SPDX-License-Identifier")): + lines.insert(lineno, spdx_line) + changed = True + lineno += 1 + + # Ensure next line is blank. + if not lines[lineno].isspace(): + lines.insert(lineno, "\n") + changed = True + + if not changed: + continue + + if args.check: + dirty.append(filename) + continue + + with open(filename, "w") as f: + f.write("".join(lines)) + + print("updated {}".format(filename[len(root) + 1:])) + +if dirty: + print("The following files need license headers:\n{}" + .format("\n".join(dirty))) + print("Please run 'make license'") + sys.exit(1) From a1ec941cf523d17d382a3532377c12ff06b39a08 Mon Sep 17 00:00:00 2001 From: Fritz Obermeyer Date: Wed, 22 Jul 2020 17:41:09 -0700 Subject: [PATCH 3/3] Apply license script --- pyro_models/__init__.py | 3 +++ pyro_models/arm/anova_radon_nopred.py | 3 +++ pyro_models/arm/anova_radon_nopred_chr.py | 3 +++ pyro_models/arm/congress.py | 3 +++ pyro_models/arm/earnings1.py | 3 +++ pyro_models/arm/earnings2.py | 3 +++ pyro_models/arm/earnings_latin_square.py | 3 +++ pyro_models/arm/earnings_latin_square_chr.py | 3 +++ pyro_models/arm/earnings_vary_si.py | 3 +++ pyro_models/arm/earnings_vary_si_chr.py | 3 +++ pyro_models/arm/election88_ch14.py | 3 +++ pyro_models/arm/election88_ch19.py | 3 +++ pyro_models/arm/electric.py | 3 +++ pyro_models/arm/electric_1a.py | 3 +++ pyro_models/arm/electric_1a_chr.py | 3 +++ pyro_models/arm/electric_1b.py | 3 +++ pyro_models/arm/electric_1b_chr.py | 3 +++ pyro_models/arm/electric_1c.py | 3 +++ pyro_models/arm/electric_1c_chr.py | 3 +++ pyro_models/arm/electric_chr.py | 3 +++ pyro_models/arm/electric_inter.py | 3 +++ pyro_models/arm/electric_multi_preds.py | 3 +++ pyro_models/arm/electric_one_pred.py | 3 +++ pyro_models/arm/electric_supp.py | 3 +++ pyro_models/arm/electric_tr.py | 3 +++ pyro_models/arm/electric_trpre.py | 3 +++ pyro_models/arm/grades.py | 3 +++ pyro_models/arm/hiv.py | 3 +++ pyro_models/arm/hiv_chr.py | 3 +++ pyro_models/arm/hiv_inter.py | 3 +++ pyro_models/arm/hiv_inter_chr.py | 3 +++ pyro_models/arm/ideo_interactions.py | 3 +++ pyro_models/arm/ideo_reparam.py | 3 +++ pyro_models/arm/kidiq_interaction.py | 3 +++ pyro_models/arm/kidiq_interaction_c.py | 3 +++ pyro_models/arm/kidiq_interaction_c2.py | 3 +++ pyro_models/arm/kidiq_interaction_z.py | 3 +++ pyro_models/arm/kidiq_multi_preds.py | 3 +++ pyro_models/arm/kidscore_momhs.py | 3 +++ pyro_models/arm/kidscore_momiq.py | 3 +++ pyro_models/arm/kidscore_momwork.py | 3 +++ pyro_models/arm/latent_glm.py | 3 +++ pyro_models/arm/log10earn_height.py | 3 +++ pyro_models/arm/logearn_height.py | 3 +++ pyro_models/arm/logearn_height_male.py | 3 +++ pyro_models/arm/logearn_interaction.py | 3 +++ pyro_models/arm/logearn_interaction_z.py | 3 +++ pyro_models/arm/logearn_logheight.py | 3 +++ pyro_models/arm/mesquite.py | 3 +++ pyro_models/arm/mesquite_log.py | 3 +++ pyro_models/arm/mesquite_va.py | 3 +++ pyro_models/arm/mesquite_vas.py | 3 +++ pyro_models/arm/mesquite_vash.py | 3 +++ pyro_models/arm/mesquite_volume.py | 3 +++ pyro_models/arm/multilevel_logistic.py | 3 +++ pyro_models/arm/pilots_ch13.py | 3 +++ pyro_models/arm/pilots_ch14.py | 3 +++ pyro_models/arm/pilots_chr_ch13.py | 3 +++ pyro_models/arm/pilots_chr_ch14.py | 3 +++ pyro_models/arm/radon.py | 3 +++ pyro_models/arm/radon_chr.py | 3 +++ pyro_models/arm/radon_complete_pool.py | 3 +++ pyro_models/arm/radon_group.py | 3 +++ pyro_models/arm/radon_group_chr.py | 3 +++ pyro_models/arm/radon_inter_vary.py | 3 +++ pyro_models/arm/radon_inter_vary_chr.py | 3 +++ pyro_models/arm/radon_intercept.py | 3 +++ pyro_models/arm/radon_intercept_chr.py | 3 +++ pyro_models/arm/radon_no_pool.py | 3 +++ pyro_models/arm/radon_no_pool_chr.py | 3 +++ pyro_models/arm/radon_redundant.py | 3 +++ pyro_models/arm/radon_redundant_chr.py | 3 +++ pyro_models/arm/radon_vary_intercept_floor.py | 3 +++ pyro_models/arm/radon_vary_intercept_floor2.py | 3 +++ pyro_models/arm/radon_vary_intercept_floor2_chr.py | 3 +++ pyro_models/arm/radon_vary_intercept_floor_chr.py | 3 +++ pyro_models/arm/radon_vary_intercept_nofloor.py | 3 +++ pyro_models/arm/radon_vary_intercept_nofloor_chr.py | 3 +++ pyro_models/arm/radon_vary_si.py | 3 +++ pyro_models/arm/radon_vary_si_chr.py | 3 +++ pyro_models/arm/roaches_overdispersion.py | 3 +++ pyro_models/arm/separation.py | 3 +++ pyro_models/arm/sesame_multi_preds_3a.py | 3 +++ pyro_models/arm/sesame_multi_preds_3b.py | 3 +++ pyro_models/arm/sesame_one_pred_2b.py | 3 +++ pyro_models/arm/sesame_one_pred_a.py | 3 +++ pyro_models/arm/unemployment.py | 3 +++ pyro_models/arm/weight.py | 3 +++ pyro_models/arm/wells.py | 3 +++ pyro_models/arm/wells_d100ars.py | 3 +++ pyro_models/arm/wells_daae_c.py | 3 +++ pyro_models/arm/wells_dae.py | 3 +++ pyro_models/arm/wells_dae_c.py | 3 +++ pyro_models/arm/wells_dae_inter.py | 3 +++ pyro_models/arm/wells_dae_inter_c.py | 3 +++ pyro_models/arm/wells_dist.py | 3 +++ pyro_models/arm/wells_dist100.py | 3 +++ pyro_models/arm/wells_interaction.py | 3 +++ pyro_models/arm/wells_interaction_c.py | 3 +++ pyro_models/arm/wells_logit.py | 3 +++ pyro_models/arm/wells_predicted.py | 3 +++ pyro_models/arm/wells_probit.py | 3 +++ pyro_models/arm/y_x.py | 3 +++ pyro_models/bcm/bernoulli.py | 3 +++ pyro_models/bcm/rate_1.py | 3 +++ pyro_models/bcm/rate_2.py | 3 +++ pyro_models/bcm/rate_3.py | 3 +++ pyro_models/bcm/rate_4.py | 3 +++ pyro_models/bugs/beetles_probit.py | 3 +++ pyro_models/bugs/dyes.py | 3 +++ pyro_models/bugs/litter.py | 3 +++ pyro_models/bugs/lsat.py | 3 +++ pyro_models/bugs/pump.py | 3 +++ pyro_models/load.py | 3 +++ pyro_models/misc/eight_schools.py | 3 +++ pyro_models/misc/irt.py | 3 +++ pyro_models/misc/irt2.py | 3 +++ pyro_models/misc/irt2_multilevel.py | 3 +++ pyro_models/misc/irt_multilevel.py | 3 +++ pyro_models/misc/ma2.py | 3 +++ pyro_models/misc/stochastic-volatility-optimized.py | 3 +++ pyro_models/utils.py | 3 +++ setup.py | 3 +++ tests/ess.py | 3 +++ tests/test_models.py | 3 +++ 125 files changed, 375 insertions(+) diff --git a/pyro_models/__init__.py b/pyro_models/__init__.py index 6d98b03..7e63791 100644 --- a/pyro_models/__init__.py +++ b/pyro_models/__init__.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + from pyro_models.load import load from pyro_models.utils import data diff --git a/pyro_models/arm/anova_radon_nopred.py b/pyro_models/arm/anova_radon_nopred.py index ef069b8..9255d27 100644 --- a/pyro_models/arm/anova_radon_nopred.py +++ b/pyro_models/arm/anova_radon_nopred.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.22/anova_radon_nopred.stan import torch import pyro diff --git a/pyro_models/arm/anova_radon_nopred_chr.py b/pyro_models/arm/anova_radon_nopred_chr.py index c458034..5c0a9b6 100644 --- a/pyro_models/arm/anova_radon_nopred_chr.py +++ b/pyro_models/arm/anova_radon_nopred_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.22/anova_radon_nopred_chr.stan import torch import pyro diff --git a/pyro_models/arm/congress.py b/pyro_models/arm/congress.py index 63ca97d..aa11c5e 100644 --- a/pyro_models/arm/congress.py +++ b/pyro_models/arm/congress.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.7/congress.stan import torch import pyro diff --git a/pyro_models/arm/earnings1.py b/pyro_models/arm/earnings1.py index 7ac0606..ba94f66 100644 --- a/pyro_models/arm/earnings1.py +++ b/pyro_models/arm/earnings1.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.7/earnings1.stan import torch import pyro diff --git a/pyro_models/arm/earnings2.py b/pyro_models/arm/earnings2.py index 8611c16..e854fd5 100644 --- a/pyro_models/arm/earnings2.py +++ b/pyro_models/arm/earnings2.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.7/earnings2.stan import torch import pyro diff --git a/pyro_models/arm/earnings_latin_square.py b/pyro_models/arm/earnings_latin_square.py index 631b4b5..b0a83da 100644 --- a/pyro_models/arm/earnings_latin_square.py +++ b/pyro_models/arm/earnings_latin_square.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/earnings_latin_square.stan import torch import pyro diff --git a/pyro_models/arm/earnings_latin_square_chr.py b/pyro_models/arm/earnings_latin_square_chr.py index 65a8170..2f6c54e 100644 --- a/pyro_models/arm/earnings_latin_square_chr.py +++ b/pyro_models/arm/earnings_latin_square_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/earnings_latin_square_chr.stan import torch import pyro diff --git a/pyro_models/arm/earnings_vary_si.py b/pyro_models/arm/earnings_vary_si.py index 1e596d0..a713358 100644 --- a/pyro_models/arm/earnings_vary_si.py +++ b/pyro_models/arm/earnings_vary_si.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/earnings_vary_si.stan import torch import pyro diff --git a/pyro_models/arm/earnings_vary_si_chr.py b/pyro_models/arm/earnings_vary_si_chr.py index 17fefef..1c77cd3 100644 --- a/pyro_models/arm/earnings_vary_si_chr.py +++ b/pyro_models/arm/earnings_vary_si_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/earnings_vary_si_chr.stan import torch import pyro diff --git a/pyro_models/arm/election88_ch14.py b/pyro_models/arm/election88_ch14.py index 7b7a955..e0686e8 100644 --- a/pyro_models/arm/election88_ch14.py +++ b/pyro_models/arm/election88_ch14.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.14/election88.stan import torch import pyro diff --git a/pyro_models/arm/election88_ch19.py b/pyro_models/arm/election88_ch19.py index c7bb28c..b6fcde5 100644 --- a/pyro_models/arm/election88_ch19.py +++ b/pyro_models/arm/election88_ch19.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.19/election88.stan import torch import pyro diff --git a/pyro_models/arm/electric.py b/pyro_models/arm/electric.py index dbc4312..3c3d963 100644 --- a/pyro_models/arm/electric.py +++ b/pyro_models/arm/electric.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric.stan import torch import pyro diff --git a/pyro_models/arm/electric_1a.py b/pyro_models/arm/electric_1a.py index 84c2983..f64e66a 100644 --- a/pyro_models/arm/electric_1a.py +++ b/pyro_models/arm/electric_1a.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_1a.stan import torch import pyro diff --git a/pyro_models/arm/electric_1a_chr.py b/pyro_models/arm/electric_1a_chr.py index ddb0ac2..4e30101 100644 --- a/pyro_models/arm/electric_1a_chr.py +++ b/pyro_models/arm/electric_1a_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_1a_chr.stan import torch import pyro diff --git a/pyro_models/arm/electric_1b.py b/pyro_models/arm/electric_1b.py index 5f476f1..2b09222 100644 --- a/pyro_models/arm/electric_1b.py +++ b/pyro_models/arm/electric_1b.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_1b.stan import torch import pyro diff --git a/pyro_models/arm/electric_1b_chr.py b/pyro_models/arm/electric_1b_chr.py index 386f3c2..9864cee 100644 --- a/pyro_models/arm/electric_1b_chr.py +++ b/pyro_models/arm/electric_1b_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_1b.stan import torch import pyro diff --git a/pyro_models/arm/electric_1c.py b/pyro_models/arm/electric_1c.py index cf9d7df..ea1d700 100644 --- a/pyro_models/arm/electric_1c.py +++ b/pyro_models/arm/electric_1c.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_1c.stan import torch import pyro diff --git a/pyro_models/arm/electric_1c_chr.py b/pyro_models/arm/electric_1c_chr.py index 16d69d9..f8a91eb 100644 --- a/pyro_models/arm/electric_1c_chr.py +++ b/pyro_models/arm/electric_1c_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_1c_chr.stan import torch import pyro diff --git a/pyro_models/arm/electric_chr.py b/pyro_models/arm/electric_chr.py index 83d069e..534a482 100644 --- a/pyro_models/arm/electric_chr.py +++ b/pyro_models/arm/electric_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_chr.stan import torch import pyro diff --git a/pyro_models/arm/electric_inter.py b/pyro_models/arm/electric_inter.py index 5107af9..22e29be 100644 --- a/pyro_models/arm/electric_inter.py +++ b/pyro_models/arm/electric_inter.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.9/electric_inter.stan import torch import pyro diff --git a/pyro_models/arm/electric_multi_preds.py b/pyro_models/arm/electric_multi_preds.py index 364c2be..714ff4b 100644 --- a/pyro_models/arm/electric_multi_preds.py +++ b/pyro_models/arm/electric_multi_preds.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_multi_preds.stan import torch import pyro diff --git a/pyro_models/arm/electric_one_pred.py b/pyro_models/arm/electric_one_pred.py index 043c8c0..d65e98a 100644 --- a/pyro_models/arm/electric_one_pred.py +++ b/pyro_models/arm/electric_one_pred.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.23/electric_one_pred.stan import torch import pyro diff --git a/pyro_models/arm/electric_supp.py b/pyro_models/arm/electric_supp.py index cb17b7d..a2786b3 100644 --- a/pyro_models/arm/electric_supp.py +++ b/pyro_models/arm/electric_supp.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.9/electric_supp.stan import torch import pyro diff --git a/pyro_models/arm/electric_tr.py b/pyro_models/arm/electric_tr.py index b9c5b04..518d52a 100644 --- a/pyro_models/arm/electric_tr.py +++ b/pyro_models/arm/electric_tr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.9/electric_tr.stan import torch import pyro diff --git a/pyro_models/arm/electric_trpre.py b/pyro_models/arm/electric_trpre.py index 483cf8e..8f9a76e 100644 --- a/pyro_models/arm/electric_trpre.py +++ b/pyro_models/arm/electric_trpre.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.9/electric_trpre.stan import torch import pyro diff --git a/pyro_models/arm/grades.py b/pyro_models/arm/grades.py index 4bcb264..634c117 100644 --- a/pyro_models/arm/grades.py +++ b/pyro_models/arm/grades.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.8/grades.stan import torch import pyro diff --git a/pyro_models/arm/hiv.py b/pyro_models/arm/hiv.py index 993d774..bab698c 100644 --- a/pyro_models/arm/hiv.py +++ b/pyro_models/arm/hiv.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.20/hiv.stan import torch import pyro diff --git a/pyro_models/arm/hiv_chr.py b/pyro_models/arm/hiv_chr.py index abd5edd..a76c81b 100644 --- a/pyro_models/arm/hiv_chr.py +++ b/pyro_models/arm/hiv_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.20/hiv_chr.stan import torch import pyro diff --git a/pyro_models/arm/hiv_inter.py b/pyro_models/arm/hiv_inter.py index c3ef1fd..c811ef8 100644 --- a/pyro_models/arm/hiv_inter.py +++ b/pyro_models/arm/hiv_inter.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.20/hiv_inter.stan import torch import pyro diff --git a/pyro_models/arm/hiv_inter_chr.py b/pyro_models/arm/hiv_inter_chr.py index aa7883b..3172707 100644 --- a/pyro_models/arm/hiv_inter_chr.py +++ b/pyro_models/arm/hiv_inter_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.20/hiv_inter_chr.stan import torch import pyro diff --git a/pyro_models/arm/ideo_interactions.py b/pyro_models/arm/ideo_interactions.py index 7dbf59e..7aba227 100644 --- a/pyro_models/arm/ideo_interactions.py +++ b/pyro_models/arm/ideo_interactions.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.10/ideo_interactions.stan import torch import pyro diff --git a/pyro_models/arm/ideo_reparam.py b/pyro_models/arm/ideo_reparam.py index 8a2fbbd..03bd5bc 100644 --- a/pyro_models/arm/ideo_reparam.py +++ b/pyro_models/arm/ideo_reparam.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.10/ideo_reparam.stan import torch import pyro diff --git a/pyro_models/arm/kidiq_interaction.py b/pyro_models/arm/kidiq_interaction.py index c60fd20..c2a9fcc 100644 --- a/pyro_models/arm/kidiq_interaction.py +++ b/pyro_models/arm/kidiq_interaction.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.3/kidiq_interaction.stan import torch import pyro diff --git a/pyro_models/arm/kidiq_interaction_c.py b/pyro_models/arm/kidiq_interaction_c.py index 16213f4..e7769bf 100644 --- a/pyro_models/arm/kidiq_interaction_c.py +++ b/pyro_models/arm/kidiq_interaction_c.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/kidiq_interaction_c.stan import torch import pyro diff --git a/pyro_models/arm/kidiq_interaction_c2.py b/pyro_models/arm/kidiq_interaction_c2.py index f0f94f8..0e18e1f 100644 --- a/pyro_models/arm/kidiq_interaction_c2.py +++ b/pyro_models/arm/kidiq_interaction_c2.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/kidiq_interaction_c2.stan import torch import pyro diff --git a/pyro_models/arm/kidiq_interaction_z.py b/pyro_models/arm/kidiq_interaction_z.py index 82aea3e..37d25b5 100644 --- a/pyro_models/arm/kidiq_interaction_z.py +++ b/pyro_models/arm/kidiq_interaction_z.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/kidiq_interaction_z.stan import torch import pyro diff --git a/pyro_models/arm/kidiq_multi_preds.py b/pyro_models/arm/kidiq_multi_preds.py index 38fb2ee..c163c31 100644 --- a/pyro_models/arm/kidiq_multi_preds.py +++ b/pyro_models/arm/kidiq_multi_preds.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.3/kidiq_multi_preds.stan import torch import pyro diff --git a/pyro_models/arm/kidscore_momhs.py b/pyro_models/arm/kidscore_momhs.py index ac2dc20..5c56b6e 100644 --- a/pyro_models/arm/kidscore_momhs.py +++ b/pyro_models/arm/kidscore_momhs.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.3/kidscore_momhs.stan import torch import pyro diff --git a/pyro_models/arm/kidscore_momiq.py b/pyro_models/arm/kidscore_momiq.py index a6124bf..ba37fb0 100644 --- a/pyro_models/arm/kidscore_momiq.py +++ b/pyro_models/arm/kidscore_momiq.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.3/kidscore_momiq.stan import torch import pyro diff --git a/pyro_models/arm/kidscore_momwork.py b/pyro_models/arm/kidscore_momwork.py index 61fbad2..f5f7bbd 100644 --- a/pyro_models/arm/kidscore_momwork.py +++ b/pyro_models/arm/kidscore_momwork.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/kidscore_momwork.stan import torch import pyro diff --git a/pyro_models/arm/latent_glm.py b/pyro_models/arm/latent_glm.py index fa658d6..3fcf7fa 100644 --- a/pyro_models/arm/latent_glm.py +++ b/pyro_models/arm/latent_glm.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.17/17.7_latent_glm.stan import torch import pyro diff --git a/pyro_models/arm/log10earn_height.py b/pyro_models/arm/log10earn_height.py index 909319c..f90e4be 100644 --- a/pyro_models/arm/log10earn_height.py +++ b/pyro_models/arm/log10earn_height.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/log10earn_height.stan import torch import pyro diff --git a/pyro_models/arm/logearn_height.py b/pyro_models/arm/logearn_height.py index f0a8737..1aa7e61 100644 --- a/pyro_models/arm/logearn_height.py +++ b/pyro_models/arm/logearn_height.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/logearn_height.stan import torch import pyro diff --git a/pyro_models/arm/logearn_height_male.py b/pyro_models/arm/logearn_height_male.py index 95656c6..5f0b3cd 100644 --- a/pyro_models/arm/logearn_height_male.py +++ b/pyro_models/arm/logearn_height_male.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/logearn_height_male.stan import torch import pyro diff --git a/pyro_models/arm/logearn_interaction.py b/pyro_models/arm/logearn_interaction.py index 974263a..431c228 100644 --- a/pyro_models/arm/logearn_interaction.py +++ b/pyro_models/arm/logearn_interaction.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/logearn_interaction.stan import torch import pyro diff --git a/pyro_models/arm/logearn_interaction_z.py b/pyro_models/arm/logearn_interaction_z.py index c5da9bc..f0442b8 100644 --- a/pyro_models/arm/logearn_interaction_z.py +++ b/pyro_models/arm/logearn_interaction_z.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/logearn_interaction_z.stan import torch import pyro diff --git a/pyro_models/arm/logearn_logheight.py b/pyro_models/arm/logearn_logheight.py index 09b4d0a..19c7678 100644 --- a/pyro_models/arm/logearn_logheight.py +++ b/pyro_models/arm/logearn_logheight.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/logearn_logheight.stan import torch import pyro diff --git a/pyro_models/arm/mesquite.py b/pyro_models/arm/mesquite.py index 24a6b7f..8f251f5 100644 --- a/pyro_models/arm/mesquite.py +++ b/pyro_models/arm/mesquite.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/mesquite.stan import torch import pyro diff --git a/pyro_models/arm/mesquite_log.py b/pyro_models/arm/mesquite_log.py index 0d2aace..9e6bf36 100644 --- a/pyro_models/arm/mesquite_log.py +++ b/pyro_models/arm/mesquite_log.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/mesquite_log.stan import torch import pyro diff --git a/pyro_models/arm/mesquite_va.py b/pyro_models/arm/mesquite_va.py index 08a92b9..a4b9512 100644 --- a/pyro_models/arm/mesquite_va.py +++ b/pyro_models/arm/mesquite_va.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/mesquite_va.stan import torch import pyro diff --git a/pyro_models/arm/mesquite_vas.py b/pyro_models/arm/mesquite_vas.py index 5345573..8639576 100644 --- a/pyro_models/arm/mesquite_vas.py +++ b/pyro_models/arm/mesquite_vas.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/mesquite_vas.stan import torch import pyro diff --git a/pyro_models/arm/mesquite_vash.py b/pyro_models/arm/mesquite_vash.py index 8998d08..edd005e 100644 --- a/pyro_models/arm/mesquite_vash.py +++ b/pyro_models/arm/mesquite_vash.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/mesquite_vash.stan import torch import pyro diff --git a/pyro_models/arm/mesquite_volume.py b/pyro_models/arm/mesquite_volume.py index 32644f1..c7432d5 100644 --- a/pyro_models/arm/mesquite_volume.py +++ b/pyro_models/arm/mesquite_volume.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.4/mesquite_volume.stan import torch import pyro diff --git a/pyro_models/arm/multilevel_logistic.py b/pyro_models/arm/multilevel_logistic.py index 0d74966..4ee7e67 100644 --- a/pyro_models/arm/multilevel_logistic.py +++ b/pyro_models/arm/multilevel_logistic.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.17/17.4_multilevel_logistic.stan import torch import pyro diff --git a/pyro_models/arm/pilots_ch13.py b/pyro_models/arm/pilots_ch13.py index a660fb1..8709eae 100644 --- a/pyro_models/arm/pilots_ch13.py +++ b/pyro_models/arm/pilots_ch13.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/pilots.stan import torch import pyro diff --git a/pyro_models/arm/pilots_ch14.py b/pyro_models/arm/pilots_ch14.py index 6cf79e2..5370dcb 100644 --- a/pyro_models/arm/pilots_ch14.py +++ b/pyro_models/arm/pilots_ch14.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.14/pilots.stan import torch import pyro diff --git a/pyro_models/arm/pilots_chr_ch13.py b/pyro_models/arm/pilots_chr_ch13.py index 0ea5af2..ca67f7c 100644 --- a/pyro_models/arm/pilots_chr_ch13.py +++ b/pyro_models/arm/pilots_chr_ch13.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/pilots_chr.stan import torch import pyro diff --git a/pyro_models/arm/pilots_chr_ch14.py b/pyro_models/arm/pilots_chr_ch14.py index 71100b1..7afb684 100644 --- a/pyro_models/arm/pilots_chr_ch14.py +++ b/pyro_models/arm/pilots_chr_ch14.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.14/pilots_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon.py b/pyro_models/arm/radon.py index 152daf4..a316f25 100644 --- a/pyro_models/arm/radon.py +++ b/pyro_models/arm/radon.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.19/radon.stan import torch import pyro diff --git a/pyro_models/arm/radon_chr.py b/pyro_models/arm/radon_chr.py index 4b196a6..135d2dc 100644 --- a/pyro_models/arm/radon_chr.py +++ b/pyro_models/arm/radon_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.19/radon_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_complete_pool.py b/pyro_models/arm/radon_complete_pool.py index 65a57aa..1ccc00a 100644 --- a/pyro_models/arm/radon_complete_pool.py +++ b/pyro_models/arm/radon_complete_pool.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.12/radon_complete_pool.stan import torch import pyro diff --git a/pyro_models/arm/radon_group.py b/pyro_models/arm/radon_group.py index f6e2598..8989091 100644 --- a/pyro_models/arm/radon_group.py +++ b/pyro_models/arm/radon_group.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.12/radon_group.stan import torch import pyro diff --git a/pyro_models/arm/radon_group_chr.py b/pyro_models/arm/radon_group_chr.py index 61166d5..2d561f6 100644 --- a/pyro_models/arm/radon_group_chr.py +++ b/pyro_models/arm/radon_group_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.12/radon_group_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_inter_vary.py b/pyro_models/arm/radon_inter_vary.py index c8f19f9..a207bba 100644 --- a/pyro_models/arm/radon_inter_vary.py +++ b/pyro_models/arm/radon_inter_vary.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/radon_inter_vary.stan import torch import pyro diff --git a/pyro_models/arm/radon_inter_vary_chr.py b/pyro_models/arm/radon_inter_vary_chr.py index eba0bf6..212562b 100644 --- a/pyro_models/arm/radon_inter_vary_chr.py +++ b/pyro_models/arm/radon_inter_vary_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/radon_inter_vary_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_intercept.py b/pyro_models/arm/radon_intercept.py index 71b49c6..dfc5a92 100644 --- a/pyro_models/arm/radon_intercept.py +++ b/pyro_models/arm/radon_intercept.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.12/radon_intercept.stan import torch import pyro diff --git a/pyro_models/arm/radon_intercept_chr.py b/pyro_models/arm/radon_intercept_chr.py index 0ec0c09..201d8f1 100644 --- a/pyro_models/arm/radon_intercept_chr.py +++ b/pyro_models/arm/radon_intercept_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.12/radon_intercept_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_no_pool.py b/pyro_models/arm/radon_no_pool.py index 988d402..030e923 100644 --- a/pyro_models/arm/radon_no_pool.py +++ b/pyro_models/arm/radon_no_pool.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.12/radon_no_pool.stan import torch import pyro diff --git a/pyro_models/arm/radon_no_pool_chr.py b/pyro_models/arm/radon_no_pool_chr.py index c6165d7..21d460e 100644 --- a/pyro_models/arm/radon_no_pool_chr.py +++ b/pyro_models/arm/radon_no_pool_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.12/radon_no_pool_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_redundant.py b/pyro_models/arm/radon_redundant.py index 55c83af..1f34130 100644 --- a/pyro_models/arm/radon_redundant.py +++ b/pyro_models/arm/radon_redundant.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.19/radon_redundant.stan import torch import pyro diff --git a/pyro_models/arm/radon_redundant_chr.py b/pyro_models/arm/radon_redundant_chr.py index 2a1914c..3dcacbe 100644 --- a/pyro_models/arm/radon_redundant_chr.py +++ b/pyro_models/arm/radon_redundant_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.19/radon_redundant_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_intercept_floor.py b/pyro_models/arm/radon_vary_intercept_floor.py index d1ee67c..e984caa 100644 --- a/pyro_models/arm/radon_vary_intercept_floor.py +++ b/pyro_models/arm/radon_vary_intercept_floor.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.21/radon_vary_intercept_floor.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_intercept_floor2.py b/pyro_models/arm/radon_vary_intercept_floor2.py index d83ab43..de00f35 100644 --- a/pyro_models/arm/radon_vary_intercept_floor2.py +++ b/pyro_models/arm/radon_vary_intercept_floor2.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.21/radon_vary_intercept_floor2.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_intercept_floor2_chr.py b/pyro_models/arm/radon_vary_intercept_floor2_chr.py index 1abc730..290c675 100644 --- a/pyro_models/arm/radon_vary_intercept_floor2_chr.py +++ b/pyro_models/arm/radon_vary_intercept_floor2_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.21/radon_vary_intercept_floor2_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_intercept_floor_chr.py b/pyro_models/arm/radon_vary_intercept_floor_chr.py index e53cb78..76280a8 100644 --- a/pyro_models/arm/radon_vary_intercept_floor_chr.py +++ b/pyro_models/arm/radon_vary_intercept_floor_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.21/radon_vary_intercept_floor_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_intercept_nofloor.py b/pyro_models/arm/radon_vary_intercept_nofloor.py index beb67df..df8f983 100644 --- a/pyro_models/arm/radon_vary_intercept_nofloor.py +++ b/pyro_models/arm/radon_vary_intercept_nofloor.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.21/radon_vary_intercept_nofloor.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_intercept_nofloor_chr.py b/pyro_models/arm/radon_vary_intercept_nofloor_chr.py index 27a0d2e..798ba22 100644 --- a/pyro_models/arm/radon_vary_intercept_nofloor_chr.py +++ b/pyro_models/arm/radon_vary_intercept_nofloor_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.21/radon_vary_intercept_nofloor_chr.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_si.py b/pyro_models/arm/radon_vary_si.py index e7aaad8..e8bbcc6 100644 --- a/pyro_models/arm/radon_vary_si.py +++ b/pyro_models/arm/radon_vary_si.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/radon_vary_si.stan import torch import pyro diff --git a/pyro_models/arm/radon_vary_si_chr.py b/pyro_models/arm/radon_vary_si_chr.py index dce2db6..21a0d63 100644 --- a/pyro_models/arm/radon_vary_si_chr.py +++ b/pyro_models/arm/radon_vary_si_chr.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/radon_vary_si_chr.stan import torch import pyro diff --git a/pyro_models/arm/roaches_overdispersion.py b/pyro_models/arm/roaches_overdispersion.py index b0861ae..fb3e607 100644 --- a/pyro_models/arm/roaches_overdispersion.py +++ b/pyro_models/arm/roaches_overdispersion.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.8/roaches_overdispersion.stan import torch import pyro diff --git a/pyro_models/arm/separation.py b/pyro_models/arm/separation.py index e8355b9..cfcfa48 100644 --- a/pyro_models/arm/separation.py +++ b/pyro_models/arm/separation.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/separation.stan import torch import pyro diff --git a/pyro_models/arm/sesame_multi_preds_3a.py b/pyro_models/arm/sesame_multi_preds_3a.py index 90670f6..566ee37 100644 --- a/pyro_models/arm/sesame_multi_preds_3a.py +++ b/pyro_models/arm/sesame_multi_preds_3a.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.10/sesame_multi_preds_3a.stan import torch import pyro diff --git a/pyro_models/arm/sesame_multi_preds_3b.py b/pyro_models/arm/sesame_multi_preds_3b.py index d717eff..fea7fce 100644 --- a/pyro_models/arm/sesame_multi_preds_3b.py +++ b/pyro_models/arm/sesame_multi_preds_3b.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.10/sesame_multi_preds_3b.stan import torch import pyro diff --git a/pyro_models/arm/sesame_one_pred_2b.py b/pyro_models/arm/sesame_one_pred_2b.py index 7c4349f..d38bdd2 100644 --- a/pyro_models/arm/sesame_one_pred_2b.py +++ b/pyro_models/arm/sesame_one_pred_2b.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.10/sesame_one_pred_2b.stan import torch import pyro diff --git a/pyro_models/arm/sesame_one_pred_a.py b/pyro_models/arm/sesame_one_pred_a.py index 5c7303d..45e0631 100644 --- a/pyro_models/arm/sesame_one_pred_a.py +++ b/pyro_models/arm/sesame_one_pred_a.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.10/sesame_one_pred_a.stan import torch import pyro diff --git a/pyro_models/arm/unemployment.py b/pyro_models/arm/unemployment.py index 4aecd63..120a029 100644 --- a/pyro_models/arm/unemployment.py +++ b/pyro_models/arm/unemployment.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.8/unemployment.stan import torch import pyro diff --git a/pyro_models/arm/weight.py b/pyro_models/arm/weight.py index 17633c3..2c47043 100644 --- a/pyro_models/arm/weight.py +++ b/pyro_models/arm/weight.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.18/weight.stan import torch import pyro diff --git a/pyro_models/arm/wells.py b/pyro_models/arm/wells.py index 4ebac4b..754ed67 100644 --- a/pyro_models/arm/wells.py +++ b/pyro_models/arm/wells.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.7/wells.stan import torch import pyro diff --git a/pyro_models/arm/wells_d100ars.py b/pyro_models/arm/wells_d100ars.py index 5e1b2fb..a0c320f 100644 --- a/pyro_models/arm/wells_d100ars.py +++ b/pyro_models/arm/wells_d100ars.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_d100ars.stan import torch import pyro diff --git a/pyro_models/arm/wells_daae_c.py b/pyro_models/arm/wells_daae_c.py index 1d17273..131201a 100644 --- a/pyro_models/arm/wells_daae_c.py +++ b/pyro_models/arm/wells_daae_c.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_daae_c.stan import torch import pyro diff --git a/pyro_models/arm/wells_dae.py b/pyro_models/arm/wells_dae.py index 23cf870..39fe34e 100644 --- a/pyro_models/arm/wells_dae.py +++ b/pyro_models/arm/wells_dae.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_dae.stan import torch import pyro diff --git a/pyro_models/arm/wells_dae_c.py b/pyro_models/arm/wells_dae_c.py index 4e39ef3..4d237fc 100644 --- a/pyro_models/arm/wells_dae_c.py +++ b/pyro_models/arm/wells_dae_c.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_dae_c.stan import torch import pyro diff --git a/pyro_models/arm/wells_dae_inter.py b/pyro_models/arm/wells_dae_inter.py index ed0a18b..11f4f72 100644 --- a/pyro_models/arm/wells_dae_inter.py +++ b/pyro_models/arm/wells_dae_inter.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_dae_inter.stan import torch import pyro diff --git a/pyro_models/arm/wells_dae_inter_c.py b/pyro_models/arm/wells_dae_inter_c.py index 4f11a6c..6df03b1 100644 --- a/pyro_models/arm/wells_dae_inter_c.py +++ b/pyro_models/arm/wells_dae_inter_c.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_dae_inter_c.stan import torch import pyro diff --git a/pyro_models/arm/wells_dist.py b/pyro_models/arm/wells_dist.py index 34f15ec..346ddd6 100644 --- a/pyro_models/arm/wells_dist.py +++ b/pyro_models/arm/wells_dist.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_dist.stan import torch import pyro diff --git a/pyro_models/arm/wells_dist100.py b/pyro_models/arm/wells_dist100.py index 19725ee..05c340e 100644 --- a/pyro_models/arm/wells_dist100.py +++ b/pyro_models/arm/wells_dist100.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_dist100.stan import torch import pyro diff --git a/pyro_models/arm/wells_interaction.py b/pyro_models/arm/wells_interaction.py index 2001208..39ae00c 100644 --- a/pyro_models/arm/wells_interaction.py +++ b/pyro_models/arm/wells_interaction.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_interaction.stan import torch import pyro diff --git a/pyro_models/arm/wells_interaction_c.py b/pyro_models/arm/wells_interaction_c.py index 1908a45..728ab15 100644 --- a/pyro_models/arm/wells_interaction_c.py +++ b/pyro_models/arm/wells_interaction_c.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_interaction_c.stan import torch import pyro diff --git a/pyro_models/arm/wells_logit.py b/pyro_models/arm/wells_logit.py index cd3a3a1..10c5a2a 100644 --- a/pyro_models/arm/wells_logit.py +++ b/pyro_models/arm/wells_logit.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.6/wells_logit.stan import torch import pyro diff --git a/pyro_models/arm/wells_predicted.py b/pyro_models/arm/wells_predicted.py index 1dd6c18..119552b 100644 --- a/pyro_models/arm/wells_predicted.py +++ b/pyro_models/arm/wells_predicted.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.5/wells_predicted.stan import torch import pyro diff --git a/pyro_models/arm/wells_probit.py b/pyro_models/arm/wells_probit.py index 47b9f0a..b5dc141 100644 --- a/pyro_models/arm/wells_probit.py +++ b/pyro_models/arm/wells_probit.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.6/wells_probit.stan import torch import pyro diff --git a/pyro_models/arm/y_x.py b/pyro_models/arm/y_x.py index 7a319fc..03067d3 100644 --- a/pyro_models/arm/y_x.py +++ b/pyro_models/arm/y_x.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/ARM/Ch.13/y_x.stan import torch import pyro diff --git a/pyro_models/bcm/bernoulli.py b/pyro_models/bcm/bernoulli.py index 9f6e2cc..042ba0b 100644 --- a/pyro_models/bcm/bernoulli.py +++ b/pyro_models/bcm/bernoulli.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/basic_estimators/bernoulli.stan import torch import pyro diff --git a/pyro_models/bcm/rate_1.py b/pyro_models/bcm/rate_1.py index 0f9bdba..caba077 100644 --- a/pyro_models/bcm/rate_1.py +++ b/pyro_models/bcm/rate_1.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/Bayesian_Cognitive_Modeling/GettingStarted/Rate_1.stan import torch import pyro diff --git a/pyro_models/bcm/rate_2.py b/pyro_models/bcm/rate_2.py index 4a420fe..9262751 100644 --- a/pyro_models/bcm/rate_2.py +++ b/pyro_models/bcm/rate_2.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_2.stan import torch import pyro diff --git a/pyro_models/bcm/rate_3.py b/pyro_models/bcm/rate_3.py index d24b80c..8d0822f 100644 --- a/pyro_models/bcm/rate_3.py +++ b/pyro_models/bcm/rate_3.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_3.stan import torch import pyro diff --git a/pyro_models/bcm/rate_4.py b/pyro_models/bcm/rate_4.py index 18a58ce..165b0bb 100644 --- a/pyro_models/bcm/rate_4.py +++ b/pyro_models/bcm/rate_4.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/Bayesian_Cognitive_Modeling/ParameterEstimation/Binomial/Rate_4.stan import torch import pyro diff --git a/pyro_models/bugs/beetles_probit.py b/pyro_models/bugs/beetles_probit.py index b5fa31a..60c9efa 100644 --- a/pyro_models/bugs/beetles_probit.py +++ b/pyro_models/bugs/beetles_probit.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/bugs_examples/vol2/beetles/beetles_probit.stan import torch import pyro diff --git a/pyro_models/bugs/dyes.py b/pyro_models/bugs/dyes.py index b7ac4e2..ded319e 100644 --- a/pyro_models/bugs/dyes.py +++ b/pyro_models/bugs/dyes.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/bugs_examples/vol1/dyes/dyes.stan import torch import pyro diff --git a/pyro_models/bugs/litter.py b/pyro_models/bugs/litter.py index bb53620..f556013 100644 --- a/pyro_models/bugs/litter.py +++ b/pyro_models/bugs/litter.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/bugs_examples/vol1/litter/litter.stan import torch import pyro diff --git a/pyro_models/bugs/lsat.py b/pyro_models/bugs/lsat.py index 5d98db3..8d0b08e 100644 --- a/pyro_models/bugs/lsat.py +++ b/pyro_models/bugs/lsat.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/bugs_examples/vol1/lsat/lsat.stan import torch import pyro diff --git a/pyro_models/bugs/pump.py b/pyro_models/bugs/pump.py index 03cd7cb..6ea7e69 100644 --- a/pyro_models/bugs/pump.py +++ b/pyro_models/bugs/pump.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/bugs_examples/vol1/pump/pump.stan import torch import pyro diff --git a/pyro_models/load.py b/pyro_models/load.py index 2b524a7..45d2001 100644 --- a/pyro_models/load.py +++ b/pyro_models/load.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + import pyro_models import os import importlib diff --git a/pyro_models/misc/eight_schools.py b/pyro_models/misc/eight_schools.py index ff333c0..3e4e463 100644 --- a/pyro_models/misc/eight_schools.py +++ b/pyro_models/misc/eight_schools.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/misc/eight_schools/eight_schools.stan import torch import pyro diff --git a/pyro_models/misc/irt.py b/pyro_models/misc/irt.py index d6ce702..86ce0f4 100644 --- a/pyro_models/misc/irt.py +++ b/pyro_models/misc/irt.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/misc/irt/irt.stan import torch import pyro diff --git a/pyro_models/misc/irt2.py b/pyro_models/misc/irt2.py index 2677955..fef78c6 100644 --- a/pyro_models/misc/irt2.py +++ b/pyro_models/misc/irt2.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/misc/irt/irt2.stan import torch import pyro diff --git a/pyro_models/misc/irt2_multilevel.py b/pyro_models/misc/irt2_multilevel.py index 1b07b36..36a43c7 100644 --- a/pyro_models/misc/irt2_multilevel.py +++ b/pyro_models/misc/irt2_multilevel.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/misc/irt/irt2_multilevel.stan import torch import pyro diff --git a/pyro_models/misc/irt_multilevel.py b/pyro_models/misc/irt_multilevel.py index ddb65ec..a56593a 100644 --- a/pyro_models/misc/irt_multilevel.py +++ b/pyro_models/misc/irt_multilevel.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/misc/irt/irt_multilevel.stan import torch import pyro diff --git a/pyro_models/misc/ma2.py b/pyro_models/misc/ma2.py index 7d1cba0..42ce9b2 100644 --- a/pyro_models/misc/ma2.py +++ b/pyro_models/misc/ma2.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/misc/moving-avg/ma2.stan import torch import pyro diff --git a/pyro_models/misc/stochastic-volatility-optimized.py b/pyro_models/misc/stochastic-volatility-optimized.py index c6c6b20..da9b021 100644 --- a/pyro_models/misc/stochastic-volatility-optimized.py +++ b/pyro_models/misc/stochastic-volatility-optimized.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + # model file: example-models/misc/moving-avg/stochastic-volatility-optimized.stan import torch import pyro diff --git a/pyro_models/utils.py b/pyro_models/utils.py index b74cf59..fa4d911 100644 --- a/pyro_models/utils.py +++ b/pyro_models/utils.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + import json import os from six import string_types diff --git a/setup.py b/setup.py index f0be8e4..2f0d94c 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + from __future__ import absolute_import, division, print_function from setuptools import find_packages, setup diff --git a/tests/ess.py b/tests/ess.py index 7d3767b..3097704 100644 --- a/tests/ess.py +++ b/tests/ess.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + from __future__ import absolute_import, division, print_function import math diff --git a/tests/test_models.py b/tests/test_models.py index 461c35d..195a0ba 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -1,3 +1,6 @@ +# Copyright Contributors to the Pyro project. +# SPDX-License-Identifier: Apache-2.0 + import argparse import sys