View source: R/train_functions.R
plot_grid | R Documentation |
Visualizing Grid Search Results
plot_grid(grid.obj, top = NULL, highlight = 0.1, type = "parcoords",
colors = list(showscale = TRUE, reversescale = FALSE, colorscale =
"Jet"))
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.