plot_grid: Visualizing Grid Search Results

View source: R/train_functions.R

plot_gridR Documentation

Visualizing Grid Search Results

Description

Visualizing Grid Search Results

Usage

plot_grid(grid.obj, top = NULL, highlight = 0.1, type = "parcoords",
  colors = list(showscale = TRUE, reversescale = FALSE, colorscale =
  "Jet"))

Arguments

grid.obj

A ts_grid output object

top

An integer, set the number of hyper-parameters combinations to visualize (ordered by accuracy). If set to NULL (default), will plot the top 100 combinations

highlight

A proportion between 0 (excluding) and 1, set the number of hyper-parameters combinations to highlight (by accuracy), if the type argument is set to "parcoords"

type

The plot type, either "3D" for 3D plot or "parcoords" for parallel coordinates plot. Note: the 3D plot option is applicable whenever there are three tuning parameters, otherwise will use a 2D plot for two tuning parameters.

colors

A list of plotly arguments for the color scale setting:

showscale - display the color scale if set to TRUE.

reversescale - reverse the color scale if set to TRUE

colorscale set the color scale of the plot, possible palettes are: Greys, YlGnBu, Greens , YlOrRd, Bluered, RdBu, Reds, Blues, Picnic, Rainbow, Portland, Jet, Hot, Blackbody, Earth, Electric, Viridis, Cividis


TSstudio documentation built on Aug. 9, 2023, 9:06 a.m.