Embedders are non-linear dimensionality reducers that produce dense representations of an input feature space such that they can be visualized or used as lower dimensional inputs to a learning algorithm.

Embed a Dataset#

To embed a dataset and return an array containing the low dimensional samples:

public embed(Dataset $dataset) : array


use Rubix\ML\Datasets\Unlabeled;

// Import high dimensional samples

$dataset = new Unlabeled($samples);

$samples = $embedder->embed($dataset);