Extract search points during the optimisation

get_search(dt)

Arguments

dt

a data object collected by the projection pursuit guided tour optimisation in the tourr package

Value

a tibble object containing the search bases

See also

Examples

holes_1d_better %>% get_search()
#> # A tibble: 37 x 8 #> basis index_val info method alpha tries loop id #> <list> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <int> #> 1 <dbl[,1] [5 × 1]> 0.730 random_sear… search_bett… 0.5 2 1 2 #> 2 <dbl[,1] [5 × 1]> 0.743 random_sear… search_bett… 0.5 2 2 3 #> 3 <dbl[,1] [5 × 1]> 0.736 random_sear… search_bett… 0.5 2 3 4 #> 4 <dbl[,1] [5 × 1]> 0.747 random_sear… search_bett… 0.5 2 4 5 #> 5 <dbl[,1] [5 × 1]> 0.725 random_sear… search_bett… 0.5 2 5 6 #> 6 <dbl[,1] [5 × 1]> 0.769 random_sear… search_bett… 0.49 4 1 33 #> 7 <dbl[,1] [5 × 1]> 0.754 random_sear… search_bett… 0.49 4 2 34 #> 8 <dbl[,1] [5 × 1]> 0.725 random_sear… search_bett… 0.49 4 3 35 #> 9 <dbl[,1] [5 × 1]> 0.766 random_sear… search_bett… 0.49 4 4 36 #> 10 <dbl[,1] [5 × 1]> 0.736 random_sear… search_bett… 0.49 4 5 37 #> # … with 27 more rows
holes_1d_geo %>% get_search()
#> # A tibble: 363 x 8 #> basis index_val info method alpha tries loop id #> <list> <dbl> <chr> <chr> <dbl> <dbl> <dbl> <int> #> 1 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 2 #> 2 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 3 #> 3 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 4 #> 4 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 5 #> 5 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 6 #> 6 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 7 #> 7 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 8 #> 8 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 9 #> 9 <dbl[,1] [5 ×… 0.749 best_direction… search_geod… NA 2 1 10 #> 10 <dbl[,1] [5 ×… 0.749 direction_sear… search_geod… NA 2 1 11 #> # … with 353 more rows