Skip to contents

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

Usage

record_gknn(object)

Arguments

obejct

an object of class gknn

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 gknn 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