# What is Artificial Intelligence?

**Artificial Intelligence** is a computer's ability to mimic human functions such as learning and problem-solving. &#x20;

**Machine learning** is the process of using mathematical models and data to help a computer learn.  Machine learning is a subset of Artificial Intelligence.

Therefore, Artificial Intelligence uses the output from the machine learning models to think and perform tasks like a human.

**Supervised learning** is training a machine learning algorithm where input (text, images, etc) is mapped to desired outputs.

**Basic Example**:

Use Artificial Intelligence to automatically detect pictures of cats and dogs.

Process:

1. Train a machine learning model with 100 pictures that only contain a picture of a cat
2. Train the model with 100 pictures that only contain a picture of a dog&#x20;
3. Use the model in conjunction with Artificial Intelligence to correctly label cats and dogs in an image containing both cats and dogs.  The AI learned to apply the machine learning model in a different scenario.

<figure><img src="https://2438342004-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqkNekFhQY0RR1WYdtfN%2Fuploads%2F0fLDmtq89j3IOuQoVzkm%2Fimages.jpg?alt=media&#x26;token=7f312266-c864-45f3-ba4f-ad47cef902b9" alt=""><figcaption><p>AI can distinguish between cats and dogs in the same picture</p></figcaption></figure>

Below, reCAPTCHA by Google uses human input to label where the traffic lights are located.  The information is used to train their machine learning model.  Artificial Intelligence uses the model to detect objects for their autonomous vehicles.&#x20;

<figure><img src="https://2438342004-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqqkNekFhQY0RR1WYdtfN%2Fuploads%2FiHuAGbLcuJVgjm5p0Yi3%2FreCAPTCHA.jpg?alt=media&#x26;token=209b4930-6e80-451a-a637-21a011a2089e" alt=""><figcaption></figcaption></figure>



&#x20;
