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

MNT remove author and license in GLM files #28799

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

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 4 sklearn/linear_model/_glm/__init__.py
Original file line number Diff line number Diff line change
@@ -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 5 sklearn/linear_model/_glm/_newton_solver.py
Original file line number Diff line number Diff line change
@@ -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 6 sklearn/linear_model/_glm/glm.py
Original file line number Diff line number Diff line change
@@ -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 3 sklearn/linear_model/_glm/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# License: BSD 3 clause
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
6 changes: 2 additions & 4 deletions 6 sklearn/linear_model/_glm/tests/test_glm.py
Original file line number Diff line number Diff line change
@@ -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
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.