31 lines
607 B
Python
31 lines
607 B
Python
"""
|
|
The :mod:`sklearn._loss` module includes loss function classes suitable for
|
|
fitting classification and regression tasks.
|
|
"""
|
|
|
|
from .loss import (
|
|
AbsoluteError,
|
|
HalfBinomialLoss,
|
|
HalfGammaLoss,
|
|
HalfMultinomialLoss,
|
|
HalfPoissonLoss,
|
|
HalfSquaredError,
|
|
HalfTweedieLoss,
|
|
HalfTweedieLossIdentity,
|
|
HuberLoss,
|
|
PinballLoss,
|
|
)
|
|
|
|
__all__ = [
|
|
"HalfSquaredError",
|
|
"AbsoluteError",
|
|
"PinballLoss",
|
|
"HuberLoss",
|
|
"HalfPoissonLoss",
|
|
"HalfGammaLoss",
|
|
"HalfTweedieLoss",
|
|
"HalfTweedieLossIdentity",
|
|
"HalfBinomialLoss",
|
|
"HalfMultinomialLoss",
|
|
]
|