Catch22.c22
โ Constantc22
The Catch22 feature set with shortened names; see catch22
.
Catch22.c24
โ Constantc24
The Catch24 feature set with shortened names; see catch24
.
Catch22.catch22
โ Constantcatch22(๐ฑ::Vector)
catch22(X::Array)
catch22[featurename::Symbol](X::Array)
Evaluate all features for a time series vector ๐ฑ
or the columns of an array X
. catch22
is a FeatureSet, which means it can be indexed by feature names (as symbols) to return a subset of the available features. getnames(catch22)
, getkeywords(catch22)
and getdescriptions(catch22)
will also return feature names, keywords and descriptions respectively. Features are returned in a FeatureArray
, in which array rows are annotated by feature names. A FeatureArray
can be converted to a regular array with Array(F)
.
Examples
๐ฑ = Catch22.testdata[:test]
๐ = catch22(๐ฑ)
X = randn(100, 10)
F = catch22(X)
F = catch22[:DN_HistogramMode_5](X)
Catch22.catch22_raw
โ ConstantThe set of Catch22 features without a preliminary z-score
Catch22.catch24
โ Constantcatch24 isa FeatureSet
A feature set containing the mean (DN_Mean
) and standard deviation (DN_Spread_Std
) in addition to all catch22
features. See catch22
.
Catch22.featuredescriptions
โ ConstantCatch22.featuredescriptions
A vector listing short descriptions of each feature, as strings.
Catch22.featurekeywords
โ ConstantCatch22.featurekeywords
A vector listing keywords of features as vectors of strings.
Catch22.DN_HistogramMode_5
โ FunctionDN_HistogramMode_5(x::AbstractVector{Union{Float64, Int}}) # For example
An alternative to catch22(:DN_HistogramMode_5](x)
. All features, such as DN_HistogramMode_5
, are exported as Features and can be evaluated by calling their names.
Examples
๐ฑ = Catch22.testdata[:test]
f = DN_HistogramMode_5(๐ฑ)
Catch22._catch22
โ Method_catch22(๐ฑ::AbstractArray{Float64}, fName::Symbol)
_catch22(fName::Symbol, ๐ฑ::AbstractArray{Float64})
Evaluate the feature fName
on the single time series ๐ฑ
. See Catch22.featuredescriptions
for a summary of the 22 available time series features. Time series with NaN or Inf values will produce NaN feature values.
Examples
๐ฑ = Catch22.testdata[:test]
Catch22._catch22(๐ฑ, :DN_HistogramMode_5)