Packages

class KNNModel extends Model[KNNModel] with ComplexParamsWritable with KNNParams with BasicLogging

Linear Supertypes
BasicLogging, KNNParams, HasOutputCol, Wrappable, RWrappable, PythonWrappable, BaseWrappable, HasFeaturesCol, ComplexParamsWritable, MLWritable, Model[KNNModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KNNModel
  2. BasicLogging
  3. KNNParams
  4. HasOutputCol
  5. Wrappable
  6. RWrappable
  7. PythonWrappable
  8. BaseWrappable
  9. HasFeaturesCol
  10. ComplexParamsWritable
  11. MLWritable
  12. Model
  13. Transformer
  14. PipelineStage
  15. Logging
  16. Params
  17. Serializable
  18. Serializable
  19. Identifiable
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KNNModel()
  2. new KNNModel(uid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val ballTree: BallTreeParam
  7. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  8. final def clear(param: Param[_]): KNNModel.this.type
    Definition Classes
    Params
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  11. def copy(extra: ParamMap): KNNModel
    Definition Classes
    KNNModel → Model → Transformer → PipelineStage → Params
  12. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  13. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  14. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  18. def explainParams(): String
    Definition Classes
    Params
  19. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  20. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  21. val featuresCol: Param[String]

    The name of the features column

    The name of the features column

    Definition Classes
    HasFeaturesCol
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  24. def getBallTree: BallTree[_]
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  27. def getFeaturesCol: String

    Definition Classes
    HasFeaturesCol
  28. def getK: Int
    Definition Classes
    KNNParams
  29. def getLeafSize: Int
    Definition Classes
    KNNParams
  30. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  31. def getOutputCol: String

    Definition Classes
    HasOutputCol
  32. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  33. def getValuesCol: String
    Definition Classes
    KNNParams
  34. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  35. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  36. def hasParent: Boolean
    Definition Classes
    Model
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  39. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  43. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  44. val k: IntParam
    Definition Classes
    KNNParams
  45. val leafSize: IntParam
    Definition Classes
    KNNParams
  46. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  47. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  48. def logClass(): Unit
    Definition Classes
    BasicLogging
  49. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  54. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  55. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  58. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  59. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  62. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  63. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  64. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  67. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  71. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  72. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  73. var parent: Estimator[KNNModel]
    Definition Classes
    Model
  74. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  75. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  76. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  77. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  78. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  79. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  80. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  81. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  82. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  83. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  84. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  85. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  86. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  87. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  88. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  89. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  90. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  91. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  92. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  93. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  94. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  95. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  96. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  97. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  98. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  99. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  100. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  101. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  102. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  103. final def set(paramPair: ParamPair[_]): KNNModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  104. final def set(param: String, value: Any): KNNModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  105. final def set[T](param: Param[T], value: T): KNNModel.this.type
    Definition Classes
    Params
  106. def setBallTree(v: BallTree[_]): KNNModel.this.type
  107. final def setDefault(paramPairs: ParamPair[_]*): KNNModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  108. final def setDefault[T](param: Param[T], value: T): KNNModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  109. def setFeaturesCol(value: String): KNNModel.this.type

    Definition Classes
    HasFeaturesCol
  110. def setK(v: Int): KNNModel.this.type
    Definition Classes
    KNNParams
  111. def setLeafSize(v: Int): KNNModel.this.type
    Definition Classes
    KNNParams
  112. def setOutputCol(value: String): KNNModel.this.type

    Definition Classes
    HasOutputCol
  113. def setParent(parent: Estimator[KNNModel]): KNNModel
    Definition Classes
    Model
  114. def setValuesCol(v: String): KNNModel.this.type
    Definition Classes
    KNNParams
  115. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  116. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  117. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    KNNModel → Transformer
  118. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  119. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  120. def transformSchema(schema: StructType): StructType
    Definition Classes
    KNNModel → PipelineStage
  121. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  122. val uid: String
    Definition Classes
    KNNModelBasicLogging → Identifiable
  123. val valuesCol: Param[String]
    Definition Classes
    KNNParams
  124. val ver: String
    Definition Classes
    BasicLogging
  125. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  126. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  127. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  128. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from KNNParams

Inherited from HasOutputCol

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from HasFeaturesCol

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from Model[KNNModel]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped