public class Normalizer extends UnaryTransformer<Vector,Vector,Normalizer> implements DefaultParamsWritable
Constructor and Description |
---|
Normalizer() |
Normalizer(String uid) |
Modifier and Type | Method and Description |
---|---|
double |
getP() |
static Normalizer |
load(String path) |
DoubleParam |
p()
Normalization in L^p^ space.
|
static MLReader<T> |
read() |
Normalizer |
setP(double 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 static Normalizer load(String path)
public static MLReader<T> read()
public String uid()
Identifiable
uid
in interface Identifiable
public DoubleParam p()
public double getP()
public Normalizer setP(double value)