-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Does surv.ranger not support the max.depth parameter? #427
Comments
I add "surv.ranger" beacause the learner is a GraphLearner, it contain others pipeline.
this is work |
Hi! I can't reproduce this and didn't quite understand the difference between the two posts. Can you please copy your code, run |
I restarted the R studio, and the error disappeared. There might have been a conflict between packages, but I'm not sure which R package caused the issue. |
I could find these parameters:
<ParamSet(29)>
id class lower upper nlevels default value
1: alpha ParamDbl -Inf Inf Inf 0.5
2: always.split.variables ParamUty NA NA Inf <NoDefault[0]>
3: holdout ParamLgl NA NA 2 FALSE
4: importance ParamFct NA NA 4 <NoDefault[0]>
5: keep.inbag ParamLgl NA NA 2 FALSE
6: max.depth ParamInt 0 Inf Inf 10
7: min.node.size ParamInt 1 Inf Inf 5
8: minprop ParamDbl -Inf Inf Inf 0.1
9: mtry ParamInt 1 Inf Inf <NoDefault[0]>
10: mtry.ratio ParamDbl 0 1 Inf <NoDefault[0]>
11: num.random.splits ParamInt 1 Inf Inf 1
12: num.threads ParamInt 1 Inf Inf 1 1
13: num.trees ParamInt 1 Inf Inf 500
14: oob.error ParamLgl NA NA 2 TRUE
15: regularization.factor ParamUty NA NA Inf 1
16: regularization.usedepth ParamLgl NA NA 2 FALSE
17: replace ParamLgl NA NA 2 TRUE
18: respect.unordered.factors ParamFct NA NA 3 ignore
19: sample.fraction ParamDbl 0 1 Inf <NoDefault[0]>
20: save.memory ParamLgl NA NA 2 FALSE
21: scale.permutation.importance ParamLgl NA NA 2 FALSE
22: seed ParamInt -Inf Inf Inf
23: split.select.weights ParamDbl 0 1 Inf <NoDefault[0]>
24: splitrule ParamFct NA NA 4 logrank
25: verbose ParamLgl NA NA 2 TRUE
26: write.forest ParamLgl NA NA 2 TRUE
27: min.bucket ParamInt -Inf Inf Inf 3
28: time.interest ParamInt 1 Inf Inf
29: node.stats ParamLgl NA NA 2 FALSE
id class lower upper nlevels default value
But when I use AutoTuner, the error comes up:
....
INFO [09:19:18.567] [bbotk] surv.ranger.max.depth surv.ranger.min.bucket surv.ranger.min.node.size surv.ranger.num.trees surv.ranger.mtry
INFO [09:19:18.567] [bbotk]
INFO [09:19:18.567] [bbotk] 11 9 11 20 6
INFO [09:19:18.567] [bbotk] learner_param_vals x_domain surv.cindex
INFO [09:19:18.567] [bbotk]
INFO [09:19:18.567] [bbotk] <list[7]> <list[5]> 0.6285598
Error in self$assert(xs, sanitize = TRUE) :
Assertion on 'xs' failed: Parameter 'surv.ranger.max.depth' not available. Did you mean 'alpha' / 'always.split.variables' / 'holdout'?.
Thanks for help! 😊
The text was updated successfully, but these errors were encountered: