org.apache.spark.mllib.feature.ElementwiseProduct
Serializable
, VectorTransformer
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: scalingVec The values used to scale the reference vector's individual components.
Constructors
Does the hadamard product transformation.
transform
in interface VectorTransformer
vector
- vector to be transformed.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4