-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"path":"https://cadam00.github.io/lightAUC/articles/Introduction.html","id":"fast-auc-computation-in-r","dir":"Articles","previous_headings":"","what":"Fast AUC computation in R","title":"Introduction to lightAUC","text":"Fast lightweight computation AUC metric binary case (1 positive 0 negative) offered lightAUC package. algorithm used fast implementation algorithm Fawcett (2006).","code":""},{"path":"https://cadam00.github.io/lightAUC/articles/Introduction.html","id":"example","dir":"Articles","previous_headings":"Fast AUC computation in R","what":"Example","title":"Introduction to lightAUC","text":"parallel calculations use:","code":"# Create some data probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals) ## 0.5 # E.g. 2 cores (you can use cores = parallel::detectCores() for your case) probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals, parallel = TRUE, cores = 2) ## 0.5"},{"path":"https://cadam00.github.io/lightAUC/articles/Introduction.html","id":"references","dir":"Articles","previous_headings":"Fast AUC computation in R","what":"References","title":"Introduction to lightAUC","text":"Fawcett, T. (2006). introduction ROC analysis. {Pattern Recognition Letters, (8), 861–874. 10.1016/j.patrec.2005.10.010","code":""},{"path":"https://cadam00.github.io/lightAUC/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Christos Adam. Author, maintainer.","code":""},{"path":"https://cadam00.github.io/lightAUC/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Adam C (2025). lightAUC: Fast AUC Computation. R package version 0.1.0, https://cadam00.github.io/lightAUC/, https://github.com/cadam00/lightAUC.","code":"@Manual{, title = {lightAUC: Fast AUC Computation}, author = {Christos Adam}, year = {2025}, note = {R package version 0.1.0, https://cadam00.github.io/lightAUC/}, url = {https://github.com/cadam00/lightAUC}, }"},{"path":[]},{"path":"https://cadam00.github.io/lightAUC/index.html","id":"install","dir":"","previous_headings":"","what":"Install","title":"Fast AUC Computation","text":"development version package can installed via Fast lightweight computation AUC metric binary case (1 positive 0 negative) offered lightAUC package. algorithm used fast implementation algorithm Fawcett (2006).","code":"if (!require(remotes)) install.packages(\"remotes\") remotes::install_github(\"cadam00/lightAUC\")"},{"path":"https://cadam00.github.io/lightAUC/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Fast AUC Computation","text":"parallel calculations use:","code":"# Create some data probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals) ## 0.5 # E.g. 2 cores (you can use cores = parallel::detectCores() for your case) probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals, parallel = TRUE, cores = 2) ## 0.5"},{"path":"https://cadam00.github.io/lightAUC/index.html","id":"references","dir":"","previous_headings":"","what":"References","title":"Fast AUC Computation","text":"Fawcett, T. (2006). introduction ROC analysis. Pattern Recognition Letters, 27(8), 861–874. doi:10.1016/j.patrec.2005.10.010","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":null,"dir":"Reference","previous_headings":"","what":"Fast AUC computation — lightAUC","title":"Fast AUC computation — lightAUC","text":"Fast memory efficient AUC computation.","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Fast AUC computation — lightAUC","text":"","code":"lightAUC(probs, actuals, parallel = FALSE, cores = 2)"},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Fast AUC computation — lightAUC","text":"probs numeric vector containing probability model, closer 1 positive class closer 0 negative class. actuals integer, numeric logical vector actual data, 1 positive class 0 negative class. parallel logical indicating multithreading used. default multithreading (parallel = FALSE). cores integer indicating number threads used parallel = TRUE. default cores=2, meaning 2 cores used.","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Fast AUC computation — lightAUC","text":"Binary AUC computation according Fawcett (2006) doi:10.1016/j.patrec.2005.10.010 .","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Fast AUC computation — lightAUC","text":"numeric value representing AUC metric.","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Fast AUC computation — lightAUC","text":"Fawcett, T. (2006). introduction ROC analysis. Pattern Recognition Letters, 27(8), 861–874. doi:10.1016/j.patrec.2005.10.010","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Fast AUC computation — lightAUC","text":"","code":"probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals) #> [1] 0.5 probs <- c(1, 0.4, 0.8) actuals <- c(FALSE, FALSE, TRUE) lightAUC(probs, actuals) #> [1] 0.5 probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals, parallel = TRUE, cores = 2L) #> [1] 0.5"},{"path":[]},{"path":"https://cadam00.github.io/lightAUC/news/index.html","id":"major-changes-0-1-1","dir":"Changelog","previous_headings":"","what":"Major changes","title":"lightAUC 0.1.1","text":"Add Makevars Makevars.win files needed ‘RcppParallel’.","code":""},{"path":[]},{"path":"https://cadam00.github.io/lightAUC/news/index.html","id":"major-changes-0-1-0","dir":"Changelog","previous_headings":"","what":"Major changes","title":"lightAUC 0.1.0","text":"Initial package version.","code":""}] | ||
[{"path":"https://cadam00.github.io/lightAUC/articles/Introduction.html","id":"fast-auc-computation-in-r","dir":"Articles","previous_headings":"","what":"Fast AUC computation in R","title":"Introduction to lightAUC","text":"Fast lightweight computation AUC metric binary case (1 positive 0 negative) offered lightAUC package. algorithm used fast implementation algorithm Fawcett (2006).","code":""},{"path":"https://cadam00.github.io/lightAUC/articles/Introduction.html","id":"example","dir":"Articles","previous_headings":"Fast AUC computation in R","what":"Example","title":"Introduction to lightAUC","text":"parallel calculations use:","code":"# Create some data probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals) ## 0.5 # E.g. 2 cores (you can use cores = parallel::detectCores() for your case) probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals, parallel = TRUE, cores = 2) ## 0.5"},{"path":"https://cadam00.github.io/lightAUC/articles/Introduction.html","id":"references","dir":"Articles","previous_headings":"Fast AUC computation in R","what":"References","title":"Introduction to lightAUC","text":"Fawcett, T. (2006). introduction ROC analysis. {Pattern Recognition Letters, (8), 861–874. 10.1016/j.patrec.2005.10.010","code":""},{"path":"https://cadam00.github.io/lightAUC/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Christos Adam. Author, maintainer.","code":""},{"path":"https://cadam00.github.io/lightAUC/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Adam C (2025). lightAUC: Fast AUC Computation. R package version 0.1.1, https://cadam00.github.io/lightAUC/, https://github.com/cadam00/lightAUC.","code":"@Manual{, title = {lightAUC: Fast AUC Computation}, author = {Christos Adam}, year = {2025}, note = {R package version 0.1.1, https://cadam00.github.io/lightAUC/}, url = {https://github.com/cadam00/lightAUC}, }"},{"path":[]},{"path":"https://cadam00.github.io/lightAUC/index.html","id":"install","dir":"","previous_headings":"","what":"Install","title":"Fast AUC Computation","text":"development version package can installed via Fast lightweight computation AUC metric binary case (1 positive 0 negative) offered lightAUC package. algorithm used fast implementation algorithm Fawcett (2006).","code":"if (!require(remotes)) install.packages(\"remotes\") remotes::install_github(\"cadam00/lightAUC\")"},{"path":"https://cadam00.github.io/lightAUC/index.html","id":"example","dir":"","previous_headings":"","what":"Example","title":"Fast AUC Computation","text":"parallel calculations use:","code":"# Create some data probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals) ## 0.5 # E.g. 2 cores (you can use cores = parallel::detectCores() for your case) probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals, parallel = TRUE, cores = 2) ## 0.5"},{"path":"https://cadam00.github.io/lightAUC/index.html","id":"references","dir":"","previous_headings":"","what":"References","title":"Fast AUC Computation","text":"Fawcett, T. (2006). introduction ROC analysis. Pattern Recognition Letters, 27(8), 861–874. doi:10.1016/j.patrec.2005.10.010","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":null,"dir":"Reference","previous_headings":"","what":"Fast AUC computation — lightAUC","title":"Fast AUC computation — lightAUC","text":"Fast memory efficient AUC computation.","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Fast AUC computation — lightAUC","text":"","code":"lightAUC(probs, actuals, parallel = FALSE, cores = 2)"},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Fast AUC computation — lightAUC","text":"probs numeric vector containing probability model, closer 1 positive class closer 0 negative class. actuals integer, numeric logical vector actual data, 1 positive class 0 negative class. parallel logical indicating multithreading used. default multithreading (parallel = FALSE). cores integer indicating number threads used parallel = TRUE. default cores=2, meaning 2 cores used.","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Fast AUC computation — lightAUC","text":"Binary AUC computation according Fawcett (2006) doi:10.1016/j.patrec.2005.10.010 .","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Fast AUC computation — lightAUC","text":"numeric value representing AUC metric.","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Fast AUC computation — lightAUC","text":"Fawcett, T. (2006). introduction ROC analysis. Pattern Recognition Letters, 27(8), 861–874. doi:10.1016/j.patrec.2005.10.010","code":""},{"path":"https://cadam00.github.io/lightAUC/reference/lightAUC.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Fast AUC computation — lightAUC","text":"","code":"probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals) #> [1] 0.5 probs <- c(1, 0.4, 0.8) actuals <- c(FALSE, FALSE, TRUE) lightAUC(probs, actuals) #> [1] 0.5 probs <- c(1, 0.4, 0.8) actuals <- c(0, 0, 1) lightAUC(probs, actuals, parallel = TRUE, cores = 2L) #> [1] 0.5"},{"path":[]},{"path":"https://cadam00.github.io/lightAUC/news/index.html","id":"major-changes-0-1-1","dir":"Changelog","previous_headings":"","what":"Major changes","title":"lightAUC 0.1.1","text":"Add Makevars Makevars.win files needed ‘RcppParallel’.","code":""},{"path":[]},{"path":"https://cadam00.github.io/lightAUC/news/index.html","id":"major-changes-0-1-0","dir":"Changelog","previous_headings":"","what":"Major changes","title":"lightAUC 0.1.0","text":"Initial package version.","code":""}] |