I am using scikit learn PCA and trying to choose the minimum number of components that satisfies 1-(sum i 1 to k Sii)/(sum j 1 to n Sjj) <= 0.01 where S is the svd diagonal matrix, in order to have 99% of the variance retained.I am using scikit learn PCA and trying to choos