public class DCT extends UnaryTransformer<Vector,Vector,DCT>
More information on Wikipedia
.
Modifier and Type | Method and Description |
---|---|
protected scala.Function1<Vector,Vector> |
createTransformFunc()
Creates the transform function using the given param map.
|
boolean |
getInverse() |
BooleanParam |
inverse()
Indicates whether to perform the inverse DCT (true) or forward DCT (false).
|
static DCT |
load(java.lang.String path) |
protected DataType |
outputDataType()
Returns the data type of the output column.
|
DCT |
setInverse(boolean value) |
java.lang.String |
uid()
An immutable unique ID for the object and its derivatives.
|
protected void |
validateInputType(DataType inputType)
Validates the input type.
|
copy, setInputCol, setOutputCol, transform, transformSchema
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 static DCT load(java.lang.String path)
public java.lang.String uid()
Identifiable
public BooleanParam inverse()
public DCT setInverse(boolean value)
public boolean getInverse()
protected scala.Function1<Vector,Vector> createTransformFunc()
UnaryTransformer
createTransformFunc
in class UnaryTransformer<Vector,Vector,DCT>
protected void validateInputType(DataType inputType)
UnaryTransformer
validateInputType
in class UnaryTransformer<Vector,Vector,DCT>
inputType
- (undocumented)protected DataType outputDataType()
UnaryTransformer
outputDataType
in class UnaryTransformer<Vector,Vector,DCT>