Big Data Algorithms for Visualization and Supervised Learning