ageron / ageron/handson-ml3

[question]

Open
#190 2 comments 0 reactions 1 assignee Claimed by @ageron View on GitHub
question
Dominant language
Jupyter Notebook
Stars
14.1k
Forks
5.3k
PR merge metrics
No merged PRs in 30d

Description

### Enter the chapter number

Chapter 3

### Enter the page number

_No response_

### What is the cell's number in the notebook

80

### Enter the environment you are using to run the notebook

Jupyter on Windows

### Question

# Multioutput Classification

```
noise = np.random.randint(0, 100, (len(X_train), 784))
X_train_mod = X_train + noise
noise = np.random.randint(0, 100, (len(X_test), 784))
X_test_mod = X_test + noise
y_train_mod = X_train
y_test_mod = X_test

```

if take parameter 100 then end output is not clear.
Rather than 100 take as 1 ,then output is completely clear

```
noise = np.random.randint(0, 1, (len(X_train), 784))
X_train_mod = X_train + noise
noise = np.random.randint(0, 1, (len(X_test), 784))
X_test_mod = X_test + noise
y_train_mod = X_train
y_test_mod = X_test

```

![Image](https://github.com/user-attachments/assets/a1ce98d0-8ad0-4631-bc88-25f6229494d2)
![Image](https://github.com/user-attachments/assets/c3ecc6ad-2c48-4b3f-b065-88bc2d0e22ba)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.