Learn R Programming

funtimes (version 5.0)

CExpandSlideCluster: Slide-Level Time Series Cluster Expansion

Description

This is an auxiliary function to expand a slide-level time series cluster, based on Ciampi et al. (2010).

Usage

CExpandSlideCluster(u, Xuncl, Alpha, Beta, Delta, Theta)

Arguments

u

a time series vector --- a seed to expand the cluster.

Xuncl

a time series vector (of the same length as u) or a matrix (time series in columns) containing unclustered time series.

Alpha

lower limit of the time series domain.

Beta

upper limit of the time series domain.

Delta

closeness parameter, a real value in [0,1].

Theta

connectivity parameter, a real value in [0,1].

Value

A vector of logical values indicating which time series in Xuncl should be included in the slide-level cluster with u.

References

Ciampi, A., Appice, A., and Malerba, D. (2010). Discovering trend-based clusters in spatially distributed data streams. In International Workshop of Mining Ubiquitous and Social Environments, pages 107--122.

See Also

CNeighbor, CHomogeneity, CSlideCluster, CExpandWindowCluster, CWindowCluster

Examples

Run this code
# NOT RUN {
set.seed(123)
u <- rnorm(10)
Xuncl <- matrix(rt(50, 5), 10, 5)
Alpha <- min(cbind(u, Xuncl))
Beta <- max(cbind(u, Xuncl))
CExpandSlideCluster(u, Xuncl, Alpha, Beta, Delta = 0.15, Theta = 0.8)
# }

Run the code above in your browser using DataLab