AI, Dimensionality Reduction, Machine Learning, Python, Data Science.
5.936 2.77 4.26 1.326] Mean Vector class 3: [ 6.588 2.974 5.552 2.026] Each vector contains the mean of the 4 features in the dataset for the specific class. 2. Compute the within-class scatter matrix (Sw), which represents the spread of data within each class: In our example, it will look like the