Machine Learning: Fundamental Algorithms for Supervised and Unsupervised Learning With Real-World Applications