The PCA algorithm subtracts the mean from the data to centralize it, meaning that the mean of all points should be zero. This step prepares the data for the variance-based step that follows, making the formula for the scatter matrix simpler.
Conditions: The data must first be represented as a matrix X.; The subtraction is by the mean .; After this step, the video uses in the scatter-matrix discussion.
The PCA algorithm subtracts the mean from the data to centralize it, meaning that the mean of all points should be zero. This step prepares the data for the variance-based step that follows, making the formula for the scatter matrix simpler.
Conditions: The data must first be represented as a matrix X.; The subtraction is by the mean .; After this step, the video uses in the scatter-matrix discussion.