Skip to content

Commit

Permalink
Removed unnecessary functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander März committed Aug 8, 2023
1 parent 8751c0f commit 0f23016
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions xgboostlss/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0f23016

Please sign in to comment.