powered by
Trace the index value of search/ interpolation points in guided tour optimisation
explore_trace_interp( dt, iter = NULL, color = NULL, group = NULL, cutoff = 50, target_size = 3, interp_size = 1, accuracy_x = 5, accuracy_y = 0.01 )
a ggplot object for diagnosing how the index value progresses during the interpolation
a data object collected by the projection pursuit guided tour optimisation in tourr
tourr
the variable to be plotted on the x-axis
the variable to be coloured by
the variable to label different runs of the optimiser(s)
numeric; if the number of interpolating points is smaller than cutoff, all the interpolation points will be plotted as dots
cutoff
numeric; the size of target points in the interpolation
numeric; the size of interpolation points
numeric; If the difference of two neighbour x-labels is smaller than accuracy_x, only one of them will be displayed. Used for better axis label
accuracy_x
numeric; the precision of y-axis label
Other main plot functions: explore_space_start(), explore_space_tour(), explore_trace_search()
explore_space_start()
explore_space_tour()
explore_trace_search()
# Compare the trace of interpolated points in two algorithms holes_1d_better %>% explore_trace_interp(interp_size = 2) + scale_color_continuous_botanical(palette = "fern")
Run the code above in your browser using DataLab