[−][src]Function dt_analysis::dim_reduction::sax
pub fn sax<N>(data: &Vec<N>, word_size: usize, alpha: usize) -> String where
N: Float,
Returns a sax word representation of the original list.
word_size
determines the length of the word, and alpha
represents the alphabet size.
Panics
- if
alpha
is not between 3 and 7. Higher numbers can only be supported if the static variableBREAKPOINTS
is updated.