...
For example, a bio data scientist wants to study the sequence of the nucleotides using the input stream of DNA sequencing to identify the bonds. The input stream contains the DNA sequence AGCTTCGA. The output contains the bigram sequence AG, GC, CT, TT, TC, CG, GA.
Configuration
Property | Macro Enabled? | Description |
---|---|---|
Field Used To Transform Input Features Into N-Grams | No | Required. Field to be used to transform input features into n-grams. |
N-Gram Size | Yes | Required. NGram size. |
Transformed Field | No | Required. Transformed field for sequence of n-gram. |
Example
This example transforms features from “tokens” field into n-grams (output field name is ngrams) using ngram size as “2”.
...