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 or pyspark.RDD

transformed vector(s).

Examples

vectorpyspark.mllib.linalg.Vector or pyspark.RDD

Input vector(s) to be transformed.