https://glennprays.com/blog/percepton-classifier