plotWeights: Plot the weights of all attributes from the trained SVM model

View source: R/plotsvmmaj.R

plotWeightsR Documentation

Plot the weights of all attributes from the trained SVM model

Description

Shows, one graph per attribute, the weights of all attributes. The type of graph depends on the type of the attribute: the spline line of the corresponding attribute in case a spline has been used, a bar plot for categorical and logical values, and a linear line for all other type of the attribute values. This function cannot be used in a model with a non-linear kernel.

Usage

plotWeights(object, plotdim = c(3, 3), ...)

Arguments

object

The model returned from svmmaj.

plotdim

A vector of the form c(nr, nc). Subsequent figures will be drawn in an nr-by-nc array on the device.

...

other parameters given to the plot function


SVMMaj documentation built on Sept. 11, 2024, 6:06 p.m.