run.analsis | R Documentation |
This function read previous proceeded causal forest object and get 2D projection of covariates space based on t-SNE algorithm
run.analsis(object, n, distance = NULL, perp = NULL)
object |
Causal forest object that has been created. |
n |
Size of subsample from whole dataset. Suggest no larger than few thousands. |
distance |
Distance metrix of covariate space either provided by user or default: gower distance |
perplexity |
Perplexity parameter (should no larger than 3 * perplexity < nrow(X) - 1, see details for interpretation). |
A t-SNE clustering object with the follwing elements:
index |
|
distance |
|
result |
Maaten, L. Van Der, 2014. Accelerating t-SNE using Tree-Based Algorithms. Journal of Machine Learning Research, 15, p.3221-3245
van der Maaten, L.J.P. & Hinton, G.E., 2008. Visualizing High-Dimensional Data Using t-SNE. Journal of Machine Learning Research, 9, pp.2579-2605.
tsne_obj <- run.analsis(my_cf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.