FeaTrend is method of time series representation based on feature extraction from run lengths (RLE) of bit-level (trending) representation.
It extracts number of features from trending representation based on number of pieces defined.
From every piece, 2 features are extracted. You can define what feature will be extracted,
recommended functions are max and sum. For example if max is selected, then maximum value of run lengths of ones and zeros are extracted.
# default settingsrepr_featrend(rnorm(50), maxC)
# compute FeaTrend for 4 pieces and make more smoothed ts by order = 8repr_featrend(rnorm(50), sumC, 4, 8)