Skip to content

Commit 48893a0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a60c001 commit 48893a0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

machine_learning/catboost_regressor.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ def catboost_regressor(features: np.ndarray, target: np.ndarray) -> CatBoostRegr
5959
>>> isinstance(model, CatBoostRegressor)
6060
True
6161
"""
62-
regressor = CatBoostRegressor(
63-
iterations=100, learning_rate=0.1, depth=6, verbose=0
64-
)
62+
regressor = CatBoostRegressor(iterations=100, learning_rate=0.1, depth=6, verbose=0)
6563
regressor.fit(features, target)
6664
return regressor
6765

@@ -99,4 +97,4 @@ def main() -> None:
9997
import doctest
10098

10199
doctest.testmod(verbose=True)
102-
main()
100+
main()

0 commit comments

Comments
 (0)