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)
dt | a data object collected by the projection pursuit guided tour optimisation in the |
---|---|
group | the variable to label different runs of the optimiser(s) |
precision | numeric; if the index value of the last interpolating point and the anchor point differ by |
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 x 8 #> basis index_val info method alpha tries loop id #> <list> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <chr> #> 1 <dbl[,1] [5 × 1]> 0.752 new_basis search_bett… 0.5 2 6 2 #> 2 <dbl[,1] [5 × 1]> 0.813 new_basis search_bett… 0.49 4 7 4 #> 3 <dbl[,1] [5 × 1]> 0.904 new_basis search_bett… 0.485 5 3 5 #> 4 <dbl[,1] [5 × 1]> 0.753 interpolati… search_bett… NA 2 9 2 #> 5 <dbl[,1] [5 × 1]> 0.866 interpolati… search_bett… NA 4 7 4 #> 6 <dbl[,1] [5 × 1]> 0.914 interpolati… search_bett… NA 5 6 5holes_1d_geo %>% get_interrupt()#>#> NULL