Chapter 1: Introduction to AI

Learning Objectives

Understand chatbots and language processing

Understand image generation

Understand computer vision

Chatbots and Language Processing

Chatbots like Chat-GPT, Gemini, and Azure use Natural Language Processing (NLP), a type of Artificial Intelligence, to understand and interpret text. Here's how NLP typically works:

  1. Gather and prepare unstructured text or speech information
  2. Pre-process the data using techniques like tokenization, stemming, lemmatization, and stop word removal
  3. Train the model on the processed data
  4. Use the trained model for various language-related tasks

Watch and Learn

Image Generation

AI Image Generation combines Language Processing with large sets of picture data to create images based on text descriptions. While powerful, these tools have limitations:

  • Quality depends on the pre-trained images used by the model
  • May struggle with precise details
  • Output accuracy can vary based on the training data's representativeness

Practice Exercise

Try generating an image using an AI tool like DALL-E or Midjourney. Describe your experience and the quality of the output.

Computer Vision

Computer Vision has numerous applications, including:

  • Facial recognition
  • Self-driving cars
  • Medical anomaly detection
  • Sports performance analysis

A key component of computer vision is the Convolutional Neural Network (CNN), which helps ML models 'see' by breaking down images into pixels and identifying patterns.