Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4755abd

Browse filesBrowse files
lorentzenchrjeremiedbb
authored andcommitted
MNT remove author and license in GLM files (scikit-learn#28799)
1 parent a9fa632 commit 4755abd
Copy full SHA for 4755abd

File tree

Expand file treeCollapse file tree

7 files changed

+14
-24
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+14
-24
lines changed

‎examples/linear_model/plot_poisson_regression_non_normal_loss.py

Copy file name to clipboardExpand all lines: examples/linear_model/plot_poisson_regression_non_normal_loss.py
+2-5Lines 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

Copy file name to clipboardExpand all lines: examples/linear_model/plot_tweedie_regression_insurance_claims.py
+2-5Lines 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

Copy file name to clipboardExpand all lines: sklearn/linear_model/_glm/__init__.py
+2-2Lines 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

Copy file name to clipboardExpand all lines: sklearn/linear_model/_glm/_newton_solver.py
+2-3Lines 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

Copy file name to clipboardExpand all lines: sklearn/linear_model/_glm/glm.py
+2-4Lines 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
+2-1Lines 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

Copy file name to clipboardExpand all lines: sklearn/linear_model/_glm/tests/test_glm.py
+2-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.