Parallel Programming for Classification Algorithms Using Logistic Regression and Artificial Neural Networks: Framework and Applications