def _generate_SAX_single(self, sections, value):
sax = <NUM_LIT:0><EOL>for section_number in sections.keys():<EOL><INDENT>section_lower_bound = sections[section_number]<EOL>if value >= section_lower_bound:<EOL><INDENT>sax = section_number<EOL><DEDENT>else:<EOL><INDENT>break<EOL><DEDENT><DEDENT>return str(sax)<EOL>
Generate SAX representation(Symbolic Aggregate approXimation) for a single data point.
Read more about it here: Assumption-Free Anomaly Detection in Time Series(http://alumni.cs.ucr.edu/~ratana/SSDBM05.pdf).
:param dict sections: value sections.
:param float value: value to be categorized.
:return str: a SAX representation.