R/get.R
get_interrupt.Rd
The optimiser can find better basis on the interpolation path, an interruption is implemented to stop further interpolation from the highest point to the target point. This discrepancy is highlighted in the PCA plot. You should not use geodesic search on this function.
get_interrupt(dt, group = NULL, precision = 0.001)
a data object collected by the projection pursuit guided tour optimisation in the tourr
package
the variable to label different runs of the optimiser(s)
numeric; if the index value of the last interpolating point and the anchor point differ by precision
, an interruption is registered
a tibble object containing the target and anchor bases for the iteration when an interruption happens
Other get functions:
get_anchor()
,
get_basis_matrix()
,
get_best()
,
get_dir_search()
,
get_interp_last()
,
get_interp()
,
get_search_count()
,
get_search()
,
get_space_param()
,
get_start()
,
get_theo()
holes_1d_better %>% get_interrupt()
#> # A tibble: 6 × 8
#> basis index_val info method alpha tries loop id
#> <list> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <chr>
#> 1 <dbl [5 × 1]> 0.752 new_basis search_better 0.5 2 6 2
#> 2 <dbl [5 × 1]> 0.813 new_basis search_better 0.49 4 7 4
#> 3 <dbl [5 × 1]> 0.904 new_basis search_better 0.485 5 3 5
#> 4 <dbl [5 × 1]> 0.753 interpolation search_better NA 2 9 2
#> 5 <dbl [5 × 1]> 0.866 interpolation search_better NA 4 7 4
#> 6 <dbl [5 × 1]> 0.914 interpolation search_better NA 5 6 5
holes_1d_geo %>% get_interrupt()
#> interrupt is only implemented for creeping random search (search_better) and simulated annealing (search_better_random)
#> NULL