public class ElementwiseProduct extends UnaryTransformer<Vector,Vector,ElementwiseProduct> implements DefaultParamsWritable
Constructor and Description |
---|
ElementwiseProduct() |
ElementwiseProduct(String uid) |
Modifier and Type | Method and Description |
---|---|
Vector |
getScalingVec() |
static ElementwiseProduct |
load(String path) |
static MLReader<T> |
read() |
Param<Vector> |
scalingVec()
the vector to multiply with input vectors
|
ElementwiseProduct |
setScalingVec(Vector value) |
String |
uid()
An immutable unique ID for the object and its derivatives.
|
copy, setInputCol, setOutputCol, transform, transformSchema
transform, transform, transform
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
save
getInputCol, inputCol
getOutputCol, outputCol
clear, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString
initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public ElementwiseProduct(String uid)
public ElementwiseProduct()
public static ElementwiseProduct load(String path)
public static MLReader<T> read()
public String uid()
Identifiable
uid
in interface Identifiable
public Param<Vector> scalingVec()
public ElementwiseProduct setScalingVec(Vector value)
public Vector getScalingVec()