Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoleonmelo committed Mar 22, 2024
1 parent 2999b94 commit 1c93095
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mapie/regression/quantile_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,7 @@ def fit(
checked_estimator = self._check_estimator(self.estimator)
alpha = self._check_alpha(self.alpha)
X, y = indexable(X, y)
random_state = check_random_state(
random_state if random_state is not None else self.random_state
)
random_state = check_random_state(random_state or self.random_state)
results = self._check_calib_set(
X,
y,
Expand Down

0 comments on commit 1c93095

Please sign in to comment.