I have been using the normal PCA from scikit-learn and get the variance ratios for each principal component without any issues. pca = sklearn.decomposition.PCA(n_components=3) pca_transform = pca.fit_transform(feature_vec) var_values = pca.explained_variance_ratio_ I want to explore differnt kernels using kernel PCA and also want the explained variance ratios but I am now seeing it doesn't have this attribute. Does anyone know how to get these values? kpca = sklearn.decomposition.KernelPCA(kernel=kernel, n_components=3) kpca_transform = pca.fit_transform(feature_vec) var_values = kpca.explained_variance_ratio_ AttributeError: 'KernelPCA' object has no attribute 'explained_variance_ratio_' Continue reading...