liveBook · Manning

TensorFlow Dataset

Also called tf.data.Dataset

TensorFlow Dataset is an iterable abstraction for representing, transforming, batching, and supplying sequences of data elements to machine-learning models.

How 2 Manning books explain it

Deep Learning with Python, Third Edition

TensorFlow's iterable dataset abstraction for efficient loading, preprocessing, and batching of data.

How it is used
Supplies efficient input pipelines for image classification and distributed training.
How deep it goes
Demonstrates creation, iteration, batching, mapping, fitting, and prefetching without detailing Dataset internals.
Examples
Uses image directories and NumPy vectors to demonstrate loading, reshaping, batching, and model training.
What you can do after
Apply it via tf.data and Keras to prepare batches, train a model, and prefetch distributed-training inputs.

Read how Deep Learning with Python, Third Edition explains TensorFlow Dataset →

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

tf.data.Dataset is a TensorFlow data abstraction representing a sequence of elements that can be transformed and iterated during model input processing.

How it is used
Builds efficient TensorFlow input pipelines for structured tabular model training, validation, and testing.
How deep it goes
Explains conversion, shuffling, batching, prefetching, and dataset splits, but defers Dataset internals.
Examples
Uses property data with categorical and continuous columns, then creates train, validation, and test datasets.
What you can do after
Builds a shuffled, batched, prefetched dataset from a pandas-style DataFrame for Keras model input.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains TensorFlow Dataset →

Also covered in

What to know first

Related concepts

Questions about TensorFlow Dataset

What is TensorFlow Dataset?

TensorFlow Dataset is an iterable abstraction for representing, transforming, batching, and supplying sequences of data elements to machine-learning models.

Which Manning books explain TensorFlow Dataset?

Deep Learning with Python, Third Edition and Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI.

What should I know before learning TensorFlow Dataset?

Manning books that teach TensorFlow Dataset usually introduce training first.

What is TensorFlow Dataset part of?

TensorFlow Dataset is part of tf.data API. The tf.data API is TensorFlow’s API for constructing input pipelines that read, transform, batch, and iterate over data efficiently.

What is TensorFlow Dataset also called?

TensorFlow Dataset is also called tf.data.Dataset.

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.