Package org.apache.spark.ml.feature
Interface PCAParams
- All Superinterfaces:
- HasInputCol,- HasOutputCol,- Identifiable,- Params,- Serializable
- 
Method SummaryModifier and TypeMethodDescriptionintgetK()k()The number of principal components.validateAndTransformSchema(StructType schema) Validates and transforms the input schema.Methods inherited from interface org.apache.spark.ml.param.shared.HasInputColgetInputCol, inputColMethods inherited from interface org.apache.spark.ml.param.shared.HasOutputColgetOutputCol, outputColMethods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, copy, copyValues, defaultCopy, defaultParamMap, estimateMatadataSize, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
- 
Method Details- 
getKint getK()
- 
kIntParam k()The number of principal components.- Returns:
- (undocumented)
 
- 
validateAndTransformSchemaValidates and transforms the input schema.
 
-