public interface VisualizationTransform extends Cloneable, Serializable
DataTransform
interface,
except it can not necessarily be applied to new datapoints. Classes
implementing this interface are intended to create 2D or 3D versions of a
dataset that can be visualized easily.Modifier and Type | Method and Description |
---|---|
int |
getTargetDimension() |
boolean |
setTargetDimension(int target)
Sets the target dimension to embed new dataset to.
|
<Type extends DataSet> |
transform(DataSet<Type> d)
Transforms the given data set, returning a dataset of the same type.
|
<Type extends DataSet> |
transform(DataSet<Type> d,
ExecutorService ex)
Transforms the given data set, returning a dataset of the same type.
|
int getTargetDimension()
boolean setTargetDimension(int target)
target
- the new target dimension size when transform(jsat.DataSet)
is called.true
if this transform supports that dimension and it was
set, false
if the target dimension is unsupported and the
previous value will be used instead.<Type extends DataSet> Type transform(DataSet<Type> d)
Type
- the dataset typed
- the data set to transform<Type extends DataSet> Type transform(DataSet<Type> d, ExecutorService ex)
Type
- the dataset typed
- the data set to transformex
- the source of threads for parallel computationCopyright © 2017. All rights reserved.