I am trying to use sklearn.manifold Isomap for dimensional reduction.
I have 10 column data and I used number of components = 4.
How can I get the weight of each component?
Is there a method to extract the eigenvalue of each component?
This is the code I used
from sklearn.manifold import Isomap
embedding = Isomap(n_components=4, n_neighbors=6)
X_transformed = embedding.fit_transform(X[:])
X_transformed.shape
You need to access the
kernel_pcamethod and then you can find the eigenvalues:Here is an example: