flask requests numpy scikit-learn click matplotlib