Extract interpolated records
get_interp(dt, group = NULL)
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)
a tibble object containing the interpolating bases
Other get functions:
get_anchor()
,
get_basis_matrix()
,
get_best()
,
get_dir_search()
,
get_interp_last()
,
get_interrupt()
,
get_search_count()
,
get_search()
,
get_space_param()
,
get_start()
,
get_theo()
holes_1d_better %>%
get_interp() %>%
head()
#> # A tibble: 6 × 8
#> basis index_val info method alpha tries loop id
#> <list> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <int>
#> 1 <dbl [5 × 1]> 0.749 interpolation search_better NA 2 1 1
#> 2 <dbl [5 × 1]> 0.750 interpolation search_better NA 2 2 2
#> 3 <dbl [5 × 1]> 0.751 interpolation search_better NA 2 3 3
#> 4 <dbl [5 × 1]> 0.751 interpolation search_better NA 2 4 4
#> 5 <dbl [5 × 1]> 0.752 interpolation search_better NA 2 5 5
#> 6 <dbl [5 × 1]> 0.752 interpolation search_better NA 2 6 6
get_interp(dplyr::bind_rows(holes_1d_better, holes_1d_geo), group = method) %>% head()
#> # A tibble: 6 × 8
#> basis index_val info method alpha tries loop id
#> <list> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <int>
#> 1 <dbl [5 × 1]> 0.749 interpolation search_better NA 2 1 1
#> 2 <dbl [5 × 1]> 0.750 interpolation search_better NA 2 2 2
#> 3 <dbl [5 × 1]> 0.751 interpolation search_better NA 2 3 3
#> 4 <dbl [5 × 1]> 0.751 interpolation search_better NA 2 4 4
#> 5 <dbl [5 × 1]> 0.752 interpolation search_better NA 2 5 5
#> 6 <dbl [5 × 1]> 0.752 interpolation search_better NA 2 6 6