Skip to contents

This function records the presence of the features in an object of class svm.

Usage

record_svm(object)

Arguments

obejct

an object of class svm

Value

A list with one element per response, each element being an integer vector of length equivalent to the number of features.

Details

The presence of the features in the svm object in input is recorded and returned in a named vector per output response.

If a feature is present in the model then the feature is returned with a 1. If a feature is missing in the model then the feature is returned with a 0.

Author

Alessandro Barberis