liveBook · Manning

Structured data

As explained in Deep Learning with PyTorch, Second Edition

Data organized as rows and columns where each row is treated as an independent record without inherent temporal order.

Structured data organizes information in rows and columns. Each row represents an independent sample or record, and row order carries no inherent meaning. section 4.3

Columns can contain different kinds of information, such as numerical measurements and labels, so the table is heterogeneous. Neural networks instead consume homogeneous numeric tensors, requiring deliberate encoding before training. section 4.3 section 4.3.1

Wine quality table

A wine dataset stores eleven chemical variables and a quality score in twelve CSV columns. A possible task is predicting quality from the chemical measurements. section 4.3.1

fixed acidity
volatile acidity
citric acid
residual sugar
chlorides
free sulfur dioxide
total sulfur dioxide
density
pH
sulphates
alcohol
quality

Inspect the wine table’s column names, from acidity and sulfur measurements to alcohol and quality. section 4.3.1

Structured tabular data differs from time series: adding meaningful date or time information makes row order relevant and changes the representation problem. section 4.4

How Deep Learning with PyTorch, Second Edition covers it

How deep it goes
Defines rows, columns, heterogeneous types, and numeric tensor encoding, then stops before model training.
Examples
Uses a twelve-column wine-quality CSV containing chemical measurements and sensory scores.
What you can do after
Build it from scratch by encoding heterogeneous table columns as floating-point tensor values ready for a neural network.
How it connects
Connects tabular data with tensors, neural networks, machine learning, and time series.

Also explained in

Compare how 24 books explain structured data →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with PyTorch, Second Edition. The section links point to the parts of the book it draws on.