Introduction to Machine Learning Using Python: A Practical Guide with pandas and scikit-learn

Authors

Muhammad Tanveer Islam
Bangladesh Institute of Governance and Management, Bangladesh

Keywords:

machine learning; Python; scikit-learn; pandas; matplotlib; supervised learning; unsupervised learning; classification; regression; model evaluation; cross validation; data preprocessing; imbalanced data; feature engineering

Synopsis

Nowadays, Machine Learning helps develop decision-support systems across various real-world fields, including engineering, healthcare, finance, and public policy. Many new learners still struggle to understand the relationship between machine learning theory and working code, which this book addresses. This book provides the core concepts of machine learning and shows, step by step, how to implement the ideas using Python. At the start of the book, it covers the fundamental components of machine learning, including data preparation, exploration, splitting, pre-processing, and visualization. Then the book covers the concepts and implementations of supervised learning algorithms, including linear and logistic regression, k-nearest neighbors, decision trees, support vector machines, and ensemble methods such as random forests and gradient boosting. Next, the book works with unsupervised learning, including clustering and dimensionality reduction. A full chapter explores important topics such as model evaluation, cross-validation, and hyperparameter tuning, with clear guidance on avoiding data leakage. Later chapters address practical problems that real datasets bring, such as class imbalance and handling missing values. Every chapter includes brief explanations of the mathematics, complete Python code using NumPy, pandas, matplotlib, and scikit-learn, and exercises with real datasets. The book is useful for undergraduate and graduate students, researchers, and practitioners seeking a robust and honest starting point in machine learning.

Downloads

Download data is not yet available.

Author Biography

Muhammad Tanveer Islam, Bangladesh Institute of Governance and Management, Bangladesh

Muhammad Tanveer Islam is a researcher at the Bangladesh Institute of Governance and Management (BIGM) in Dhaka. At BIGM, he works on policy research and machine learning, and he also serves as a training instructor. He has nearly ten years of experience working with data in both industry and research. Tanveer holds an M.Sc. in Information and Communication Technology from Bangladesh University of Engineering and Technology (BUET). His master’s thesis developed a multi-layer hybrid technique to handle data imbalance. He earned his B.Sc. in Computer Science and Engineering from the Islamic University of Technology (IUT). Before joining BIGM, he built business intelligence and data solutions at IQVIA, Walton Hi-Tech Industries, Apex Footwear, and Wunderman Thompson Studios. His work there covered data warehousing, SQL databases, Power BI reporting, sales forecasting, and Python automation. His research focuses on imbalanced data, feature extraction, and forecasting. His papers have appeared in Data & Knowledge Engineering, Quality & Quantity, the Journal of Data, Information and Management, and Scientific Reports. His contributions include the Multi-Layer Hybrid (MLH) balancing technique and PC-NCA, a hybrid feature extraction method.


References

Introduction to Machine Learning Using Python

Forthcoming

December 31, 2026

License

Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

How to Cite

Islam, M. T. (2026). Introduction to Machine Learning Using Python: A Practical Guide with pandas and scikit-learn. Spider Publishing Books. https://doi.org/10.66348/spider.books.v1.010.26