ProjectSketch | R Documentation |
Project weights learned from geometric sketches onto other data points based on nearest neighbors.
ProjectSketch(data, data_query, weights_data, k)
data |
An M x d matrix or data.frame with M rows of data points and d columns of features. |
data_query |
An N x d matrix or data.frame with N rows of queried data points and d columns of features. |
weights_data |
A vector of weights for each data point with total length of M. |
k |
Number of nearest neighbors. See details from |
Returns the weight matrix of the queried data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.