From f302041ddcd1b6a60030d70805041a13c5a2fce5 Mon Sep 17 00:00:00 2001 From: RektPunk Date: Sat, 7 Sep 2024 16:55:50 +0900 Subject: [PATCH] fix typo in objective --- mqboost/objective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqboost/objective.py b/mqboost/objective.py index 1901618..72fe4f4 100644 --- a/mqboost/objective.py +++ b/mqboost/objective.py @@ -171,7 +171,7 @@ def __init__( epsilon: float, ) -> None: """Initialize the MQObjective.""" - if object == ObjectiveName.check: + if objective == ObjectiveName.check: self._fobj = partial(check_loss_grad_hess, alphas=alphas) elif objective == ObjectiveName.huber: _delta = delta_validate(delta=delta)