Hands-on Machine Learning -- Custom Models and Training with TensorFlow

Hands-on Machine Learning -- Custom Models and Training with TensorFlow

🎙 San Diego Machine Learning 👥 21K 📅 December 31, 2025 ⏱ 87 min 👁 753 📄 tutorial 🧭 2026-08-16
Available in: English (current) Français

Keywords

TensorFlowKerascustom losscustom metricsHuber loss

Summary

This video is a session from the San Diego Machine Learning book club, covering Chapter 12 of ‘Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow’ by Aurélien Géron. The presenter walks through the notebook, explaining TensorFlow basics like constants, variables, and operations, and then focuses on customizing models in Keras. Key topics include defining custom loss functions (e.g., Huber loss), custom activation functions, initializers, regularizers, and metrics. The presenter demonstrates how to save and reload models, highlighting the need to re-specify custom objects. They also discuss ragged and sparse tensors for handling text data. The session includes live coding and troubleshooting, with updates to the original notebook to work with current TensorFlow versions. The video is aimed at intermediate ML practitioners and provides practical insights into extending Keras for custom needs.

131 words

Critical Evaluation

Value of the Information & Strength of the Argument

The video provides valuable practical knowledge for customizing TensorFlow/Keras models, which is often not covered in introductory tutorials. The presenter demonstrates real code and explains the reasoning behind each customization, making it useful for practitioners. The argumentation is solid, as they show examples and discuss trade-offs, such as the need to re-specify custom objects when loading models. However, the presentation is informal and sometimes rambling, which may reduce clarity.

Scientific Rigor, Source Quality, Title Accuracy

The content is based on a reputable book by Aurélien Géron, and the presenter references the official documentation for further details. The GitHub repository for the book club provides notes and slides, which adds credibility. The title accurately reflects the content. The presenter also mentions updating the notebook to fix compatibility issues, showing attention to accuracy. However, no external sources are cited beyond the book and documentation, and the video is a community meetup rather than a peer-reviewed presentation.

163 words

Title / Content Match

The title accurately reflects the content, which focuses on custom models and training with TensorFlow.

Quality & Reliability

7/10

The video is a practical tutorial based on a well-known book, with live code demonstrations and updates for current TensorFlow versions. The presenter shows real errors and solutions, but the content is not peer-reviewed and relies on the presenter's experience.

Key Moments

Cited Sources

  • SDML Book Club Notes — Notes and slides for the book club session
  • SDML Slack Community — Community for discussion and questions

Concurring Sources

Contribution & Novelties

The video offers a practical, hands-on approach to customizing TensorFlow/Keras models, which is often missing from theoretical tutorials. It provides updated code for current TensorFlow versions and highlights common pitfalls, such as the need to re-specify custom objects when loading models. The presenter’s live troubleshooting adds real-world value.

Pour aller plus loin :

  • TensorFlow Customization Guide — Official documentation for custom layers and models.
  • Keras API Reference — Comprehensive reference for Keras components.
  • Huber Loss — Wikipedia article on the Huber loss function.

83 words

Radar Profile

The radar profile shows a balanced performance across all dimensions, with slightly higher scores in information quantity and technical level, indicating a content-rich and technically detailed tutorial. The lower score in information quality suggests some lack of depth or clarity in explanations, but overall the video is reliable and useful.

Reliability 7/10

💬 No comments were provided for analysis.