ChiSqSelectorModel#
- class pyspark.mllib.feature.ChiSqSelectorModel(java_model)[source]#
Represents a Chi Squared selector model.
New in version 1.4.0.
Methods
call
(name, *a)Call method of java_model
transform
(vector)Applies transformation on a vector.
Methods Documentation
- call(name, *a)#
Call method of java_model
- transform(vector)[source]#
Applies transformation on a vector.
New in version 1.4.0.
- Returns
pyspark.mllib.linalg.Vector
orpyspark.RDD
transformed vector(s).
Examples
- vector
pyspark.mllib.linalg.Vector
orpyspark.RDD
Input vector(s) to be transformed.