R/projection.R
FitEnsembleSVM.Rd
Training an ensemble SVM model for embedding coordinates regression.
FitEnsembleSVM(
feature.mat,
emb.mat,
cell.types = NULL,
do.norm = "L2",
batch.size = 5000,
n.models = 100,
balance.cell.type = FALSE,
cores = -1
)
A signature score matrix, rows are cells, columns are features.
The embedding matrix, rows are cells, columns are dimensions.
A named vector recording cell types.
Whether normalize the feature matrix. L1, L2, NULL. Default: 'L2'
The number of cells for each model. Default: 5000
The number of SVM model. Default: 100
A boolen determines whether performing balance sampling. Default: FALSE
The number of CPU for training. Default: -1, use all available threads.
a list of trained learners.