- dataset
Data frame. A data frame which to be scored. Can have categorical columns if `analysis.plots` are required.
- hvt.results.model
List. A list obtained from the trainHVT function
- child.level
Numeric. A number indicating the depth for which the heat map is to be plotted.
- mad.threshold
Numeric. A numeric value indicating the permissible Mean Absolute Deviation.
- line.width
Vector. A vector indicating the line widths of the tessellation boundaries for each layer.
- color.vec
Vector. A vector indicating the colors of the tessellation boundaries at each layer.
- normalize
Logical. A logical value indicating if the dataset should be normalized. When set to TRUE,
the data (testing dataset) is standardized by ‘mean’ and ‘sd’ of the training dataset referred from the trainHVT().
When set to FALSE, the data is used as such without any changes.
- distance_metric
Character. The distance metric can be L1_Norm(Manhattan) or L2_Norm(Eucledian). L1_Norm is selected by default.
The distance metric is used to calculate the distance between an n dimensional point and centroid.
The distance metric can be different from the one used during training.
- error_metric
Character. The error metric can be mean or max. max is selected by default.
max will return the max of m values and mean will take mean of m values where
each value is a distance between a point and centroid of the cell.
- yVar
Character. A character or a vector representing the name of the dependent variable(s)
- analysis.plots
Logical. A logical value indicating that the scored plot should be plotted or not. If TRUE,
the identifier column(character column) name should be supplied in `names.column` argument. The output will
be a 2D heatmap plotly which gives info on the cell id and the observations of a cell.
- names.column
Character. A character or a vector representing the name of the identifier column/character column.
- cell_id
Logical. A logical indicating whether the cell IDs should be displayed. Default is TRUE.
- cell_id_position
Character. A character indicating the position of the cell IDs. Accepted entries are 'top',
'bottom', 'left', 'right', and 'center'. Default is 'center'.
- centroids
Logical. A logical indicating whether the centroid points should be displayed. Default value is TRUE
- cell_id_size
Numeric. A numeric value indicating the size of the cell IDs. Default is 4
- centroid.size
Numeric. A numeric value or vector indicating the size of centroids for each level. Default is 0.8