ageron / ageron/handson-ml2

[QUESTION] Chapter 10 Exercise 10 Factor parameter

Open
#619 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

Good day, I'm having a bit of trouble understanding why the value of **1.005** was chosen for the **` factor`** parameter. I know it's supposed to be an increment by 0.5% at each iteration and that the new learning rate will be` new_lr = old_lr * factor`, but I don't get where that value (1.005) came from.

This is the code:
```
model.compile(loss="sparse_categorical_crossentropy",
optimizer=keras.optimizers.SGD(learning_rate=1e-3),
metrics=["accuracy"])
expon_lr = ExponentialLearningRate(factor=1.005)
```

- **Notebook**: 10_neural_nets_with_keras
- **Cell**: 119

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.