Add OpenMP pragmas to DecisionTree.predict(), DecisionTree.findBestSplit(), RandomForest.fit(), and DataFrame.sample().
After compiling and running speedup/rf_openmp.cpp it will fail every now and then due to bad malloc requests. This is due to OpenMP and likely caused by something deep down in our code. It happens rarely and simply requires re-running or, at worst, recompiling then re-running.
Add OpenMP pragmas to
DecisionTree.predict()
,DecisionTree.findBestSplit()
,RandomForest.fit()
, andDataFrame.sample()
.After compiling and running
speedup/rf_openmp.cpp
it will fail every now and then due to badmalloc
requests. This is due to OpenMP and likely caused by something deep down in our code. It happens rarely and simply requires re-running or, at worst, recompiling then re-running.