Skip to content

random seed for regression NN #179

Answered by mrdbourke
rneeser asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, great questions, I'll answer both.

Why do we have to set the random seed before creating etc. our models in part 2? I don't see where we have randomness there.

When models get created, they get randomly initialized with different weights and biases (I often refer to these as patterns but their proper terms are weights and biases).

What this means is:

model starts with random numbers -> looks at data -> adjusts random numbers -> looks at data again -> adjusts -> looks -> adjusts...

And it keeps repeating that cycle until it finds ideal patterns (weights and biases) to represent the data it's looking at.

The random seed for creating a model means that the model starts with the…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rneeser
Comment options

@mrdbourke
Comment options

Answer selected by mrdbourke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants