rocPkg %įilter(maintainer_name != "ORPHANED", score > 190) %>% Library(pkgsearch) # for searching packagesĪfter some trial and error, I settled on the following query, which includes a number of interesting ROC-related packages. Library(dlstats) # for package download stats library(tidyverse) # for data manipulation The algorithm searches through package text fields, and produces a score for each package it finds that is weighted by the number of reverse dependencies and downloads. The package_search() function takes a text string as input and uses basic text mining techniques to search all of CRAN. In this post, I describe how to search CRAN for packages to plot ROC curves, and highlight six useful packages.Īlthough I began with a few ideas about packages that I wanted to talk about, like ROCR and pROC, which I have found useful in the past, I decided to use Gábor Csárdi’s relatively new package pkgsearch to search through CRAN and see what’s out there. In a recent post, I presented some of the theory underlying ROC curves, and outlined the history leading up to their present popularity for characterizing the performance of machine learning models.
0 Comments
Leave a Reply. |