Description Usage Arguments Value Examples
Welcome to the exprso
package!
The exprso
function imports data into the learning environment.
See mod
to process the data.
See split
to split off a test set.
See fs
to select features.
See build
to build models.
See pl
to build models high-throughput.
See pipe
to process pipelines.
See buildEnsemble
to build ensembles.
See exprso-predict
to deploy models.
See conjoin
to merge objects.
1 |
x |
A matrix of feature data for all samples. Rows should contain samples and columns should contain features. |
y |
A vector of outcomes for all samples. If
|
label |
A numeric scalar or character string. The column to
use as the label if |
switch |
A logical scalar. Toggles which class label is called Control in binary classification. |
An ExprsArray
object.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(exprso)
data(iris)
array <- exprso(iris[,1:4], iris[,5])
arrays <- splitSample(array, percent.include = 67)
array.train <- fsANOVA(arrays[[1]], top = 0)
array.train <- fsPrcomp(array.train, top = 3)
mach <- buildSVM(array.train, top = 5, kernel = "linear", cost = 1)
predict(mach, arrays[[2]])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.