pep8
improve memory efficiency
add classifier training example