saehm / DruidJS

A JavaScript Library for Dimensionality Reduction
111 stars 9 forks source link

added a getter for the principal components #26

Closed AndreaBreggion closed 2 years ago

AndreaBreggion commented 3 years ago

What title says, I don't know if this is an appreciated change but I am using your library and found that i needed the PCs to compute new data projection, hope I'm doing this right (first time contributing to an open source project)

saehm commented 2 years ago

Hey, thank you for your request, and sorry for the super late response. I added the functioniality with version 0.4.3, but slightly different than you did. You can see an example here.