liveBook · Manning

Feature vector

A feature vector is an ordered collection of feature values that represents an instance for computational or statistical processing.

How 2 Manning books explain it

Build a Text-to-Image Generator (from Scratch)

A feature vector is a numerical vector whose components encode properties of an input or intermediate representation.

How it is used
Uses feature vectors to encode image patches before quantizing visual representations into discrete sequences.
How deep it goes
Explains dimensions, spatial layout, codebook matching, index conversion, and reconstruction, but not vector-training mathematics.
Examples
Uses a cat image, a 24 × 24 latent grid, 256-value vectors, 1,024 codebook entries, and integer indices such as 873 and 862.
What you can do after
Apply VQGAN to inspect latent feature vectors, convert them into codebook indices, and reconstruct an image from those indices.

Read how Build a Text-to-Image Generator (from Scratch) explains feature vector →

Graph Algorithms for Data Science

A feature vector is a vector whose numerical components encode selected characteristics of a data point or node.

How it is used
Encodes extracted user characteristics so similarity networks and user segments can be constructed.
How deep it goes
Explains vector use through cosine similarity and network construction, without detailing feature-extraction internals.
Examples
Uses Twitter users, extracted user characteristics, pairwise cosine similarity, and inferred user segments.
What you can do after
Apply it via cosine similarity to construct user-similarity networks and support community-based segmentation.

Read how Graph Algorithms for Data Science explains feature vector →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.