Classes
Methods
clone() → {TsneStatus}
- Source:
Returns:
A deep copy of this object.
- Type
- TsneStatus
extractCoordinates() → {object}
- Source:
Returns:
Object with x
and y
keys.
The corresponding values are Float64Array objects of length equal to the number of cells,
containing the x- and y- coordinates for each cell at the current state of the algorithm.
- Type
- object
free()
- Source:
Returns:
Frees the memory allocated on the Wasm heap for this object. This invalidates this object and all references to it.
iterations() → {number}
- Source:
Returns:
Number of iterations processed so far.
This will change with repeated invocations of runTsne
on this object.
- Type
- number
numberOfCells() → {number}
- Source:
Returns:
Number of cells in the dataset.
- Type
- number
run(optionsopt)
- Source:
Run the t-SNE algorithm to the specified number of iterations or for a certain time. This method may be called any number of times.
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
The algorithm status in x
is advanced up to the requested number of iterations,
or until the requested run time is exceeded, whichever comes first.