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, validateInputType
transform, transform, transform
transformSchema
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
clear, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn, validateParams
toString
public ElementwiseProduct(java.lang.String uid)
public ElementwiseProduct()
public java.lang.String uid()
Identifiable
public Param<Vector> scalingVec()
public ElementwiseProduct setScalingVec(Vector value)
public Vector getScalingVec()
protected scala.Function1<Vector,Vector> createTransformFunc()
UnaryTransformer
createTransformFunc
in class UnaryTransformer<Vector,Vector,ElementwiseProduct>
protected DataType outputDataType()
UnaryTransformer
outputDataType
in class UnaryTransformer<Vector,Vector,ElementwiseProduct>