ageron / ageron/handson-ml2

Chapter 9 - Clustering for Semi-Supervised Learning

Open
#162 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

I get a different set of representative digits from those in the notebook. Labelling with

y_representative_digits = np.array([
0, 1, 3, 2, 7, 6, 4, 6, 9, 5,
1, 2, 9, 5, 2, 7, 8, 1, 8, 6,
3, 1, 5, 4, 5, 4, 0, 3, 2, 6,
1, 7, 7, 9, 1, 8, 6, 5, 4, 8,
5, 3, 3, 6, 7, 9, 7, 8, 4, 9])

produces a log_reg score of 92.4%. Alternatively using:

y_representative_digits = y_train[representative_digit_idx]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the Chapter 9 notebook and inspect how representative_digit_idx, y_train, and y_representative_digits are produced. Compare the notebook's representative digits and logistic-regression score with the reported values; done means the discrepancy is explained and the notebook's expected result is reproducible or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, numpy, python
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.