# Supervised, Unsupervised, & Reinforcement Learning

![Source: IBM](/files/-LwQcH6NWMz6kjAEqpge)

### Supervised Learning&#x20;

In supervised learning, the machine uses labeled training data. It is told the correct output and it compares its own output which informs the subsequent steps, adjusting itself along the way. &#x20;

This process is repeated until the model achieves a desired level of accuracy on the training data and can correctly predict the class label for new instances.

There are numerous supervised learning algorithms and each has benefits and drawbacks. Read more about [types of supervised learning](/wiki/machine-learning-models-explained.md#types-of-supervised-learning-models) models.

### Unsupervised&#x20;

In unsupervised learning, the data isn't labeled. The machine must figure out the correct answer without being told and must therefore discover unknown patterns in the data. Algorithms must therefore be formulated such that they can find suitable patterns and structures in the data on their own. &#x20;

Some popular examples of unsupervised learning include GANs and Autoencoders.

See types of [Unsupervised Learning](/wiki/machine-learning-models-explained.md#types-of-unsupervised-learning-models) models.

### Semi-Supervised

In Semi-Supervised Learning: Input data is a mixture of labeled and unlabeled examples.

### Reinforcement Learning

Reinforcement Learning allows the machine the most freedom. It uses trial and error to discover the actions that yield the greatest rewards. AlphaGo is a famous example of RL.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://machine-learning.paperspace.com/wiki/supervised-unsupervised-and-reinforcement-learning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
