teda_b: Create teda batch object from a vector

Description Usage Arguments Details Value References See Also Examples

View source: R/teda-batch.R

Description

Takes a vector of observations and return a teda batch object, which holds the eccentricity and typicality values, both original and normalised versions.

Usage

1
teda_b(observations, dist_type = "Euclidean")

Arguments

observations

A vector of numeric observations

dist_type

A string representing the distance metric to use, default value (and currently only supported value) is "Euclidean"

Details

Uses the algorithm from Angelov (2014) to create a teda batch object. This contains a vector for the eccentricity (standard and normalised), typicality (standard and normalised), the outlier threshold, and whether each observation is or is not an outlier. Also provides the original vector of values.

Value

The teda batch object

References

Angelov, P., 2014. Outside the box: an alternative data analytics framework. Journal of Automation Mobile Robotics and Intelligent Systems, 8(2), pp.29-35. DOI: 10.14313/JAMRIS_2-2014/16

See Also

teda_r for the recursive version of the TEDA framework.

Other TEDA.functions: teda_r

Examples

1
2
3
4
5
6
vec = c(20, 12, 10)
teda_b(vec)
# same as
a = teda_b(vec,"Euclidean")
summary(a)
plot(a)

NERC-CEH/teda-r documentation built on May 7, 2019, 6:01 p.m.