partition (version 0.1.0)

search_k: Search for the best k

Description

Search for the best k

Usage

search_k(.partition_step, search_method = c("binary", "linear"))

Arguments

.partition_step

a partition_step object

search_method

The search method. Binary search is generally more efficient but linear search can be faster in very low dimensions.

Value

a partition_step object