mrdbourke / tensorflow-deep-learning

All course materials for the Zero to Mastery Deep Learning with TensorFlow course.
https://dbourke.link/ZTMTFcourse
MIT License
5.05k stars 2.5k forks source link

Update variable X to x #518

Closed WildanJR09 closed 1 year ago

mrdbourke commented 1 year ago

Hi @WildanJR09 ,

Thank you for this, however, it's quite often in machine learning that X is used rather than x.

A capital instead of a small letter.

This is because in mathematics a matrix (or tensor) is usually represented by a capital (e.g. X is often a matrix/tensor) where as a vector is often represented as a lower case letter (e.g. y is often a vector).

Though this is confusing in ML since X can also often be a vector.

See more here: https://www.britannica.com/science/matrix-mathematics

Screen Shot 2023-05-18 at 12 10 20 pm