bdm.save {bigMap}R Documentation

Save bdm instance

Description

Saves a bdm instance with default path/file names, as given by bdm.mybdm()/bdm.fName(bdm). Default file name is generated based on bdm$dSet and ptSNE main parameters (threads, layers, boost, rounds, perplexity). The purpose of functions bdm.save() and bdm.scp() used with bdm.fName() is to ease the task of working/organizing multiple runs on the same dataset.

Usage

bdm.save(...)

Arguments

...

A bdm instance as generated by bdm.init().

Value

None

Examples


# --- get a matrix with raw-data
mydata <- cbind(rnorm(10000, mean = 0, sd = 3),  ncol = 2)
mylabels <- apply(mydata, 1, function(row) round(sqrt(sum(row**2)), 0))
# --- create a \var{bdm} instance with our raw-data matrix
mybdm <- bdm.init('mydataset', mydata, labels = mylabels)
str(mybdm)
# --- save it
## Not run: 
bdm.save(mybdm)

## End(Not run)

[Package bigMap version 2.3.1 Index]