tmastny / leadr

https://tmastny.github.io/leadr/
MIT License
26 stars 2 forks source link

automatically pull oof for best parameters if savePredictions = TRUE #9

Closed tmastny closed 6 years ago

tmastny commented 6 years ago

Here is the idea:

  # I show just automatically pull best parameters
  # selectedIndices <- rfFit$pred$mtry == 2
  # # Plot:
  # plot.roc(rfFit$pred$obs[selectedIndices],
  #          rfFit$pred$M[selectedIndices])
tmastny commented 6 years ago

There is the issue of having an unknown number of columns (tuning parameters) to filter. I found one solution here: https://stackoverflow.com/a/38880517/6637133

But I would like a modern tidyeval/quosure solution. Not sure how.