sem: Calculates self-embedding model.

Description Usage Arguments Value Examples

View source: R/sme_algorithm.R

Description

Calculates self-embedding model.

Usage

1
sem(X, som, grp)

Arguments

X

a matrix of data.

som

a SOM learned X.

grp

graph of manifold equal to SOM topology.

Value

SME object.

Examples

1
2
3
4
5
6
7
library(TDA)

sphere4d <- sphereUnif(n = 500,d = 3)
spsom <- setSom(4,topo.mode = "sphere")
spgrp <- setGraph(spsom)

spsem <- sem(sphere4d,spsom,spgrp)

hosscine/SME documentation built on April 18, 2018, 11:37 p.m.