forestry-labs / Rforestry

https://forestry-labs.github.io/Rforestry/
34 stars 11 forks source link

segmentation faults when splitratio = 0.5 #99

Open colleenchan opened 1 year ago

colleenchan commented 1 year ago

When tuning a random forest using the caret package, segmentation faults occur often when splitratio = 0.5.

For a reproducible example, see: https://github.com/forestry-labs/GI-Collaboration/blob/main/code/3-Modeling/3.2-runPipeline.R

A segfault will occur with the parameters that are currently set:

dataset = "ehrbase" estimator = "randomforest" predictor = estimator seed = 101 force = 0 embedding_dict = NULL vi = 0

When running in a bash script, the error message would look something like: