pca icon indicating copy to clipboard operation
pca copied to clipboard

Principal component analysis

Results 9 pca issues
Sort by recently updated
recently updated
newest added

Before you start please have a loot at: - https://github.com/cheminfo/generator-cheminfo/blob/main/START.md - https://github.com/cheminfo/generator-cheminfo/blob/main/ts-migration.md

From the documentation, I understand specifying the nComponents only works for the options.method = 'NIPALS'. However ``` options.method='NIPALS' options.nCompNIPALS = 2 pca = new PCA(dataset, options) embedding = pca.predict(dataset, options)...

Hello, When using `new PCA(dataset[])`, regardless the order of my observations, (for instance `dataset = [[1, 2], [100, 2000]]` or `dataset = [[2, 1], [2000,100]]`, the method `getExplainedVariance` always seems...

A ```getScores()``` method would be useful. To do this I used: ``` let scores = pca.predict(dataset) ``` I made several attempts before being able to get what I needed (the...

Usage: ```javascript const pca = new PCA([vector]); const result = pca.predict([vector], { nComponents: 2 }); ``` ...where `vector` is an array with 1,536 elements a la an Open AI embedding....

:robot: I have created a release *beep* *boop* --- ## [4.1.2](https://github.com/mljs/pca/compare/v4.1.1...v4.1.2) (2023-11-23) ### Documentation * fix CI icon in readme ([df738b3](https://github.com/mljs/pca/commit/df738b3721281115244a3a60a50f48c928762770)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See...

autorelease: pending

The documentation is published but can be improved (before release maybe): * see https://mljs.github.io/pca/classes/PCA.html