Multi-Scale Local Shape Analysis and Feature Selection in Machine Learning Applications