Description Usage Arguments Examples
save function, recommended when bigKRLS output contains big matrices (once N > 2,500 the kernel is stored this way). Base R data will be stored in a list in an .RData file, big matrices will be stored in .txt files. Call load.bigKRLS() to retrieve.
1 2 | save.bigKRLS(object, model_subfolder_name, overwrite.existing = FALSE,
noisy = TRUE)
|
object |
bigKRLS output (regression, prediction, and crossvalidation). Use load.bigKRLS(model_subfolder_name), not load(). |
model_subfolder_name |
A name of a folder where the file(s) will be written. |
overwrite.existing |
Logical. If TRUE, write over folders with the same name. Default == FALSE. |
noisy |
Logical. If TRUE display progress, additional instructions. Default == TRUE. |
1 2 3 4 5 6 7 8 | # y <- as.matrix(ChickWeight$weight)
# X <- matrix(cbind(ChickWeight$Time, ChickWeight$Diet == 1), ncol = 2)
# out <- bigKRLS(y, X, Ncores=1)
# save.bigKRLS(out, "exciting_results")
# don't use save() unless out$has.big.matrices == FALSE
# load.bigKRLS("/path/to/exciting_results")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.