Inzynierka/Lib/site-packages/sklearn/_loss/__init__.py

30 lines
576 B
Python
Raw Normal View History

2023-06-02 12:51:02 +02:00
"""
The :mod:`sklearn._loss` module includes loss function classes suitable for
fitting classification and regression tasks.
"""
from .loss import (
HalfSquaredError,
AbsoluteError,
PinballLoss,
HalfPoissonLoss,
HalfGammaLoss,
HalfTweedieLoss,
HalfTweedieLossIdentity,
HalfBinomialLoss,
HalfMultinomialLoss,
)
__all__ = [
"HalfSquaredError",
"AbsoluteError",
"PinballLoss",
"HalfPoissonLoss",
"HalfGammaLoss",
"HalfTweedieLoss",
"HalfTweedieLossIdentity",
"HalfBinomialLoss",
"HalfMultinomialLoss",
]