reconstruct_new | R Documentation |
This function takes a model (e.g., projector
or bi_projector
) and a new dataset,
and computes the rank-d approximation of the new data in the same subspace that
was defined by the model. In other words, we project the new data into
the fitted subspace and then map it back to the original dimensionality.
reconstruct_new(x, new_data, ...)
x |
The fitted model object (e.g., |
new_data |
A numeric matrix (or data frame) of shape
|
... |
Additional arguments passed to the specific |
Similar to reconstruct
but operates on an external new_data
rather than the original fitted data. Often used to see how well the model's
subspace explains unseen data.
A numeric matrix (same number of rows as new_data
, and typically
the same number of columns if you're reconstructing fully) representing the
rank-d approximation in the model's subspace.
reconstruct
for reconstructing the original data in the model.
Other reconstruct:
reconstruct()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.