Skip to main content

MLCore::TSNEParameters

MLCore::TSNEParameters

Parameters for t-SNE dimensionality reduction. More…

#include <MLModelParameters.hpp>

Inherits from MLCore::MLModelParametersBase

Public Attributes

Name
std::size_t n_components
Number of output dimensions (usually 2 or 3).
double perplexity
Perplexity (effective number of neighbors; typical range 5–50).
double theta
Barnes-Hut approximation angle (0 = exact, >0 = faster).

Additional inherited members

Public Functions inherited from MLCore::MLModelParametersBase

Name
virtual ~MLModelParametersBase() =default

Detailed Description

struct MLCore::TSNEParameters;

Parameters for t-SNE dimensionality reduction.

Note: t-SNE does not support projecting new data (transform is unsupported).

Wraps tapkee’s t-SNE implementation. t-SNE is a non-linear, stochastic method suited for 2D/3D visualization of high-dimensional data.

Public Attributes Documentation

variable n_components

std::size_t n_components = 2;

Number of output dimensions (usually 2 or 3).

variable perplexity

double perplexity = 30.0;

Perplexity (effective number of neighbors; typical range 5–50).

variable theta

double theta = 0.5;

Barnes-Hut approximation angle (0 = exact, >0 = faster).


Updated on 2026-11-13 at 20:25:41 +0000