# Wk2

## Modulus & Inner Product

The length of a vector, also called its size, and the dot product of a vector, also called it's inner scalar or projection product.

![Size of Vector](/files/-LiO_GIf1RqxND8ShZ8J)

![](/files/-LiOc7RB0ciIjuMZXn1J)

## Cosine & dot product

![](/files/-LiOe0ETfzx7a6Nar6gW)

![](/files/-LiOgWmZcx_MgcYTeA_b)

## Changing Basis

![](/files/-LiTxohEmTHPLpQ0pe5n)

## **Basis, vector space, and linear independence**

![](/files/-LiTyAqvrJMomcg0pvex)

![](/files/-LiTyghzJEn59-i2ZR3x)

Now if we're thinking about a neural network in machine learning that recognizes faces say, maybe I'd want to make some transformation of all the pixels interface into a new basis that describes the nose shape, the skin hue, the distance between the eyes those sorts of things and discard the actual pixel data. So the goal of the learning process of the neural network is going to be to somehow derive a set of basis vectors that extract the most information-rich features of the faces.


---

# 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://stephanosterburg.gitbook.io/scrapbook/math/math-for-ml/linear-algebra/wk2.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.
