Skip to content

Commit

Permalink
Update sktree/tests/test_honest_forest.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
PSSF23 and adam2392 authored Jul 5, 2024
1 parent d48bad7 commit f5eff85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sktree/tests/test_honest_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def test_impute_posteriors(honest_prior, val):
("ignore", np.nan),
],
)
def test_ignore_posteriors(honest_prior, val):
def test_honestforest_predict_proba_with_honest_prior(honest_prior, val):
X = rng.normal(0, 1, (100, 2))
y = [0] * 75 + [1] * 25
clf = HonestForestClassifier(
Expand Down

0 comments on commit f5eff85

Please sign in to comment.