You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To project a dataset into the PCA space, you should use the predict method. You can call it with the original data that was passed to the PCA constructor.
I also found this confusing 😂 Since the example uses newPoints, I thought it meant the projection was already computed for the original data somewhere, but I was having a hard time figuring out where.
For instance check out how this simple ruby library works.
https://github.com/gbuesing/pca
It outputs the dataset in the desired number of dimensions, ready to graph. Is this easy with your library and I am just missing something obvious?
Thanks!
The text was updated successfully, but these errors were encountered: