Skip to content

Commit

Permalink
[SPARK-5726] [MLLIB] Pass style checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ogeagla committed May 7, 2015
1 parent 37d4705 commit ded3ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import org.apache.spark.sql.types.DataType

/**
* :: AlphaComponent ::
* Outputs the Hadamard product (i.e., the element-wise product) of each input vector with a provided "weight" vector. In other words, it scales each column of the dataset by a scalar multiplier.
* Outputs the Hadamard product (i.e., the element-wise product) of each input vector with a
* provided "weight" vector. In other words, it scales each column of the dataset by a scalar multiplier.
*/
@AlphaComponent
class ElementwiseProduct extends UnaryTransformer[Vector, Vector, ElementwiseProduct] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import org.apache.spark.mllib.linalg._

/**
* :: AlphaComponent ::
* Outputs the Hadamard product (i.e., the element-wise product) of each input vector with a provided "weight" vector. In other words, it scales each column of the dataset by a scalar multiplier.
*
* Outputs the Hadamard product (i.e., the element-wise product) of each input vector with a provided
* "weight" vector. In other words, it scales each column of the dataset by a scalar multiplier.
* @param scalingVector The values used to scale the reference vector's individual components.
*/
@AlphaComponent
Expand Down

0 comments on commit ded3ac6

Please sign in to comment.