Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed pruning_purity_threshold default in docs #231

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed pruning_purity_threshold default in docs
  • Loading branch information
mossr authored Jan 30, 2024
commit 6f62305a42f667bd522b942e8e9d89ef41e3a85e
4 changes: 2 additions & 2 deletions src/scikitlearnAPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ScikitLearnBase:
# Classifier

"""
DecisionTreeClassifier(; pruning_purity_threshold=0.0,
DecisionTreeClassifier(; pruning_purity_threshold=1.0,
max_depth::Int=-1,
min_samples_leaf::Int=1,
min_samples_split::Int=2,
Expand Down Expand Up @@ -132,7 +132,7 @@ end
# Regression

"""
DecisionTreeRegressor(; pruning_purity_threshold=0.0,
DecisionTreeRegressor(; pruning_purity_threshold=1.0,
max_depth::Int-1,
min_samples_leaf::Int=5,
min_samples_split::Int=2,
Expand Down