From 0f230168a971d943d910dd0ff4baa9ba5b208dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20M=C3=A4rz?= Date: Tue, 8 Aug 2023 11:01:00 +0200 Subject: [PATCH] Removed unnecessary functions --- xgboostlss/model.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/xgboostlss/model.py b/xgboostlss/model.py index f419aa7d..381a9873 100644 --- a/xgboostlss/model.py +++ b/xgboostlss/model.py @@ -42,13 +42,6 @@ def __init__(self, dist): self.multivariate_label_expand = False self.multivariate_eval_label_expand = False - def __getstate__(self): - state = self.__dict__.copy() # Copy the object's state - return state - - def __setstate__(self, state): - self.__dict__.update(state) # Restore the object's state - def set_params_adj(self, params: Dict[str, Any]) -> Dict[str, Any]: """ Set parameters for distributional model.