removeLearners
Remove members of compact regression ensemble
Syntax
cens1 = removeLearners(cens,idx)
Description
creates a compact regression ensemble identical to cens1
= removeLearners(cens
,idx
)cens
only without
the ensemble members in the idx
vector.
Input Arguments
|
Compact regression ensemble, constructed with |
|
Vector of positive integers with entries from Typically, you set |
Output Arguments
|
Compact regression ensemble, identical to |
Examples
Tips
Typically, set
cens1
equal tocens
to retain just one ensemble.Removing learners reduces the memory used by the ensemble and speeds up its predictions.