Machine Learning Theory and Applications

Book description

Machine Learning Theory and Applications

Enables readers to understand mathematical concepts behind data engineering and machine learning algorithms and apply them using open-source Python libraries

Machine Learning Theory and Applications delves into the realm of machine learning and deep learning, exploring their practical applications by comprehending mathematical concepts and implementing them in real-world scenarios using Python and renowned open-source libraries. This comprehensive guide covers a wide range of topics, including data preparation, feature engineering techniques, commonly utilized machine learning algorithms like support vector machines and neural networks, as well as generative AI and foundation models. To facilitate the creation of machine learning pipelines, a dedicated open-source framework named hephAIstos has been developed exclusively for this book. Moreover, the text explores the fascinating domain of quantum machine learning and offers insights on executing machine learning applications across diverse hardware technologies such as CPUs, GPUs, and QPUs. Finally, the book explains how to deploy trained models through containerized applications using Kubernetes and OpenShift, as well as their integration through machine learning operations (MLOps).

Additional topics covered in Machine Learning Theory and Applications include:

  • Current use cases of AI, including making predictions, recognizing images and speech, performing medical diagnoses, creating intelligent supply chains, natural language processing, and much more
  • Classical and quantum machine learning algorithms such as quantum-enhanced Support Vector Machines (QSVMs), QSVM multiclass classification, quantum neural networks, and quantum generative adversarial networks (qGANs)
  • Different ways to manipulate data, such as handling missing data, analyzing categorical data, or processing time-related data
  • Feature rescaling, extraction, and selection, and how to put your trained models to life and production through containerized applications

Machine Learning Theory and Applications is an essential resource for data scientists, engineers, and IT specialists and architects, as well as students in computer science, mathematics, and bioinformatics. The reader is expected to understand basic Python programming and libraries such as NumPy or Pandas and basic mathematical concepts, especially linear algebra.

Table of contents

  1. Cover
  2. Table of Contents
  3. Title Page
  4. Copyright Page
  5. Dedication Page
  6. Foreword
  7. Acknowledgments
  8. General Introduction
    1. The Birth of the Artificial Intelligence Concept
    2. Machine Learning
    3. From Theory to Production
  9. 1 Concepts, Libraries, and Essential Tools in Machine Learning and Deep Learning
    1. 1.1 Learning Styles for Machine Learning
    2. 1.2 Essential Python Tools for Machine Learning
    3. 1.3 HephAIstos for Running Machine Learning on CPUs, GPUs, and QPUs
    4. 1.4 Where to Find the Datasets and Code Examples
    5. Further Reading
  10. 2 Feature Engineering Techniques in Machine Learning
    1. 2.1 Feature Rescaling: Structured Continuous Numeric Data
    2. 2.2 Strategies to Work with Categorical (Discrete) Data
    3. 2.3 Time‐Related Features Engineering
    4. 2.4 Handling Missing Values in Machine Learning
    5. 2.5 Feature Extraction and Selection
    6. Further Reading
  11. 3 Machine Learning Algorithms
    1. 3.1 Linear Regression
    2. 3.2 Logistic Regression
    3. 3.3 Support Vector Machine
    4. 3.4 Artificial Neural Networks
    5. 3.5 Many More Algorithms to Explore
    6. 3.6 Unsupervised Machine Learning Algorithms
    7. 3.7 Machine Learning Algorithms with HephAIstos
    8. References
    9. Further Reading
  12. 4 Natural Language Processing
    1. 4.1 Classifying Messages as Spam or Ham
    2. 4.2 Sentiment Analysis
    3. 4.3 Bidirectional Encoder Representations from Transformers
    4. 4.4 BERT’s Functionality
    5. 4.5 Installing and Training BERT for Binary Text Classification Using TensorFlow
    6. 4.6 Utilizing BERT for Text Summarization
    7. 4.7 Utilizing BERT for Question Answering
    8. Further Reading
  13. 5 Machine Learning Algorithms in Quantum Computing
    1. 5.1 Quantum Machine Learning
    2. 5.2 Quantum Kernel Machine Learning
    3. 5.3 Quantum Kernel Training
    4. 5.4 Pegasos QSVC: Binary Classification
    5. 5.5 Quantum Neural Networks
    6. 5.6 Quantum Generative Adversarial Network
    7. 5.7 Quantum Algorithms with HephAIstos
    8. References
    9. Further Reading
  14. 6 Machine Learning in Production
    1. 6.1 Why Use Docker Containers for Machine Learning?
    2. 6.2 Machine Learning Prediction in Real Time Using Docker and Python REST APIs with Flask
    3. 6.3 From DevOps to MLOPS: Integrate Machine Learning Models Using Jenkins and Docker
    4. 6.4 Machine Learning with Docker and Kubernetes: Install a Cluster from Scratch
    5. 6.5 Machine Learning with Docker and Kubernetes: Training Models
    6. 6.6 Machine Learning with Docker and Kubernetes: Batch Inference
    7. 6.7 Machine Learning Prediction in Real Time Using Docker, Python Rest APIs with Flask, and Kubernetes: Online Inference
    8. 6.8 A Machine Learning Application that Deploys to the IBM Cloud Kubernetes Service: Python, Docker, Kubernetes
    9. 6.9 Red Hat OpenShift to Develop and Deploy Enterprise ML/DL Applications
    10. 6.10 Deploying a Machine Learning Model as an API on the Red Hat OpenShift Container Platform: From Source Code in a GitHub Repository with Flask, Scikit‐Learn, and Docker
    11. Further Reading
  15. Conclusion: The Future of Computing for Data Science?
    1. Binary Systems
    2. Biologically Inspired Systems
    3. Quantum Systems: Qubits
    4. Final Thoughts
    5. Further Reading
  16. Index
  17. End User License Agreement

Product information

  • Title: Machine Learning Theory and Applications
  • Author(s): Xavier Vasques
  • Release date: January 2024
  • Publisher(s): Wiley
  • ISBN: 9781394220618