Skip to contents

Mark the features of the trained model

Usage

mark(object, ...)

# S4 method for Trained
mark(object, marker, features, weights, ...)

# S4 method for Tuned
mark(object, marker, weights, ...)

# S4 method for list
mark(object, marker, ...)

Arguments

object

an object of class Trained

...

further arguments to marker

marker

an object of class Marker

features

(optional) vector containing all the predictors. If provided, the results from the marker function are checked and the missing features are added with NA mark

weights

(optional) feature weights to be used in the computation

Value

A list with one element per response, containing the marks for the features

Author

Alessandro Barberis