Skip to content

Commit

Permalink
Format black
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson committed Feb 14, 2024
1 parent e583b34 commit b3f39e4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
16 changes: 9 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,15 @@

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [(
"index",
"quantile-forest",
"quantile-forest Documentation",
["Zillow Group"],
1,
)]
man_pages = [
(
"index",
"quantile-forest",
"quantile-forest Documentation",
["Zillow Group"],
1,
)
]

# If true, show URL addresses after external links.
# man_show_urls = False
Expand Down
18 changes: 10 additions & 8 deletions quantile_forest/tests/test_quantile_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,14 +792,16 @@ def test_oob_samples(name):

def check_oob_samples_duplicates(name):
# Check OOB sampling with duplicates.
X = np.array([
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[10, 11, 12],
[13, 14, 15],
[13, 14, 15],
])
X = np.array(
[
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
[10, 11, 12],
[13, 14, 15],
[13, 14, 15],
]
)
y = np.array([-1, 10, 20, 30, 40, 41], dtype=np.float64)

ForestRegressor = FOREST_REGRESSORS[name]
Expand Down

0 comments on commit b3f39e4

Please sign in to comment.