template<std::size_t num_dim_, typename Index_, typename Float_>
class qdtsne::Status< num_dim_, Index_, Float_ >
Status of the t-SNE iterations.
- Template Parameters
-
num_dim_ | Number of dimensions in the t-SNE embedding. |
Index_ | Integer type of the observation indices. |
Float_ | Floating-point type of the neighbor distances and output embedding. |
This class holds the precomputed structures required to perform the t-SNE iterations. Instances should not be constructed directly but instead created by initialize()
.
template<std::size_t num_dim_, typename Index_ , typename Float_ >
Run the algorithm to the maximum number of iterations. If run()
has already been invoked with an iteration limit, this method will only perform the remaining iterations required for iteration()
to reach max_iter()
. If iteration()
is already greater than max_iter()
, this method is a no-op.
- Parameters
-
[in,out] | Y | Pointer to a array containing a column-major matrix with number of rows and columns equal to num_dim_ and num_observations() , respectively. Each row corresponds to a dimension of the embedding while each column corresponds to an observation. On input, this should contain the initial location of each observation; on output, it is updated to the t-SNE location at the specified number of iterations. |