liveBook · Manning

Machine learning problem

As explained in Deep Learning with Python, Third Edition

A task framed so that a model can be trained on data to make useful predictions or decisions.

A machine learning problem starts with a real-world need, not necessarily a ready-made dataset. Frame the inputs, the desired prediction or decision, the available training data, and the measure of success before choosing a model. section 6.0 section 6.1.1

From request to task type

A spam detector becomes a binary classification problem; photo search becomes multiclass, multilabel classification; click-through prediction becomes scalar regression; archaeological-site discovery becomes image-similarity ranking. section 6.1.1

Use these checks when framing a machine learning problem:

  • Identify the input data and the exact quantity or decision to predict. section 6.1.1
  • Confirm that training examples and the necessary labels or annotations exist; otherwise collect and annotate data. section 6.1.1
  • Classify the task as binary, multiclass, multilabel, regression, segmentation, ranking, clustering, generation, or reinforcement learning. section 6.1.1
  • Check whether another approach, such as statistical analysis or collaborative filtering, fits better than deep learning. section 6.1.1

How Deep Learning with Python, Third Edition covers it

How deep it goes
Defines framing questions and task categories, including data availability, but does not detail model implementation.
Examples
Uses photo search, spam detection, music recommendation, fraud detection, click-through prediction, cookie inspection, and archaeological-site discovery.
What it assumes
Starts from a real-world problem rather than assuming a labeled dataset and teaches the required framing questions from there.
What you can do after
Apply a problem-first workflow to identify inputs, predictions, training-data needs, task type, and suitable alternative methods.
How it connects
Connects datasets, labels, classification, regression, ranking, collaborative filtering, object detection, and statistical analysis.

Related concepts

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