Skip to content

Commit

Permalink
removing commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
CDonnerer committed Apr 23, 2022
1 parent 7c4f71c commit 4085dd9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/xgboost_distribution/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,4 @@ def feval(params: np.ndarray, data: DMatrix) -> Tuple[str, float]:
return feval

def _get_base_margin(self, n_samples: int) -> np.ndarray:
return np.ones(shape=(n_samples, 1)) * np.array(
self._starting_params
) # .flatten()
return np.ones(shape=(n_samples, 1)) * np.array(self._starting_params)

0 comments on commit 4085dd9

Please sign in to comment.