Skip to content

Commit

Permalink
Set default estimator to STree
Browse files Browse the repository at this point in the history
  • Loading branch information
rmontanana committed Jul 28, 2024
1 parent 02e75b3 commit b19264b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion odte/Odte.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Build a forest of oblique trees based on STree, admits any base classifier
as well
"""

from __future__ import annotations
import random
import json
Expand All @@ -31,7 +32,7 @@ def __init__(
self,
# n_jobs = -1 to use all available cores
n_jobs: int = -1,
estimator: BaseEstimator = None,
estimator: BaseEstimator = Stree(),
random_state: int = 0,
max_features: Optional[Union[str, int, float]] = None,
max_samples: Optional[Union[int, float]] = None,
Expand Down

0 comments on commit b19264b

Please sign in to comment.