Learn R Programming

funtimes (version 5.0)

CHomogeneity: Time Series Cluster Homogeneity

Description

This is an auxiliary function to check homogeneity of time series cluster, based on Definition 4 by Ciampi et al. (2010).

Usage

CHomogeneity(Bu, Bv, Alpha, Beta, Delta)

Arguments

Bu

bucket of time series already included in the cluster.

Bv

bucket of time series (neighbors) for potential inclusion in the cluster.

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].

Value

A logical value indicating whether time series in Bu and Bv form a homogeneous cluster.

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, CExpandSlideCluster, CSlideCluster, CExpandWindowCluster, CWindowCluster

Examples

Run this code
# NOT RUN {
Bu <- rnorm(10)
Bv <- rnorm(10)
Alpha <- min(c(Bu, Bv))
Beta <- max(c(Bu, Bv))
CHomogeneity(Bu, Bv, Alpha, Beta, Delta = 0.5)
# }

Run the code above in your browser using DataLab