---
title: "From data to vectors"
description: "How a document becomes a point in space: pick properties that matter (length, topic, tone…), score each one, and the scores become coordinates. Two hand-pi"
canonical_url: "https://fanout.sh/ai-engineering/lessons/how-are-vectors-constructed"
md_url: "https://fanout.sh/ai-engineering/lessons/how-are-vectors-constructed.md"
last_updated: "2026-11-11"
access: "public"
---

# From data to vectors

How a document becomes a point in space: pick properties that matter (length, topic, tone…), score each one, and the scores become coordinates. Two hand-pi

## Lesson notes

How a document becomes a point in space: pick properties that matter (length, topic, tone…), score each one, and the scores become coordinates. Two hand-picked axes are enough to see clusters form — fiction here, non-fiction there — and the leap to real systems is letting a trained neural network choose hundreds of axes for you instead of two.

### Key ideas

- Feature axes → coordinates → a document is a point
- Similar objects land near each other; distance ≈ dissimilarity
- Embedding models learn the axes instead of humans picking them
- BERT-style encoders as the workhorse for text embeddings

## Further reading

- BERT paper
- The Illustrated Word2Vec — Jay Alammar
- TensorFlow Embedding Projector (play with real embeddings)

---
This representation contains public Fanout content only. Protected Pro lessons, account data, billing, checkout, and pricing are not included.

Browse the public content map: https://fanout.sh/sitemap.md
