kNN_best_split_function: Get a get_best_split function from the kNN classifier

Description Usage Arguments

View source: R/best_split_functions.R

Description

Returns a closure with formal arguments x, start, end and split_candidates that finds the maximizer of the gain_function given data x, start and end on split_candidates using the optimizer optimizer.

Usage

1

Arguments

x

A matrix with observations in rows

control

Control parameter as returned by hdcd_control


mlondschien/hdcd documentation built on Jan. 5, 2021, 11:26 p.m.