Chapter 1: Why Machine Learning Now

The Age of Data-Driven Decision-Making

πŸ“– Reading Time: 15-20 min πŸ“Š Difficulty: Introductory πŸ’» Code Examples: 0 πŸ“ Exercises: 3

In this chapter, we review the history of machine learning and the limits of traditional approaches, and build an intuitive understanding of why machine learning is needed today. Through real-world success stories, we learn about the potential of machine learning.

Learning Objectives

By reading this chapter, you will be able to:


1.1 The History of Machine Learning: From Rules to Learning

Research into artificial intelligence (AI) and machine learning (ML) began at the dawn of computer science. Looking back over roughly 70 years of history, we can see a major paradigm shift from "teaching rules" to "learning from data."

The 1950s: The Dawn of AI and the Turing Test

1950 - Alan Turing, "Computing Machinery and Intelligence"

The British mathematician Alan Turing posed the question, "Can machines think?" The "Turing Test" he proposed is a test to judge whether a machine can return responses indistinguishable from those of a human. This became the starting point of AI research.

1956 - The Dartmouth Conference

The term "Artificial Intelligence" was officially born, coined by John McCarthy and others. At this conference, researchers made the optimistic declaration that "every aspect of learning or any other feature of intelligence can in principle be so precisely described that a machine can be made to simulate it."

The 1980s: The Rise and Limits of Expert Systems

The heyday of rule-based AI

In the 1980s, expert systems achieved commercial success. An expert system is a system that encodes the knowledge of human experts as "if-then" rules.

Success story: MYCIN (a medical diagnosis system)

Limits of expert systems

  1. Explosive growth in rules: Complex problems require thousands to tens of thousands of rules
  2. Soaring maintenance costs: Every time new knowledge is added, the entire rule set must be reviewed
  3. Difficulty handling exceptions: Cannot cope with unforeseen cases
  4. Knowledge acquisition bottleneck: Extracting knowledge from experts is time-consuming

The 1990s: The Rise of Statistical Machine Learning

Paradigm shift: Instead of writing rules, learn from data

In the 1990s, researchers recognized the limits of expert systems and shifted to statistical machine learning, which "automatically discovers patterns from data."

Development of key methods

Success story: Handwritten character recognition (MNIST)

Automatic postal-code reading systems were put into practical use, proving the effectiveness of statistical machine learning.

The 2000s: The Spread of Big Data and the Cloud

The age of the data explosion

In the 2000s, the spread of the Internet caused an explosive increase in the volume of data.

The emergence of cloud computing

The 2010s: The Deep Learning Revolution

2012 - The ImageNet Revolution

In 2012, a team led by Geoffrey Hinton of the University of Toronto scored a decisive victory in the image recognition competition (ImageNet) with the deep learning model "AlexNet."

Characteristics of deep learning

  1. Automatic feature extraction: No need for humans to design features
  2. Hierarchical representation learning: Automatically builds high-level concepts from low-level features
  3. Improved performance with large data: The more data, the higher the accuracy

The 2020s: Foundation Models and Generative AI

The impact of the Transformer architecture (from 2017)

The Transformer, proposed in the paper "Attention is All You Need" (2017) by a Google research team, revolutionized natural language processing.

The rise of Generative AI

Historical Timeline

timeline title The History of Machine Learning: 70 Years of Evolution 1950s : Turing Test : Dawn of AI 1956 : Dartmouth Conference : Birth of AI 1980s : Expert Systems : Heyday of Rule-Based AI 1990s : Statistical Machine Learning : Toward Learning from Data 2000s : Big Data Era : Spread of the Cloud 2012 : AlexNet : Deep Learning Revolution 2017 : Transformer : NLP Revolution 2022 : ChatGPT : Spread of Generative AI 2024 : Foundation Model Era : Multimodal AI

1.2 The Limits of Traditional Approaches

Before machine learning appeared, software systems were designed mainly on a "rule-based" basis. However, this approach has serious limitations. Let's look at some concrete examples.

Challenge 1: The Problem of Rule Complexity and Maintainability

Concrete example: Spam email filter

In the 1990s, spam email filters operated on human-written rules.

if email_subject contains "Free":
    return "Spam"

if email_body contains "Click now":
    return "Spam"

if sender_address in blacklist:
    return "Spam"

# ... over 1,000 rules continue ...

Problems

  1. Explosion in the number of rules: A practical filter requires over 1,000 rules
  2. Soaring maintenance costs:
    • Adding rules every time a new spam technique appears
    • Checking for contradictions and conflicts between rules
    • Annual maintenance cost: 1 million to 5 million yen
  3. A cat-and-mouse game with spammers:
    • "Free" β†’ "οΌ¦ο½’ο½…ο½…" (full-width) β†’ "F.r.e.e" β†’ "무료"
    • It is impossible to encode every variation as a rule

Solution via machine learning

Modern spam filters use machine learning:

Challenge 2: Lack of Scalability

Concrete example: Classifying product reviews

Suppose an e-commerce site wants to classify customer reviews as "positive" or "negative."

Traditional method (manual classification)

Machine learning method

Metric Traditional method (manual) Machine learning Improvement
Processing speed 100 items/day/person 1 million items/day 10,000Γ—
Cost to process 1 million items 160 million yen/day 10,000 yen/day 99.99% reduction
Accuracy 90-95% (human judgment) 95-98% (latest models) Equal or better

Challenge 3: Lack of Adaptability

Concrete example: Stock market trading strategies

In the financial industry, rule-based trading strategies known as "technical analysis" have been used for many years.

Traditional rule-based strategy

Rule 1: If the 25-day moving average crosses above the 75-day moving average, "Buy"
Rule 2: If the RSI (Relative Strength Index) is 30 or below, "Buy"; if 70 or above, "Sell"
Rule 3: If trading volume is 2x or more the 20-day average, "Watch"

Problems

  1. Changes in the market environment:
    • Strategies that worked in the 2000s no longer work in the 2020s
    • The spread of algorithmic trading has changed market structure
    • Cannot respond to unpredictable events like COVID-19
  2. Delays in updating rules:
    • It takes months to detect market changes
    • It takes months to develop and validate new rules
    • The market environment changes further before implementation is complete

Solution via machine learning

Modern hedge funds adopt machine-learning-based strategies:

Traditional Approaches vs. Machine Learning: A Comprehensive Comparison

Item Traditional method (rule-based) Machine learning method
Development time 3-6 months (rule design) 1-2 months (data collection + training)
Maintenance cost High (continuous rule additions) Low (retraining only)
Scalability Low (dependent on human resources) High (handled with computing resources)
Adaptation speed Slow (weeks to months) Fast (hours to days)
Accuracy 70-90% (complex problems) 90-99% (with sufficient data)
Explainability High (rules are explicit) Low to medium (black-box problem)

1.3 Case Study: 20 Years of the Netflix Recommendation System

The Netflix recommendation system is the best example symbolizing the paradigm shift from rule-based to machine learning. Let's trace its 20-year evolution.

Phase 1: The Rule-Based Era (2000-2006)

The early approach: Simple rule matching

In its founding period (the DVD rental era), Netflix made recommendations using simple rules like the following:

if user rated "The Godfather" highly:
    recommendation = "Goodfellas", "Casino" (works by the same director)

if user watched 3 or more "sci-fi action" titles:
    recommendation = top 10 popular titles in the "sci-fi action" category

if user_age >= 40:
    recommendation = from the classic movies category

Performance metrics

Problems

  1. Lack of serendipity: No unexpected discoveries
  2. Cold-start problem: Cannot make recommendations for new users
  3. Scalability: Managing rules becomes difficult as the catalog grows

Phase 2: Introducing Machine Learning (2006-2012)

The Netflix Prize: A $1 million contest (2006-2009)

In 2006, Netflix held a contest offering $1 million in prize money to improve the accuracy of its recommendation system by 10%.

Contest details

Key method: Collaborative Filtering

Collaborative filtering is based on the hypothesis that "similar users like similar titles."

Basic idea

1. User A rated "Titanic," "The Notebook," and "Pretty Woman" highly
2. User B also rated the same 3 titles highly
3. User B also rated "La La Land" highly
4. β†’ Recommend "La La Land" to User A

Technical evolution

Results (2009)

Phase 3: The Deep Learning Era (2012-Present)

2012: The shift to streaming

The transition from DVD rental to streaming caused an explosive increase in the available data.

New data sources

The introduction of deep learning

Around 2015, Netflix began deploying deep neural networks in earnest.

Key technologies

  1. Deep Neural Networks (DNN):
    • Learn complex patterns with millions of parameters
    • Model users' short-term and long-term preferences simultaneously
  2. Convolutional Neural Networks (CNN):
    • Extract visual features from title poster images
    • Predict which thumbnail will attract the user
  3. Recurrent Neural Networks (RNN):
    • Learn time-series patterns of viewing history
    • Predict "what the user will want to watch next"
  4. Reinforcement Learning:
    • Optimize long-term user engagement
    • Emphasize completed viewing rather than mere click-through rate

Current performance (2024)

20 Years of Evolution: A Quantitative Comparison

Metric Phase 1
(2000-2006)
Phase 2
(2006-2012)
Phase 3
(2012-Present)
Method Rule-based Collaborative filtering Deep learning
Accuracy 60% 75% 85%
Data volume 100 million ratings 1 billion ratings Over 1 trillion behavioral data points
Recommendation frequency Weekly updates Daily updates Real-time
Personalization Low (category-based) Medium (user similarity) High (individually optimized)
Contribution to viewing 30% 60% 75%
Estimated economic value - $1 billion/year $3 billion/year

Business Impact

Improved customer retention

Optimization of content investment

Accelerated global expansion

graph LR A[Phase 1
Rule-Based
2000-2006] --> B[Phase 2
Collaborative Filtering
2006-2012] B --> C[Phase 3
Deep Learning
2012-Present] A -->|Accuracy| A1[60%] B -->|Accuracy| B1[75%] C -->|Accuracy| C1[85%] A -->|Viewing Contribution| A2[30%] B -->|Viewing Contribution| B2[60%] C -->|Viewing Contribution| C2[75%] A -->|Economic Value| A3[Baseline] B -->|Economic Value| B3[+$1B/year] C -->|Economic Value| C3[+$3B/year] style A fill:#ffcccc style B fill:#ffffcc style C fill:#ccffcc

1.4 Traditional Approaches vs. Machine Learning: A Workflow Comparison

Rule-based systems and machine learning systems differ fundamentally in their development and operational workflows. Let's compare them visually.

Workflow Comparison Diagram

flowchart TD subgraph "Traditional Method (Rule-Based)" A1[Problem Analysis] -->|Experts deliberate| A2[Rule Design] A2 -->|Manual coding| A3[Rule Implementation] A3 -->|Validate on test data| A4{Accuracy OK?} A4 -->|No
90%+| A5[Rule Tuning] A5 --> A3 A4 -->|Yes
under 10%| A6[Deploy] A6 -->|New pattern occurs| A7[Add Rule] A7 --> A3 style A1 fill:#ffcccc style A2 fill:#ffcccc style A3 fill:#ffcccc style A4 fill:#ffcccc style A5 fill:#ffcccc style A6 fill:#ccffcc style A7 fill:#ffcccc end subgraph "Machine Learning Method" B1[Problem Formulation] -->|Set goals| B2[Data Collection] B2 -->|Preprocessing| B3[Feature Design] B3 -->|Model selection| B4[Training] B4 -->|Validate on eval data| B5{Accuracy OK?} B5 -->|No
50%| B6[Hyperparameter Tuning] B6 --> B4 B5 -->|Yes
50%| B7[Deploy] B7 -->|Periodically| B8[Add Data] B8 -->|Automatic retraining| B4 style B1 fill:#e3f2fd style B2 fill:#e3f2fd style B3 fill:#e3f2fd style B4 fill:#e3f2fd style B5 fill:#e3f2fd style B6 fill:#e3f2fd style B7 fill:#c8e6c9 style B8 fill:#e3f2fd end

Quantitative Comparison: Development and Operations

Phase Traditional method (rule-based) Machine learning method Difference
Initial development time 3-6 months
(rule design and implementation)
1-3 months
(data collection and training)
50-70% shorter
Initial cost 3-10 million yen
(labor costs)
2-5 million yen
(development + computing resources)
30-50% reduction
Maintenance cycle 1-2 times/month
(manual rule additions)
Weekly to daily
(automatic retraining)
10x+ faster adaptation
Annual maintenance cost 1-5 million yen
(continuous manual work)
0.5-2 million yen
(computing resources + monitoring)
40-60% reduction
Accuracy 70-85%
(complex problems)
85-98%
(with sufficient data)
10-20% improvement
Response to new patterns 1-4 weeks
(analysis + implementation)
1 day to 1 week
(add data + retrain)
7-28x faster

A Concrete Example on the Timeline

Scenario: A credit card fraud detection system

Traditional method timeline

Machine learning method timeline

Results comparison


1.5 Column: A Day in the Life of a Software Engineer

Let's look through concrete stories at how the daily work of engineers has changed with the advent of machine learning.

2005: An Engineer in the Rule-Based Era

A day in the life of Mr. Tanaka (age 28, e-commerce site development engineer)

9:00 - Morning standup and bug report review

Over the weekend, a bug occurred in the product recommendation system. The issue: single men who bought "kids' products" are endlessly recommended children's clothing.

9:30 - Investigating the cause

# The problematic code
if "kids" in purchase_history_categories:
    recommended_categories = ["kids", "baby", "toys"]
    # β†’ Does not consider the possibility of a gift purchase!

10:30 - Fixing the rule

# Revised version
if "kids" in purchase_history_categories:
    if kids_product_purchase_count >= 3:
        # Multiple purchases likely mean a parent
        recommended_categories = ["kids", "baby", "toys"]
    else:
        # 1-2 purchases may be a gift
        recommended_categories = ["gifts", "general products"]

12:00 - Lunch break

13:00 - Testing

Run 100 test cases. 7 fail. A side effect of the rule broke other cases.

14:30 - Further fixes

Two hours spent adjusting priorities to resolve conflicts between rules.

16:30 - Review

A senior engineer reviews the fix. They point out, "This rule might conflict with the spring campaign rule."

17:30 - Re-fixing

Coordinating with the campaign rule.

19:00 - Finally deploying

Fixing a single bug took the entire day.

19:30 - A new bug report just before leaving...

"Men who bought products for pregnant women are endlessly recommended maternity products."

2025: An Engineer in the Machine Learning Era

A day in the life of Mr. Sato (age 30, ML engineer)

9:00 - Dashboard check

Check the state of the recommendation system on the monitoring dashboard:

9:15 - A/B test result analysis

Compare the new model Ver2.0 released last week with Ver1.0:

10:00 - Experimenting with a new feature

An experiment adding "the user's browsing time-of-day pattern" as a new feature:

# Adding features (Python code, 5 lines)
features['hour_preference'] = user_behavior.groupby('hour').mean()
features['weekend_preference'] = user_behavior[user_behavior['is_weekend']].mean()

# Retrain the model (run the automated pipeline)
model.fit(X_train, y_train)

# Evaluate
print(f"New model accuracy: {model.score(X_test, y_test):.2%}")
# Output: New model accuracy: 93.1%  (0.6% improvement!)

11:00 - Team meeting

Discussion with data scientists and the product manager:

13:00 - Lunch break

14:00 - Maintaining the model retraining pipeline

Add a monitoring rule to the retraining pipeline that runs automatically every day:

# Alert if accuracy drops by 5% or more
if model_accuracy < previous_accuracy * 0.95:
    send_alert("Model performance degradation detected!")

15:00 - Writing a technical blog post

Summarize this week's experiment results on the internal technical blog. Knowledge sharing.

16:00 - Online study group

Read the latest paper "Attention Mechanisms in Recommender Systems" together with colleagues.

17:30 - Leaving work

Tomorrow morning, just checking the results of the retraining that ran automatically overnight is enough.

2005 vs. 2025: A Comparison of Engineers' Work

Item 2005 (Mr. Tanaka) 2025 (Mr. Sato)
Main work Adding and fixing rules Model design and experimentation
Daily output One bug fix Three experiments completed
Lines of code written 100-200 lines/day 20-50 lines/day
Debugging time 50% (investigating side effects) 10% (pipeline monitoring)
Creative work 20% 60%
Routine work 80% 40% (mostly automated)
Stress level High (endless fixes) Medium (focused on strategic thinking)
Learning time Little Much (learning cutting-edge technology)

Key point

Machine learning transformed engineers from "rule maintenance workers" into "problem solvers who use data and models." Much of the routine work has been automated, allowing humans to focus on more creative and strategic work.


1.6 Why Machine Learning "Now": Three Tailwinds

The concept of machine learning itself has existed since the 1950s, but its practical application began in earnest only from the 2010s. Why "now"? There are three major tailwinds.

Tailwind 1: A Dramatic Increase in Computing Power

Moore's Law and the exponential growth of computing power

In 1965, Intel co-founder Gordon Moore predicted that "the number of transistors in an integrated circuit doubles every two years." This law held for over 50 years, and computing power improved dramatically.

The GPU (Graphics Processing Unit) revolution

The 2012 success of AlexNet was due to parallel computation using NVIDIA GPUs.

Item CPU GPU GPU advantage
Number of cores 4-16 cores Thousands of cores 100-1000Γ—
Matrix operation speed Baseline 50-100Γ— 50-100Γ—
Training time
(ResNet-50)
About 2 weeks About 2-3 hours 100Γ— faster
Price $300-$1,000 $1,000-$2,000
(RTX 4090)
Excellent value

The democratization of cloud computing

With the arrival of AWS in 2006, anyone could access supercomputer-class computing resources.

The dramatic drop in computing costs

Tailwind 2: The Explosive Growth of Data

The exponential growth of digital data

The spread of IoT (Internet of Things)

Lower-cost data collection

Major data sources

  1. Social media:
    • Facebook: generates 4 petabytes of data per day
    • YouTube: 500 hours of video uploaded every minute
  2. E-commerce:
    • Amazon: hundreds of millions of transaction logs per day
  3. Sensor data:
    • Self-driving cars: a single vehicle generates 4 terabytes of data per day

Tailwind 3: The Evolution of Algorithms and Social Urgency

The emergence of breakthrough technologies

The influence of the U.S. Materials Genome Initiative (MGI)

In 2011, the Obama administration launched the MGI to accelerate materials development, and the same data-driven approach spread to other fields as well.

Rising social urgency

  1. Responding to climate change:
    • The 2015 Paris Agreement: hold warming to within 2Β°C
    • Renewable energy, energy storage, and COβ‚‚-reduction technologies are urgently needed
    • Machine learning enables efficient development of materials and systems
  2. Innovation in medicine and drug discovery:
    • AI played a role in COVID-19 vaccine development (mRNA vaccine design)
    • New drug development period: traditionally 10-15 years β†’ shortened to 5-7 years with AI (target)
  3. Intensifying international competition:
    • China: AI investment of trillions of yen per year as a national strategy
    • United States: competition over technological supremacy, such as the CHIPS Act (semiconductor support)
    • Japan: accelerating AI talent development under AI Strategy 2023

Summary: Three tailwinds are blowing simultaneously

graph TD A[Practical Adoption of ML] --> B[Tailwind 1: Computing Power] A --> C[Tailwind 2: Data] A --> D[Tailwind 3: Algorithms + Social Urgency] B --> B1[GPU Revolution] B --> B2[Spread of the Cloud] B --> B3[Cost 1/1,000,000] C --> C1[Data Volume 175ZB] C --> C2[IoT 75 Billion Devices] C --> C3[Storage Cost 1/500] D --> D1[Transformer] D --> D2[Foundation Models] D --> D3[Climate Change Response] D --> D4[International Competition] style A fill:#ccffcc style B fill:#ffffcc style C fill:#ffcccc style D fill:#ccddff

Machine learning is a technology that is needed precisely "now," when technological maturity and social necessity have been satisfied at the same time.


1.7 The Standard Machine Learning Pipeline

So far, we have seen the necessity and potential of machine learning. So how does a machine learning project actually proceed? Let's look at the standard pipeline.

The 7 Steps of a Machine Learning Project

flowchart TD A[Step 0: Problem Formulation] --> B[Step 1: Data Collection] B --> C[Step 2: Data Preprocessing] C --> D[Step 3: Feature Engineering] D --> E[Step 4: Model Training] E --> F[Step 5: Model Evaluation] F --> G{Performance OK?} G -->|No| H[Hyperparameter Tuning
or Feature Review] H --> D G -->|Yes| I[Step 6: Deploy] I --> J[Step 7: Monitoring & Maintenance] J -->|Periodically| K[Add Data] K --> B style A fill:#ffebee style B fill:#e3f2fd style C fill:#fff3e0 style D fill:#f3e5f5 style E fill:#e8f5e9 style F fill:#ffffcc style G fill:#ffcccc style H fill:#e1bee7 style I fill:#c8e6c9 style J fill:#b2ebf2 style K fill:#e3f2fd

Details of Each Step

Step 0: Problem Formulation

Purpose: Define the problem you want to solve as a machine learning task

Key questions:

Example:

Time required: 1-2 weeks

Step 1: Data Collection

Purpose: Gather the data to be used for training, validation, and testing

Data sources:

Data splitting:

Time required: 1 week to 1 month

Step 2: Data Preprocessing

Purpose: Clean and transform data into a format the model can handle

Key tasks:

  1. Handling missing values: Deletion, mean imputation, predictive imputation
  2. Outlier removal: Detecting and removing anomalous data
  3. Data type conversion: Encoding categorical variables
  4. Normalization/standardization: Unifying scales
  5. Deduplication: Removing identical data

Time required: A few days to 2 weeks (depends on data quality)

Step 3: Feature Engineering

Purpose: Design features that are easy for the model to learn from

Methods:

Example (spam filter):

Time required: 1-3 weeks (a crucial step)

Step 4: Model Training

Purpose: Learn patterns from the data

Key algorithms:

Training process:

  1. Optimize the model's parameters on the training data
  2. Minimize the loss function
  3. Check performance on the validation data

Time required: A few hours to a few days (depends on data volume and model complexity)

Step 5: Model Evaluation

Purpose: Objectively evaluate the model's performance

Key evaluation metrics:

Evaluation methods:

Time required: 1-3 days

Step 6: Deployment

Purpose: Deploy the trained model to a production environment

Deployment methods:

Time required: 1-2 weeks

Step 7: Monitoring & Maintenance

Purpose: Detect degradation in model performance and improve continuously

Monitoring items:

Maintenance work:

Ongoing work

Key Points of the Standard Pipeline

  1. An iterative process: You cannot build a perfect model in one pass. Repeat experiment β†’ evaluate β†’ improve
  2. Data quality matters most: "Garbage in, garbage out." You cannot build a good model from poor-quality data
  3. Problem formulation is key: If Step 0 is inadequate, all subsequent steps are wasted
  4. Feature engineering makes the difference: In many cases, feature design affects accuracy more than the choice of algorithm
  5. The real work begins after deployment: Training is not the end; continuous monitoring and improvement are needed

We will study each step of this pipeline in detail from Chapter 2 onward. Let's deepen our understanding hands-on, using actual Python code.


Chapter Summary

What We Learned

  1. The history of machine learning
    • 1950s: The dawn of AI (the Turing Test)
    • 1980s: The rise and limits of expert systems
    • 1990s: The rise of statistical machine learning
    • 2012: The deep learning revolution (AlexNet)
    • 2020s: Foundation models and generative AI
    • Over 70 years, an evolution from "teaching rules" to "learning from data"
  2. The three limits of traditional approaches
    • Rule complexity: Over 1,000 rules for a spam filter, annual maintenance cost of 1-5 million yen
    • Lack of scalability: Manual classification is limited to 100 items/day, while machine learning enables 1 million items/day
    • Lack of adaptability: Responding to market changes takes months, while machine learning takes hours to days
  3. 20 years of evolution in the Netflix recommendation system
    • Phase 1 (2000-2006): Rule-based, 60% accuracy
    • Phase 2 (2006-2012): Collaborative filtering, 75% accuracy, $1 billion/year in value
    • Phase 3 (2012-present): Deep learning, 85% accuracy, 75% of watch time via recommendations
  4. Workflow comparison
    • Traditional method: a loop of rule design β†’ implementation β†’ testing β†’ tuning (slow)
    • Machine learning: data collection β†’ training β†’ prediction β†’ retraining (fast, adaptive)
    • Development time reduced by 60-80%, costs reduced by 90-99%
  5. The change in engineers' work
    • 2005: Fixing rules all day (80% routine work)
    • 2025: Model design and experimentation (60% creative work)
    • Automation allows a focus on more strategic work
  6. Three reasons machine learning is needed "now"
    • Computing power: GPU revolution, spread of the cloud, cost of 1/1,000,000
    • Data: 175 zettabytes in 2025, 75 billion IoT devices
    • Algorithms + social urgency: Transformer, foundation models, climate change, medicine, international competition
  7. The 7 steps of the machine learning pipeline
    • Problem formulation β†’ data collection β†’ preprocessing β†’ feature engineering β†’ training β†’ evaluation β†’ deployment β†’ monitoring
    • An iterative process; data quality matters most

Key Points

On to the Next Chapter

In Chapter 2, we will study the fundamental theory of machine learning:

Furthermore, we will implement simple machine learning using Python. Get ready, and let's move on to the next chapter!


Exercises

Exercise 1 (Difficulty: easy)

In the history of machine learning, what was the 2012 event that triggered attention toward deep learning? Also, give the name of the model and the results it achieved.

Hint

There is a model that scored a decisive victory in the image recognition competition (ImageNet). It was developed by Geoffrey Hinton's team at the University of Toronto.

Sample Answer

Event: A decisive victory in the ImageNet image recognition competition

Model name: AlexNet

Results:

Exercise 2 (Difficulty: easy)

List the three main limitations of traditional rule-based approaches and briefly explain each.

Hint

Consider it from three perspectives: rule management, processing capacity, and response to environmental change.

Sample Answer
  1. The problem of rule complexity and maintainability
    • Complex problems require thousands to tens of thousands of rules
    • New rules must be added every time a new pattern appears
    • Conflicts and contradictions between rules easily arise
    • Maintenance costs are high (1 million to 5 million yen per year)
  2. Lack of scalability
    • Manual work is limited to about 100 items per day
    • Cannot handle large-scale data (such as 1 million items per day)
    • Even increasing human resources raises costs more than linearly
    • Machine learning can process over 1,000 items per second
  3. Lack of adaptability
    • Slow to respond to environmental changes (market trends, new techniques)
    • Developing new rules takes weeks to months
    • A vicious cycle in which the environment changes further during implementation
    • Machine learning adapts in hours to days by retraining on new data

Exercise 3 (Difficulty: medium)

Summarize how the Netflix recommendation system evolved from Phase 1 (rule-based, 2000-2006) to Phase 3 (deep learning, 2012-present) from the following perspectives:

  1. Technical evolution (methods used)
  2. Improvement in accuracy
  3. Business impact
Hint

Phase 1 is rule-based, Phase 2 is collaborative filtering (the Netflix Prize), and Phase 3 is the use of deep learning and multimodal data. Try comparing the accuracy and economic value of each.

Sample Answer

1. Technical Evolution

Phase 1 (2000-2006): Rule-based

Phase 2 (2006-2012): Collaborative filtering

Phase 3 (2012-present): Deep learning

2. Improvement in Accuracy

Phase Accuracy Improvement
Phase 1 60% Baseline
Phase 2 75% +15%
Phase 3 85% +25%

3. Business Impact

Phase 2 results (2009)

Phase 3 results (present)

Additional business effects

Summary

Over 20 years, the Netflix recommendation system evolved from rule-based to deep learning, improving accuracy by 25% and coming to generate over $3 billion per year in economic value. This is the best example of the impact machine learning has on business.


References

  1. Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep Learning. MIT Press.
    URL: https://www.deeplearningbook.org/
  2. Russell, S., & Norvig, P. (2020). Artificial Intelligence: A Modern Approach (4th ed.). Pearson.
    ISBN: 978-0134610993
  3. Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). "ImageNet Classification with Deep Convolutional Neural Networks." Advances in Neural Information Processing Systems, 25.
    URL: NeurIPS 2012
  4. Vaswani, A., Shazeer, N., Parmar, N., et al. (2017). "Attention is All You Need." Advances in Neural Information Processing Systems, 30.
    DOI: arXiv:1706.03762
  5. Gomez-Uribe, C. A., & Hunt, N. (2015). "The Netflix Recommender System: Algorithms, Business Value, and Innovation." ACM Transactions on Management Information Systems, 6(4), 1-19.
    DOI: 10.1145/2843948
  6. LeCun, Y., Bengio, Y., & Hinton, G. (2015). "Deep learning." Nature, 521(7553), 436-444.
    DOI: 10.1038/nature14539
  7. Jordan, M. I., & Mitchell, T. M. (2015). "Machine learning: Trends, perspectives, and prospects." Science, 349(6245), 255-260.
    DOI: 10.1126/science.aaa8415

Disclaimer