Skip to content
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

MNT remove author and license in GLM files #28799

Merged
merged 3 commits into from May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,3 +1,5 @@
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
"""
======================================
Poisson regression and non-normal loss
Expand Down Expand Up @@ -36,11 +38,6 @@

"""

# Authors: Christian Lorentzen <lorentzen.ch@gmail.com>
# Roman Yurchak <rth.yurchak@gmail.com>
# Olivier Grisel <olivier.grisel@ensta.org>
# License: BSD 3 clause

import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
Expand Down
@@ -1,3 +1,5 @@
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
"""
======================================
Tweedie regression on insurance claims
Expand Down Expand Up @@ -37,11 +39,6 @@
<https://doi.org/10.2139/ssrn.3164764>`_
"""

# Authors: Christian Lorentzen <lorentzen.ch@gmail.com>
# Roman Yurchak <rth.yurchak@gmail.com>
# Olivier Grisel <olivier.grisel@ensta.org>
# License: BSD 3 clause

# %%

from functools import partial
Expand Down
4 changes: 2 additions & 2 deletions sklearn/linear_model/_glm/__init__.py
@@ -1,5 +1,5 @@
# License: BSD 3 clause

# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
from .glm import (
GammaRegressor,
PoissonRegressor,
Expand Down
5 changes: 2 additions & 3 deletions sklearn/linear_model/_glm/_newton_solver.py
@@ -1,10 +1,9 @@
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
"""
Newton solver for Generalized Linear Models
"""

# Author: Christian Lorentzen <lorentzen.ch@gmail.com>
# License: BSD 3 clause

import warnings
from abc import ABC, abstractmethod

Expand Down
6 changes: 2 additions & 4 deletions sklearn/linear_model/_glm/glm.py
@@ -1,11 +1,9 @@
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
"""
Generalized Linear Models with Exponential Dispersion Family
"""

# Author: Christian Lorentzen <lorentzen.ch@gmail.com>
# some parts and tricks stolen from other sklearn files.
# License: BSD 3 clause

from numbers import Integral, Real

import numpy as np
Expand Down
3 changes: 2 additions & 1 deletion sklearn/linear_model/_glm/tests/__init__.py
@@ -1 +1,2 @@
# License: BSD 3 clause
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
6 changes: 2 additions & 4 deletions sklearn/linear_model/_glm/tests/test_glm.py
@@ -1,7 +1,5 @@
# Authors: Christian Lorentzen <lorentzen.ch@gmail.com>
#
# License: BSD 3 clause

# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
import itertools
import warnings
from functools import partial
Expand Down