Question: Create a script to compute the number of feature dimensions N needed to represent at least 9 9 . 9 % of the variance in
Create a script to compute the number of feature dimensions needed to represent at least of the variance in the feature set of the humanactivity dataset using the 'pca' function.
The steps are:
Compute eigvals using the 'pca' function
Define vector cumulativepercentvariancepermode, which is a vector the same size as eigvals that contains times to convert fraction to percentage the cumulative sum of the normalized eigenvalues
Define as the number of eigenvectors needed to capture at least of the variation in our dataset Do this using MATLAB.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
