8000 MNT remove author and license in GLM files (#28799) · scikit-learn/scikit-learn@2d6e1be · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d6e1be

Browse files
authored
MNT remove author and license in GLM files (#28799)
1 parent 2d51510 commit 2d6e1be

File tree

7 files changed

+14
-24
lines changed

7 files changed

+14
-24
lines changed

examples/linear_model/plot_poisson_regression_non_normal_loss.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Authors: The scikit-learn developers
2+
# SPDX-License-Identifier: BSD-3-Clause
13
"""
24
======================================
35
Poisson regression and non-normal loss
@@ -36,11 +38,6 @@
3638
3739
"""
3840

39-
# Authors: Christian Lorentzen <lorentzen.ch@gmail.com>
40-
# Roman Yurchak <rth.yurchak@gmail.com>
41-
# Olivier Grisel <olivier.grisel@ensta.org>
42-
# License: BSD 3 clause
43-
4441
import matplotlib.pyplot as plt
4542
import numpy as np
4643
import pandas as pd

examples/linear_model/plot_tweedie_regression_insurance_claims.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Authors: The scikit-learn developers
2+
# SPDX-License-Identifier: BSD-3-Clause
13
"""
24
======================================
35
Tweedie regression on insurance claims
@@ -37,11 +39,6 @@
3739
<https://doi.org/10.2139/ssrn.3164764>`_
3840
"""
3941

40-
# Authors: Christian Lorentzen <lorentzen.ch@gmail.com>
41-
# Roman Yurchak <rth.yurchak@gmail.com>
42-
# Olivier Grisel <olivier.grisel@ensta.org>
43-
# License: BSD 3 clause
44-
4542
# %%
4643

4744
from functools import partial

sklearn/linear_model/_glm/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# License: BSD 3 clause
2-
1+
# Authors: The scikit-learn developers
2+
# SPDX-License-Identifier: BSD-3-Clause
33
from .glm import (
44
GammaRegressor,
55
PoissonRegressor,

sklearn/linear_model/_glm/_newton_solver.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
# Authors: The scikit-learn developers
2+
# SPDX-License-Identifier: BSD-3-Clause
13
"""
24
Newton solver for Generalized Linear Models
35
"""
46

5-
# Author: Christian Lorentzen <lorentzen.ch@gmail.com>
6-
# License: BSD 3 clause
7-
87
import warnings
98
from abc import ABC, abstractmethod
109

sklearn/linear_model/_glm/glm.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
# Authors: The scikit-learn developers
2+
# SPDX-License-Identifier: BSD-3-Clause
13
"""
24
Generalized Linear Models with Exponential Dispersion Family
35
"""
46

5-
# Author: Christian Lorentzen <lorentzen.ch@gmail.com>
6-
# some parts and tricks stolen from other sklearn files.
7-
# License: BSD 3 clause
8-
97
from numbers import Integral, Real
108

119
import numpy as np
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
# License: BSD 3 clause
1+
# Authors: The scikit-learn developers
2+
# SPDX-License-Identifier: BSD-3-Clause

sklearn/linear_model/_glm/tests/test_glm.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Authors: Christian Lorentzen <lorentzen.ch@gmail.com>
2-
#
3-
# License: BSD 3 clause
4-
1+
# Authors: The scikit-learn developers
2+
# SPDX-License-Identifier: BSD-3-Clause
53
import itertools
64
import warnings
75
from functools import partial

0 commit comments

Comments
 (0)
0