public class ElementwiseProduct extends UnaryTransformer<Vector,Vector,ElementwiseProduct>
| Constructor and Description |
|---|
ElementwiseProduct() |
ElementwiseProduct(java.lang.String uid) |
| Modifier and Type | Method and Description |
|---|---|
protected scala.Function1<Vector,Vector> |
createTransformFunc()
Creates the transform function using the given param map.
|
Vector |
getScalingVec() |
protected DataType |
outputDataType()
Returns the data type of the output column.
|
Param<Vector> |
scalingVec()
the vector to multiply with input vectors
|
ElementwiseProduct |
setScalingVec(Vector value) |
java.lang.String |
uid()
An immutable unique ID for the object and its derivatives.
|
copy, setInputCol, setOutputCol, transform, transformSchema, validateInputTypetransform, transform, transformtransformSchemaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningclear, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn, validateParamstoStringpublic ElementwiseProduct(java.lang.String uid)
public ElementwiseProduct()
public java.lang.String uid()
Identifiablepublic Param<Vector> scalingVec()
public ElementwiseProduct setScalingVec(Vector value)
public Vector getScalingVec()
protected scala.Function1<Vector,Vector> createTransformFunc()
UnaryTransformercreateTransformFunc in class UnaryTransformer<Vector,Vector,ElementwiseProduct>protected DataType outputDataType()
UnaryTransformeroutputDataType in class UnaryTransformer<Vector,Vector,ElementwiseProduct>