Note:- Algorithms are not optimised for performance. If inverse is taken using solve()
, then ORR and AAR are quite slower than COIRR and OSLOG. When chol2inv(chol())
is used than they are faster than OSLOG and COIRR. However, COIRR and OSLOG has ability to give sparse solution. Also, there might be room for further optimising multiplication that involve diagonal matrices. Other techniques like Sherman-Morrison can also be used. The current implementations are just proto-types, which possibly also effect the computationally efficiency. These aspect are still work in progress, so please feel to improve the current implementations.
Open R and install the following packages microbenchmark, caret, glmnet
and devtools
by typing install.packages("pkg.name")
followed by library(pkg.name)
. Then type inatall_gthub("Jamil/CR")
Type source("https://raw.githubusercontent.com/JamilWaqas/CR/master/demo.R")
in R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.