T
- The class type of this instance.public interface KnnModelParams<T> extends HasFeaturesCol<T>, HasPredictionCol<T>
KnnModel
.Modifier and Type | Field and Description |
---|---|
static Param<Integer> |
K |
FEATURES_COL
PREDICTION_COL
Modifier and Type | Method and Description |
---|---|
default Integer |
getK() |
default T |
setK(Integer value) |
getFeaturesCol, setFeaturesCol
getPredictionCol, setPredictionCol
get, getParam, getParamMap, set
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.