File tree 7 files changed +14
-24
lines changed
sklearn/linear_model/_glm 7 files changed +14
-24
lines changed Original file line number Diff line number Diff line change
1
+ # Authors: The scikit-learn developers
2
+ # SPDX-License-Identifier: BSD-3-Clause
1
3
"""
2
4
======================================
3
5
Poisson regression and non-normal loss
36
38
37
39
"""
38
40
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
-
44
41
import matplotlib .pyplot as plt
45
42
import numpy as np
46
43
import pandas as pd
Original file line number Diff line number Diff line change
1
+ # Authors: The scikit-learn developers
2
+ # SPDX-License-Identifier: BSD-3-Clause
1
3
"""
2
4
======================================
3
5
Tweedie regression on insurance claims
37
39
<https://doi.org/10.2139/ssrn.3164764>`_
38
40
"""
39
41
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
-
45
42
# %%
46
43
47
44
from functools import partial
Original file line number Diff line number Diff line change 1
- # License: BSD 3 clause
2
-
1
+ # Authors: The scikit-learn developers
2
+ # SPDX-License-Identifier: BSD-3-Clause
3
3
from .glm import (
4
4
GammaRegressor ,
5
5
PoissonRegressor ,
Original file line number Diff line number Diff line change
1
+ # Authors: The scikit-learn developers
2
+ # SPDX-License-Identifier: BSD-3-Clause
1
3
"""
2
4
Newton solver for Generalized Linear Models
3
5
"""
4
6
5
- # Author: Christian Lorentzen <lorentzen.ch@gmail.com>
6
- # License: BSD 3 clause
7
-
8
7
import warnings
9
8
from abc import ABC , abstractmethod
10
9
Original file line number Diff line number Diff line change
1
+ # Authors: The scikit-learn developers
2
+ # SPDX-License-Identifier: BSD-3-Clause
1
3
"""
2
4
Generalized Linear Models with Exponential Dispersion Family
3
5
"""
4
6
5
- # Author: Christian Lorentzen <lorentzen.ch@gmail.com>
6
- # some parts and tricks stolen from other sklearn files.
7
- # License: BSD 3 clause
8
-
9
7
from numbers import Integral , Real
10
8
11
9
import numpy as np
Original file line number Diff line number Diff line change 1
- # License: BSD 3 clause
1
+ # Authors: The scikit-learn developers
2
+ # SPDX-License-Identifier: BSD-3-Clause
Original file line number Diff line number Diff line change 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
5
3
import itertools
6
4
import warnings
7
5
from functools import partial
You can’t perform that action at this time.
0 commit comments