EMM

0th

Percentile

Creator for Class "EMM"

Create a new object of class "EMM".

Keywords
models
Usage
EMM(threshold = 0.2, measure = "euclidean", distFun = NULL, centroids = identical(tolower(measure), "euclidean"), lambda = 0, data = NULL)
Arguments
threshold
Object of class "numeric" with the dissimilarity threshold used by the clustering algorithm for assigning a new observation to existing clusters.
measure
Object of class "character" containing the name of the dissimilarity measure used (see dist in proxy for available measures).
distFun
Specify a function passed on as method to dist in proxy (see dist in proxy). The character string passed on as measure will be used as the measure's name.
centroids
Object of class "logical" indicating if centroids are used for clusters. If FALSE, pseudo medians (first observation of a cluster) are used to represent a cluster.
lambda
Object of class "numeric" specifying the rate for fading.
data
Initial data to build the EMM. This just calls build on the new EMM.
Value

An object of class "EMM".

See Also

EMM-class

Aliases
  • EMM
  • object.size,EMM-method
Examples
## load EMMTraffic data
data(EMMTraffic)

## create empty EMM
emm <- EMM(threshold=0.2, measure="eJaccard", lambda=.1)
emm

## cluster some data
build(emm, EMMTraffic)
emm

## what clusters were the data points assigned to?
last_clustering(emm)

## plot the clustering as a graph
plot(emm)
Documentation reproduced from package rEMM, version 1.0-11, License: GPL-2

Community examples

Looks like there are no examples yet.