R/PlpInterface.R
buildKnnFromPlpData.Rd
Build a K-nearest neighbor (KNN) classifier from a plpData object
buildKnnFromPlpData(
plpData,
population,
indexFolder,
overwrite = TRUE,
cohortId = NULL,
outcomeId = NULL
)
An object of type plpData
.
The population.
Path to a local folder where the KNN classifier index can be stored.
Automatically overwrite if an index already exists?
The ID of the specific cohort for which to fit a model.
The ID of the specific outcome for which to fit a model.