Package org.apache.spark.ml.clustering
Interface PowerIterationClusteringParams
- All Superinterfaces:
HasMaxIter
,HasWeightCol
,Identifiable
,Params
,Serializable
,scala.Serializable
- All Known Implementing Classes:
PowerIterationClustering
Common params for PowerIterationClustering
-
Method Summary
Methods inherited from interface org.apache.spark.ml.param.shared.HasMaxIter
getMaxIter, maxIter
Methods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightCol
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
-
Method Details
-
dstCol
Name of the input column for destination vertex IDs. Default: "dst"- Returns:
- (undocumented)
-
getDstCol
String getDstCol() -
getInitMode
String getInitMode() -
getK
int getK() -
getSrcCol
String getSrcCol() -
initMode
Param for the initialization algorithm. This can be either "random" to use a random vector as vertex properties, or "degree" to use a normalized sum of similarities with other vertices. Default: random.- Returns:
- (undocumented)
-
k
IntParam k()The number of clusters to create (k). Must be > 1. Default: 2.- Returns:
- (undocumented)
-
srcCol
Param for the name of the input column for source vertex IDs. Default: "src"- Returns:
- (undocumented)
-