> For the complete documentation index, see [llms.txt](https://vikram-bajaj.gitbook.io/cs-gy-6923-machine-learning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vikram-bajaj.gitbook.io/cs-gy-6923-machine-learning/types-of-machine-learning/supervised-learning/neural-networks/mlp/regression-with-multiple-outputs.md).

# Regression with Multiple Outputs

The aim here is to predict multiple values, instead of just a single value. This is analogous to multi-label classification where we attempt to predict multiple classses at once.

Reasons to do so:

* less training time
* less number of weights, therefore, less prone to overfitting
* possible relation between values being predicted can be learned

The Error Function is as follows:

$$E = \sum\_{i=1}^k \sum\_{t=1}^N (r\_i^t-y\_i^t)^2$$

i.e. the *mean squared error*. (k is the number of values to be predicted)

* can use stochastic gradient descent
* can use mini-batches in the gradient descent


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://vikram-bajaj.gitbook.io/cs-gy-6923-machine-learning/types-of-machine-learning/supervised-learning/neural-networks/mlp/regression-with-multiple-outputs.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.
