Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typo
  • Loading branch information
jkbradley committed Apr 3, 2018
commit f4d115c8a2c53bbdf41630a841522369fcd3e4b2
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ private[clustering] trait PowerIterationClusteringParams extends Params with Has

/**
* Param for the initialization algorithm. This can be either "random" to use a random vector
* as vertex properties, or "degree" to use normalized sum of similarities with other vertices.
* as vertex properties, or "degree" to use a normalized sum of similarities with other vertices.
* Default: random.
* @group expertParam
*/
@Since("2.3.0")
final val initMode = {
val allowedParams = ParamValidators.inArray(Array("random", "degree"))
new Param[String](this, "initMode", "The initialization algorithm. This can be either " +
"'random' to use a random vector as vertex properties, or 'degree' to use normalized sum " +
"'random' to use a random vector as vertex properties, or 'degree' to use a normalized sum " +
"of similarities with other vertices. Supported options: 'random' and 'degree'.",
allowedParams)
}
Expand Down