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, transformSchematransform, 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 static DCT load(java.lang.String path)
public java.lang.String uid()
Identifiablepublic BooleanParam inverse()
public DCT setInverse(boolean value)
public boolean getInverse()
protected scala.Function1<Vector,Vector> createTransformFunc()
UnaryTransformercreateTransformFunc in class UnaryTransformer<Vector,Vector,DCT>protected void validateInputType(DataType inputType)
UnaryTransformervalidateInputType in class UnaryTransformer<Vector,Vector,DCT>inputType - (undocumented)protected DataType outputDataType()
UnaryTransformeroutputDataType in class UnaryTransformer<Vector,Vector,DCT>