on-internet
← Community

PCA analysis on a big matrix using scikit-learn

Stack Overflow ·

I'm trying to use the scikit-learn package for the first time (and Python as well) and need some help. Basically, I have a huge 39x39 matrix, and I need to do a principal component analysis on them. For context, each row and column represents a country and the number inside represents how much they gave to the country in the column, let’s say UK, France and Sweden: 0 1 1 8 0 1 8 1 0 The 0s indicate that a country couldn't vote for itself (e.g., UK gave UK 0 points) and 1 indicates they could vote for them, but gave 0 points, and obviously 1-n is whatever point they gave to that country (France

Comments

Sign in or sign up to comment and upvote.

No comments yet.