Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a plot of the PCAs for better understanding #44

Open
tparkerd opened this issue May 18, 2022 · 0 comments
Open

Create a plot of the PCAs for better understanding #44

tparkerd opened this issue May 18, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@tparkerd
Copy link
Member

pca = PCA(n_components = 3)
latent = pca.fit(all_pts).explained_variance_
elong=math.sqrt(latent[1]/latent[0])
flat=math.sqrt(latent[2]/latent[1])
pca = PCA(n_components = 2)
latent = pca.fit(all_pts[:, [0, 1]]).explained_variance_
football=math.sqrt(latent[1]/latent[0])

@tparkerd tparkerd added the documentation Improvements or additions to documentation label May 18, 2022
@tparkerd tparkerd self-assigned this May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant