You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
700 B
34 lines
700 B
"""
|
|
The :mod:`sklearn._loss` module includes loss function classes suitable for
|
|
fitting classification and regression tasks.
|
|
"""
|
|
|
|
# Authors: The scikit-learn developers
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
from sklearn._loss.loss import (
|
|
AbsoluteError,
|
|
HalfBinomialLoss,
|
|
HalfGammaLoss,
|
|
HalfMultinomialLoss,
|
|
HalfPoissonLoss,
|
|
HalfSquaredError,
|
|
HalfTweedieLoss,
|
|
HalfTweedieLossIdentity,
|
|
HuberLoss,
|
|
PinballLoss,
|
|
)
|
|
|
|
__all__ = [
|
|
"AbsoluteError",
|
|
"HalfBinomialLoss",
|
|
"HalfGammaLoss",
|
|
"HalfMultinomialLoss",
|
|
"HalfPoissonLoss",
|
|
"HalfSquaredError",
|
|
"HalfTweedieLoss",
|
|
"HalfTweedieLossIdentity",
|
|
"HuberLoss",
|
|
"PinballLoss",
|
|
]
|