{"_id":"ml-pca","_rev":"35-7c4796ae1a779b2653ee6f86f84a8e3b","name":"ml-pca","description":"Principal component analysis","dist-tags":{"latest":"4.1.1","next":"3.0.0-0"},"versions":{"0.0.1":{"name":"ml-pca","version":"0.0.1","description":"Principal component analysis","main":"src/index.js","directories":{"lib":"src","test":"test"},"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"0.1.0","ml-stat":"^1.0.1"},"devDependencies":{"mocha-better-spec-reporter":"latest","mocha":"latest","should":"latest","should-approximately-deep":"latest"},"gitHead":"e3501a60b5df33484948c1507083951bb442a2e0","_id":"ml-pca@0.0.1","_shasum":"4d33383f94a7d786801309a31ea4ab0847f4b14f","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},"dist":{"shasum":"4d33383f94a7d786801309a31ea4ab0847f4b14f","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-0.0.1.tgz","integrity":"sha512-ee4nvm1ZBYbYHVP3r6D4BpYUsYk9AgrPz8ad97VMHgKGkQbCSKqE4U0E8HYY6K2ksK3tWBcynSZRA3oGjZ1GRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG26wEoGH1oqV8hwcz6GArazweVdr5IVL6y5eVTrXs/aAiB5xi2+rC2Lu8RpbmPRIXtu2aM6T/oYaHV5QspxgsQ64A=="}]},"maintainers":[{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"}]},"0.0.2":{"name":"ml-pca","version":"0.0.2","description":"Principal component analysis","main":"src/index.js","directories":{"lib":"src","test":"test"},"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"0.1.0","ml-stat":"^1.0.1"},"devDependencies":{"mocha-better-spec-reporter":"latest","mocha":"latest","should":"latest","should-approximately-deep":"latest"},"gitHead":"b8063a23bdbb0e74ba7be7d94435fa9051bbffa6","_id":"ml-pca@0.0.2","_shasum":"18db2d08822079ff8c8d5e220e325e217a637f79","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},"dist":{"shasum":"18db2d08822079ff8c8d5e220e325e217a637f79","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-0.0.2.tgz","integrity":"sha512-Cu+Bg+vypB07/bzj8nP14NamNNuILy68uv/plPAldfUTSffvjXBF8QlCi04uDd+WB1hRmHVubb2Jrc0D61VW7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLew5XRxTYKmwY6sAz32yfjmTAz5a+ZMFEVk2RD8959wIhAJ4A4vZjByaUX4mzQE25l+8jzXaRMwUWuGEap6/ilH98"}]},"maintainers":[{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"}]},"0.0.3":{"name":"ml-pca","version":"0.0.3","description":"Principal component analysis","main":"src/index.js","directories":{"lib":"src","test":"test"},"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"0.1.0","ml-stat":"^1.0.1"},"devDependencies":{"mocha-better-spec-reporter":"latest","mocha":"latest","should":"latest","should-approximately-deep":"latest"},"gitHead":"f1489f9da12b01c1461db74fd5420581afb51d3e","_id":"ml-pca@0.0.3","_shasum":"7fd9b6d021f225f2dd518a075f1d916899138de5","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},"dist":{"shasum":"7fd9b6d021f225f2dd518a075f1d916899138de5","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-0.0.3.tgz","integrity":"sha512-anthbZcOKECgRdU0NqZ3+ofnCuO9RKZ/ETHNdUyPjNlnXiVxEJ0nQ9fyMs6sBTWJ1buYlnwXM/RdpA7MB1YgJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCzZOsoxgAkRwEXxfxOpGViHxRu9FfhD8L0rDJtkHK2AiEAxtUW1DvRUXRcqebJ4/gt+3Ibzwvk1dmom3Ujllxi7n0="}]},"maintainers":[{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"}]},"0.1.0":{"name":"ml-pca","version":"0.1.0","description":"Principal component analysis","main":"src/index.js","directories":{"lib":"src","test":"test"},"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"0.1.0","ml-stat":"^1.0.1"},"devDependencies":{"mocha-better-spec-reporter":"latest","mocha":"latest","should":"latest","should-approximately-deep":"latest"},"gitHead":"2430a991e3131165fb79cd7037d9e4d6f81e53aa","_id":"ml-pca@0.1.0","_shasum":"19738fb6d64ed69cc33c10c9722a6a3ebbeb2cc8","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},"dist":{"shasum":"19738fb6d64ed69cc33c10c9722a6a3ebbeb2cc8","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-0.1.0.tgz","integrity":"sha512-wTwEkl5m3LkQpq+NiCFKl+vHl9FXzKAUSRjtbYN4ifr/U3Sv+SYguHNJCFpCL/q5ziJKoCNsZVcW54uQJnUfrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICaEk2/prGBO+MKmUhdmyuljXxXvU9i4CDRHAscEFRIpAiBAr1ZckKGcPW+nC907z2S1hLNW/1fzgPSrIWhb+8nPUg=="}]},"maintainers":[{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"}]},"0.1.1":{"name":"ml-pca","version":"0.1.1","description":"Principal component analysis","main":"src/index.js","directories":{"lib":"src","test":"test"},"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^1.0.3","ml-stat":"^1.1.0"},"devDependencies":{"mocha":"^2.3.4","mocha-better-spec-reporter":"^3.0.1","should":"^7.1.1","should-approximately-deep":"^1.1.0"},"gitHead":"785b8a0537a80726f9b851fed92f3841de537306","_id":"ml-pca@0.1.1","_shasum":"79d521ff7e77d5ce67985295cb3e935a464d65d3","_from":".","_npmVersion":"3.4.0","_nodeVersion":"5.1.0","_npmUser":{"name":"targos","email":"targos@live.com"},"maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"dist":{"shasum":"79d521ff7e77d5ce67985295cb3e935a464d65d3","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-0.1.1.tgz","integrity":"sha512-EDyDs+M00lAeNCSH6cIaaZCHqzos+H/wk+oZ10x6nGESTI8dwW4H9s/ZDW1qd3YPmOKnwpQSbwKsypRgN/lEjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE2QFnm7HUjnyeX++8wYetNRA40+c3v1BYZIEeMFku3HAiEA+0WgCEPp/98JCKwfJpLigAyb3pwciAXwdqXVyHbVwxQ="}]}},"1.0.0":{"name":"ml-pca","version":"1.0.0","description":"Principal component analysis","main":"src/pca.js","directories":{"lib":"src","test":"test"},"files":["src"],"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^1.0.3","ml-stat":"^1.1.0"},"devDependencies":{"ml-dataset-iris":"^1.0.0","mocha":"^2.3.4","mocha-better-spec-reporter":"^3.0.1","should":"^9.0.0","should-approximately-deep":"^1.1.0"},"gitHead":"de7069532424e5101c373f9794f180e64b5b778b","_id":"ml-pca@1.0.0","_shasum":"b7225e6f72a80439826b00293b0ff9febe1e3956","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"targos","email":"targos@live.com"},"maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"dist":{"shasum":"b7225e6f72a80439826b00293b0ff9febe1e3956","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-1.0.0.tgz","integrity":"sha512-/aXNj258ZIwJ/OKrSzffKEKLA4FYQXd8j6SDRgfGvZrB9ChONXNeMmK7zVBXYVDTt/CuxCmbsO8vVU2VvNoXMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNSc8JWwtAFb1DBTYqtFuzAYXY+Fb8PMdwMta8NbMaDQIgP1IwrZ+CSncNZfcwdjhBonKlgFIJQiBoGaSN7d2Gubs="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ml-pca-1.0.0.tgz_1464686223227_0.9224365069530904"}},"1.1.0":{"name":"ml-pca","version":"1.1.0","description":"Principal component analysis","main":"src/pca.js","directories":{"lib":"src","test":"test"},"files":["src"],"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^1.1.5","ml-stat":"^1.1.0"},"devDependencies":{"ml-dataset-iris":"^1.0.0","mocha":"^2.3.4","mocha-better-spec-reporter":"^3.0.1","should":"^9.0.0","should-approximately-deep":"^1.1.0"},"gitHead":"0500a64453a4335b0943d32bd5a0c15b6cb8cb1e","_id":"ml-pca@1.1.0","_shasum":"95455eb616d5e108f0207797dfe5c686ec773b2a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"targos","email":"targos@live.com"},"maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"dist":{"shasum":"95455eb616d5e108f0207797dfe5c686ec773b2a","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-1.1.0.tgz","integrity":"sha512-p45ekYeeDPy5/rjf4ah9xgyzaLcQlx4zEZka/ly58vgk4bBAgRqujXycOla0286aMpcvHwxaf7jxWQq6GUM4yw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNZEmT1m6Bd1sOtgkTZm1o1EPXKys2RKzusISWQ+IObAiA+bseIvUuc0HLg6nT7S106H9cKons0zyDUul1ovPEI9g=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ml-pca-1.1.0.tgz_1464704355255_0.9946044376119971"}},"1.1.1":{"name":"ml-pca","version":"1.1.1","description":"Principal component analysis","main":"src/pca.js","directories":{"lib":"src","test":"test"},"files":["src"],"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^1.1.5","ml-stat":"^1.1.0"},"devDependencies":{"ml-dataset-iris":"^1.0.0","mocha":"^2.3.4","mocha-better-spec-reporter":"^3.0.1","should":"^9.0.0","should-approximately-deep":"^1.1.0"},"gitHead":"a23da736a6dffe09d3905e51942b37a684304766","_id":"ml-pca@1.1.1","_shasum":"675a0545adb8bc9e7d30f186b2964911e258662a","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"targos","email":"targos@live.com"},"maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"dist":{"shasum":"675a0545adb8bc9e7d30f186b2964911e258662a","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-1.1.1.tgz","integrity":"sha512-vNmJ2CDxQo4caeywCYIUUacJye53+CzIFZVq3bVVg4eSzZk4t6x2+n1790rzbCw32NjEj7wkqq+qoXDwSQQgSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHIo1c8JZDjTyXMAAJfv0RrrZlvvj2+8vn+bMPAVC9qAiEA6KwC25akkj9CwoXh+ue37tdP5C7bIKE19zEzpS+DSL0="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ml-pca-1.1.1.tgz_1464859691657_0.5350149541627616"}},"1.1.2":{"name":"ml-pca","version":"1.1.2","description":"Principal component analysis","main":"src/pca.js","directories":{"lib":"src","test":"test"},"files":["src"],"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^2.0.0","ml-stat":"^1.1.0"},"devDependencies":{"ml-dataset-iris":"^1.0.0","mocha":"^3.0.1","mocha-better-spec-reporter":"^3.0.1","should":"^11.1.0","should-approximately-deep":"^1.1.0"},"gitHead":"64d45ff4565f1283217f0410d311cd385d448070","_id":"ml-pca@1.1.2","_shasum":"1ce0af1763635d404819840b09d330b67a2b4a6a","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"targos","email":"targos@live.com"},"maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"dist":{"shasum":"1ce0af1763635d404819840b09d330b67a2b4a6a","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-1.1.2.tgz","integrity":"sha512-jkTF0Y7n6njKmaP6id1pia7LIbOOTFBNPDyVGMcDRD98YXMPYM91oXxC9F/SMHgxnisSeH2cJ6O+jEfr0a1SAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpFdPbKB69Wb2TV7b+3ULz8CZf1GTAGWotfF0WUVRZDgIhAKqggGgOkEjg2qv1rOyql7kd7Yc/8gThF5Qb3sKjcVth"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ml-pca-1.1.2.tgz_1471338061400_0.5351198017597198"}},"2.0.0":{"name":"ml-pca","version":"2.0.0","description":"Principal component analysis","main":"src/pca.js","directories":{"lib":"src","test":"test"},"files":["src"],"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^5.0.0","ml-stat":"^1.1.0"},"devDependencies":{"ml-dataset-iris":"^1.0.0","mocha":"^3.0.1","mocha-better-spec-reporter":"^3.0.1","should":"^11.1.0","should-approximately-deep":"^1.1.0"},"gitHead":"f0b1c595c0c3de7d27b0c25079f54163ea46c812","_id":"ml-pca@2.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"targos","email":"targos@live.com"},"dist":{"integrity":"sha512-NZBi75BgpnXh3i0zdQZFP1HPQjKhKDzk/vNbAkSuQ8tUA18jW+W2Iu6QRVMrTy/0D1dKQGbJMt4ReuRLRHQKJw==","shasum":"094eda074f2eafb0f1a69f596167d86e8e20d2b7","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+iEhKT7/4gslZxr5jDE9Fi+rgYoh2+moYNSsUx8UIJAiEA37exaouYqCY7jdXUAblmGnzJc5v6j9kJxIXr8YbuWDA="}]},"maintainers":[{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"jeffersonh44","email":"swrt_9950@hotmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"},{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca-2.0.0.tgz_1500639844191_0.2617344905156642"}},"2.1.0":{"name":"ml-pca","version":"2.1.0","description":"Principal component analysis","main":"src/pca.js","directories":{"lib":"src","test":"test"},"files":["src"],"scripts":{"test":"mocha --require should-approximately-deep --reporter mocha-better-spec-reporter --recursive"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^5.0.0","ml-stat":"^1.1.0"},"devDependencies":{"ml-dataset-iris":"^1.0.0","mocha":"^3.0.1","mocha-better-spec-reporter":"^3.0.1","should":"^11.1.0","should-approximately-deep":"^1.1.0"},"gitHead":"d91b4c94e792d8ff8b954203581d24bf9abce6e7","_id":"ml-pca@2.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"targos","email":"targos@live.com"},"dist":{"integrity":"sha512-ZMlVsezHbeBok6ZxSlPA4O0lJzf9d+8vfdzTvcSFexkv1FXwr+GnLC6ypsOmdzgtm0InV6e+fLYAo2Sr/+yjow==","shasum":"6a3240c59dabffd7c0132c879fefdc7b0f8b98db","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnRPVCxo9J/bmbhbnrHdw3svcF0XgCWdaO8zPMpnHaFwIhAJj70zmDn56O4loXlp9fkIvWzi/6E/ohMBpFUbyH/EJV"}]},"maintainers":[{"email":"andcastillo@gmail.com","name":"andcastillo"},{"email":"maasencioh@gmail.com","name":"maasencioh"},{"email":"kostro.d@gmail.com","name":"stropitek"},{"email":"lpatiny@gmail.com","name":"lpatiny"},{"email":"targos@live.com","name":"targos"},{"email":"admin@cheminfo.org","name":"ml-bot"},{"email":"jeffersonh44@gmail.com","name":"jeffersonh44"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca-2.1.0.tgz_1500895833746_0.6806344927754253"}},"3.0.0-0":{"name":"ml-pca","version":"3.0.0-0","description":"Principal component analysis","main":"pca.js","module":"src/pca.js","types":"pca.d.ts","scripts":{"compile":"rollup -c","eslint":"eslint src","eslint-fix":"npm run eslint -- --fix","prepublishOnly":"npm run compile","test":"npm run test-coverage && npm run eslint","test-only":"jest","test-coverage":"jest --coverage"},"jest":{"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^6.0.0-6"},"devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.4.3","eslint":"^5.16.0","eslint-config-cheminfo":"^1.20.1","eslint-plugin-import":"^2.17.2","eslint-plugin-jest":"^22.4.1","jest":"^24.7.1","jest-matcher-deep-close-to":"^1.3.0","ml-dataset-iris":"^1.0.0","rollup":"^1.10.0"},"readme":"# ml-pca\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![David deps][david-image]][david-url]\n[![npm download][download-image]][download-url]\n\nPrincipal component analysis (PCA).\n\n## Installation\n\n`$ npm install ml-pca`\n\n## Usage\n\n```js\nconst { PCA } = require('ml-pca');\nconst dataset = require('ml-dataset-iris').getNumbers();\n// dataset is a two-dimensional array where rows represent the samples and columns the features\nconst pca = new PCA(dataset);\nconsole.log(pca.getExplainedVariance());\n/*\n[ 0.9246187232017269,\n  0.05306648311706785,\n  0.017102609807929704,\n  0.005212183873275558 ]\n*/\nconst newPoints = [[4.9, 3.2, 1.2, 0.4], [5.4, 3.3, 1.4, 0.9]];\nconsole.log(pca.predict(newPoints)); // project new points into the PCA space\n/*\n[\n  [ -2.830722471866897,\n    0.01139060953209596,\n    0.0030369648815961603,\n    -0.2817812120420965 ],\n  [ -2.308002707614927,\n    -0.3175048770719249,\n    0.059976053412802766,\n    -0.688413413360567 ]]\n*/\n```\n\n## [API Documentation](https://mljs.github.io/pca/)\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-pca.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/ml-pca\n[travis-image]: https://img.shields.io/travis/mljs/pca/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/mljs/pca\n[david-image]: https://img.shields.io/david/mljs/pca.svg?style=flat-square\n[david-url]: https://david-dm.org/mljs/pca\n[download-image]: https://img.shields.io/npm/dm/ml-pca.svg?style=flat-square\n[download-url]: https://npmjs.org/package/ml-pca\n","readmeFilename":"README.md","gitHead":"e43f2aa4a0bc2d401462cc8856a8e2fad879ae7f","_id":"ml-pca@3.0.0-0","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-jQ5q5MP3H8sQzXOd74a/s1y2dpPUrZVsv8sRuk7zmV4EUZN8AT7J9osfEiimIZENTVcHuox78qB4Qp3uhOnfWQ==","shasum":"ba47d3fa5b8bd1792847741f09da7bc433c1c2e1","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-3.0.0-0.tgz","fileCount":7,"unpackedSize":17523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwZhsCRA9TVsSAnZWagAAtIMP/iM8asbKUw4D/PbicQBp\nWe3B/a7f90t83/jap4+bK9RyiqAoWw5Tl5xkfo6c0YKB6MPXG+92vdljGbFz\nXm2u7I7KrTtgLLXalycU42235RB5zRUw3ihbEn9bKnx4b9TWUwRn/CyQEc5C\nyqyCcll2M4/4AFpvAfZRkwABgKIMhpBRUGxnaAYagi/ADiJea9yuurUrcaUA\n6IRf5pIMQrZFq8UwelMhrtciVtq70PojM2mhf0SkPprwLwzcgnYESU9S5JtH\n5apH+O0jCUXpqY2V0YnKdwb/eoaf+q7DydszhVpvzaAz9mfvW6i9aswycm4R\nOoia0KP9btrUFeC3l1iWFb3ELdC/hotq0OBF3PtGLCNad5TzY6eidT449wSb\nQ20c8ZpOIo4AyB0YmvguOgC624T5sBQxTSvyj6GGN1KPLWM0zCYOaHNzEToq\novhcOtftm4kfdsby81lzric6UA5X9OwX8lBXTBMpI9pl7qQ1hBQkTZ+/HMgn\n5T93ttAX5617MvhA20kjACK6WMTuVZU5fWofBx4pRtMr7pT12/LmMvI4jhfy\nxg0lpD+Iu9a2NPG7Wz491Hzd39yfc5puCh1zQc/wTGbbJNRbdXRjgVcJ5CwC\n4UejA6iFO5xEsTAeciumUfmnt+fXp5YuKmNjQbgGpE3KqRYePEsEh9IJr6jD\ndGvD\r\n=+3FE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtVEVAOMlkThz3byjywFeWJjiPWeP0Ok63UgU0vjTdfQIgbU699nnYjvRMDUdh15smgPlEVpfoojkDJ1SSc9gLPl8="}]},"maintainers":[{"email":"andcastillo@gmail.com","name":"andcastillo"},{"email":"jeffersonh44@gmail.com","name":"jeffersonh44"},{"email":"lpatiny@gmail.com","name":"lpatiny"},{"email":"maasencioh@gmail.com","name":"maasencioh"},{"email":"admin@cheminfo.org","name":"ml-bot"},{"email":"kostro.d@gmail.com","name":"stropitek"},{"email":"targos@live.com","name":"targos"}],"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca_3.0.0-0_1556191339987_0.49145242306304415"},"_hasShrinkwrap":false},"3.0.0":{"name":"ml-pca","version":"3.0.0","description":"Principal component analysis","main":"pca.js","module":"src/pca.js","types":"pca.d.ts","scripts":{"compile":"rollup -c","eslint":"eslint src","eslint-fix":"npm run eslint -- --fix","prepublishOnly":"npm run compile","test":"npm run test-coverage && npm run eslint","test-only":"jest","test-coverage":"jest --coverage"},"jest":{"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^6.0.0"},"devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.4.3","eslint":"^5.16.0","eslint-config-cheminfo":"^1.20.1","eslint-plugin-import":"^2.17.2","eslint-plugin-jest":"^22.4.1","jest":"^24.7.1","jest-matcher-deep-close-to":"^1.3.0","ml-dataset-iris":"^1.0.0","rollup":"^1.10.0"},"gitHead":"c18e246558ced32b6ec122ba34ba1a8c72a97cca","_id":"ml-pca@3.0.0","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-EfLjY9pUoULZMYVYFnATxtR8PmHA3mqU0OVj46+1b4KN17q7vlQnyzpC1UcjYqEoR3dfAVX26QPKbqSsooFrtw==","shasum":"3e7908d9b86201c581a7248ce53e1550b31c9dd7","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-3.0.0.tgz","fileCount":7,"unpackedSize":17600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwavZCRA9TVsSAnZWagAAFPMP/i4iLbzcxFRKRAO9M78F\nsBkDcqnVbDX/Z2yHod6i7+Z/ub0pjshJS8+y4hGPFL8i5aeNm9VIK8twEEFy\nVYP5dBdK7696r5IAD9fnvI9f7ejwpGK4z/yEozGUNkGpUjNEHU+gUMj5Ec4/\nS5nguOsAjbW8DY9xrM9vTtQLy94YFtMRPx4fvWBAd0Z0cu3ScoKGoWO5tekd\nHL3Qq0E6KMRHAwaCDj8nARL4ct8qXHIiflduQk0cyUnmgTqL/Oi+VcUzfnwW\nRHLLzT/1hZ/ZS1FYRYPw1hjonO5xECUxpYeDVOqhwAxhYPv7hsH/9VhYm/C5\nQjL7Zgzslot/Xg0P7I6f3bfcTR+fd9BMn7CTlIZNRjR1r5l4LSdf8KmALl8J\nEh6vHe0osyFNnacGsUhlbpIVIGewYXF/cIcwBs/WFVwCy0zdOeZ+zLn96i5J\n3Lw3kVKud+tlsz8rSPHQA/zzTKtTiHR3k4CFHXj1Vn9WLwo1JtBrtbqbmwn5\nnaUhaBXfaxCr+oVQkn9yOHeYADT/Lrf/mTdrLMCa6N/gKECZEaUAnssrIM3S\nfSJmogVA2r06BBG+T2/PlYSUApoBPpcABei1cwTDwTVLw0UEMI7ER0c11eFj\n8W7u3ZuceU+VrhSOsa9zh90IQH2OC9+Vh+/Tv+29/STLdMIlE9vamNdzgc46\nSJN9\r\n=EEC7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXqeghHtHzTzbpjahKSd1bHX6ezFDUN25cUFsw3deEbwIhAKDjuC9iN3jPiAHCvNTn3bFWQEReQ1TQCsZWH0jhwISj"}]},"maintainers":[{"email":"andcastillo@gmail.com","name":"andcastillo"},{"email":"jeffersonh44@gmail.com","name":"jeffersonh44"},{"email":"lpatiny@gmail.com","name":"lpatiny"},{"email":"maasencioh@gmail.com","name":"maasencioh"},{"email":"admin@cheminfo.org","name":"ml-bot"},{"email":"kostro.d@gmail.com","name":"stropitek"},{"email":"targos@live.com","name":"targos"}],"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca_3.0.0_1556196312981_0.36485240753649806"},"_hasShrinkwrap":false},"4.0.0":{"name":"ml-pca","version":"4.0.0","description":"Principal component analysis","main":"pca.js","module":"src/pca.js","types":"pca.d.ts","scripts":{"compile":"rollup -c","eslint":"eslint src","eslint-fix":"npm run eslint -- --fix","prepublishOnly":"npm run compile","test":"npm run test-coverage && npm run eslint","test-only":"jest","test-coverage":"jest --coverage"},"jest":{"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^6.2.0"},"devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.5.0","eslint":"^6.1.0","eslint-config-cheminfo":"^1.20.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jest":"^22.13.0","jest":"^24.8.0","jest-matcher-deep-close-to":"^1.3.0","ml-dataset-iris":"^1.0.0","rollup":"^1.17.0"},"gitHead":"c91604d8146bb82a00e3dc34b494b5383a76f471","_id":"ml-pca@4.0.0","_nodeVersion":"12.6.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-S2+TolbBdaiqvsQnCdDevblSDOQBH5Gu7rJn/uELaUREvJIbmzVkr0MeqDqFrBGeyWJWY98Xvg2zjPoBsLkGIQ==","shasum":"7f95dafb2b2f232aabc7c3b365663f1e80fe8c88","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-4.0.0.tgz","fileCount":7,"unpackedSize":21388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNH1QCRA9TVsSAnZWagAAcFYP/14O9EqY2OVeHIkvso2H\ndKZq/iC1HTOWM8VFcOyUAkmsBNtXnCq1OTKnGlg6ddkLNeDuivUgNXXadq4b\nMVPL5fS58QKrw9vTIlzkOWmsh7Jj20C/CJU81BOoGcreUcOybOz32HhxSup7\nplKzPW5mmdQrg4jeSpjLpmZwp4l17vwI/mTkTBr1AHFwJKTAffmcs1BPd1wH\nTLDby/Jm7Un1MGORhIkJPeIvooGkmmlx8cL2W1gK6vIa9+hkMAxZn+sV9dJ+\nDvcK7CDSU6384XgesWoZzQsYybBYW/CU/iyxwpkYlnDiqQ+QYxiTWEGY+wai\nxT2xsnQIWhMaJGPaxpkR/PuOcEbW3/uxP1SJJ5kPCo50Otl0jbJQUQWWNFk3\nf3WZWeLbo6MEhwXZR0uUwfHzYX6UOriFl2nmaqJGAu8ZrqSm9jkA3skwk2OX\n0SgNlWEzz2nAheUY+BpbeJguA0fmGfs/GN9Szg77cxg5X/9ZXxn83k8bvTEM\nN+qyzs7EMrw2Md9ZUP9B9gefkFiVIY5DBmPkOJlVjeMX3mvnOWLn5rpIbQAI\nzbYnhSlWKTyhfa40n0gNjGf3Z9zosSicdtFWeUMQMLTJ8pPc2JFjmJrwdvly\nYY/l5fnjgyTgZRdXj2uGggRY/cwXi4jK6hHCnwl5eTt7DmLyuP7+TaijlzrP\nLqkc\r\n=1Q7H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEW0g2wQcMb5HEEWScS0zkDgypfg1VExt81AKwjxKhKBAiAGn4KVkWnyoIocoW8ElTVh984LEoL5z/qdNrwjNCqY3Q=="}]},"maintainers":[{"email":"andcastillo@gmail.com","name":"andcastillo"},{"email":"jeffersonh44@gmail.com","name":"jeffersonh44"},{"email":"lpatiny@gmail.com","name":"lpatiny"},{"email":"maasencioh@gmail.com","name":"maasencioh"},{"email":"admin@cheminfo.org","name":"ml-bot"},{"email":"kostro.d@gmail.com","name":"stropitek"},{"email":"targos@live.com","name":"targos"}],"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca_4.0.0_1563721039464_0.6416809273887587"},"_hasShrinkwrap":false},"4.0.1":{"name":"ml-pca","version":"4.0.1","description":"Principal component analysis","main":"pca.js","module":"src/pca.js","types":"pca.d.ts","scripts":{"compile":"rollup -c","eslint":"eslint src","eslint-fix":"npm run eslint -- --fix","prepublishOnly":"npm run compile","test":"npm run test-coverage && npm run eslint","test-only":"jest","test-coverage":"jest --coverage"},"jest":{"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^6.2.0"},"devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.5.0","eslint":"^6.1.0","eslint-config-cheminfo":"^1.20.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jest":"^22.13.0","jest":"^24.8.0","jest-matcher-deep-close-to":"^1.3.0","ml-dataset-iris":"^1.0.0","rollup":"^1.17.0"},"gitHead":"4d9b1124c2576c2f919cbd4a5da660fe918bd304","_id":"ml-pca@4.0.1","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Pf+XrVtXehEbCmSw2QLa3BvZOICBrke7szizlcF6gh7up5b6+Muu/bEEy3NXvzMHMun8QFokHeV9KLctc5++dQ==","shasum":"427d401097dccc28de0ed2f1cb96510ab7cebcbd","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-4.0.1.tgz","fileCount":7,"unpackedSize":21740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqt1NCRA9TVsSAnZWagAAuVIQAKDoFFNvks6KaqDu0bMZ\nqvgNs2H/unhv8k7HpMx2xd/+lf2U/ZJG3oJ67Lk+o7GzeOmKRlp1bQPKqvez\nNpAc9qi1U2LUJxes9y5lQ43hWYi/ViOG1YvV5BcaxPQldo+0YRIZ2lDSqo2r\nHLZP0MFEVrQnB+mWaSmHEh+PdD6582rzcmEIaW5nvZwfT3payQ7ZN7rVw2ni\n+e3RnvdxyG8nwF4Kz4VmKtS9LyoSppGdxustt15iuOwoQHl4cF+jh0TqEFPp\nQVmxZy678fh0n0Y74cHDpvhJFB2mEzRWvsVrHqvK6uJKNea1+wv6vk1B2v52\n6aSIUnvmqmuIplZ3KA5tdrhkyiZujgwnprUi6iEnNjeM7Ahk+9gd5Rrap0sh\nLg+PM7GkWhkQA31yhzXfHfJmrSr83wwaBrhgFDe9SyKfQ28FqYPKdORVY1vU\nhhOZEDDbbY0XwpMjn4MrgvKYWYzHBeEjsN5ipHdqW7IJY+lqx/HYN4uZQPuU\nXhXlnXHGnq9IEsh9M5/RrpY0W+b2S2zf8QOG51oRlg6/SvKd0qhXrv+RczQI\nBkQyTVB6W70vbx4W6PKRsoK/L4mRUKphaJZpc3V6f4EbhKaSjUxLBKZYrlpN\nVxmQNyKNyzzVckAze5PcVLya9YOgSyqID1+p411PvNJIEPCrWy0ZfQW1YbX2\nVf3y\r\n=LrLM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9JFHqNiQ3HKP0SW205HKAhJF9OtFmM9X3Wu6wtY9VxAiEA+sIHQKfA9xup5KdtHJ+PHuOvHSW6+rvBaTXZpFySdN0="}]},"maintainers":[{"email":"andcastillo@gmail.com","name":"andcastillo"},{"email":"jeffersonh44@gmail.com","name":"jeffersonh44"},{"email":"lpatiny@gmail.com","name":"lpatiny"},{"email":"maasencioh@gmail.com","name":"maasencioh"},{"email":"admin@cheminfo.org","name":"ml-bot"},{"email":"kostro.d@gmail.com","name":"stropitek"},{"email":"targos@live.com","name":"targos"}],"_npmUser":{"name":"lpatiny","email":"lpatiny@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca_4.0.1_1571478860684_0.19930723469753842"},"_hasShrinkwrap":false},"4.0.2":{"name":"ml-pca","version":"4.0.2","description":"Principal component analysis","main":"pca.js","module":"src/pca.js","types":"pca.d.ts","scripts":{"compile":"rollup -c","eslint":"eslint src","eslint-fix":"npm run eslint -- --fix","prepublishOnly":"npm run compile","test":"npm run test-coverage && npm run eslint","test-only":"jest","test-coverage":"jest --coverage"},"jest":{"testEnvironment":"node"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^6.7.0"},"devDependencies":{"@babel/plugin-transform-modules-commonjs":"^7.13.8","eslint":"^7.24.0","eslint-config-cheminfo":"^5.2.3","jest":"^26.6.3","jest-matcher-deep-close-to":"^2.0.1","ml-dataset-iris":"^1.1.1","prettier":"^2.2.1","rollup":"^2.45.1"},"gitHead":"e98ae24402d44729f94764d4994406030e82063b","_id":"ml-pca@4.0.2","_nodeVersion":"15.14.0","_npmVersion":"7.9.0","dist":{"integrity":"sha512-LNsEmk1yq6chYUdexk/YUkzzGv6auR3ERQlemT3AikGBY+l+76MfSqO7I+ngd23w/mwl8H+tng7aA8SvJOvDLg==","shasum":"1361aa6bd78484ec5ef8eace52e593757bccdcf8","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-4.0.2.tgz","fileCount":7,"unpackedSize":22741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdE4bCRA9TVsSAnZWagAAZQAP/jUjCH9qz6vIZBwmhh2V\nmYog7uPUkgtWz0H5sLT9qUOYkAYsxqFJmm+GfR1LxjmIwdW2kH56PqHagLir\nbMfc38Amp5Zb2QahZLZywbw9u1TkKJLeScM3q2j53xY49uNWBraVU5ls/7jT\nOpW8dFMhPt9k8SkQ5uT7LU5KI71Bzz23qWLLsXE3Fz+TIkBJ2DLYkOyYWTIZ\nEz19zY18jsAQytYW11JYpplQmKoIOmQxC7/oLdNqSO1oEFCCmtSyM8CINOs7\nXS1wnqGGhnwf7HIP4SG/EoE32FIOJidE6qmZTWc4t/qVa+42kJGqgMkkbcC2\nndb3OdBkRfsSjrNLodMxktdGAw4BNRpd+ZoTF/QliqxZO2HhpTkMxBj9dKsu\nkivzT/uURm9gUOYo8Mc+yPPzTM0Fmrd3szdtP7TcDLrCIpTiwJT57bWIXP85\nqpj9OVjtQp3w+hM/D913V2Kq4vObR5lCk6Rqao+TAN1G6jMyNqK6YkndlmA7\nXwxr8qZzs/hI2An5f9YeP7YmRciLY9NPv4rNJ/QPontpSGmuDlC+n25O8FVA\nQGHhgF5nsPsZmyL5DEQP+2Lb6tBOuzejvQ09vINpNmYYOsrcbBRAjouoTttj\nBbC7ni2vcq+W4TrKLRov3uQHn8/E/jH75gmGOEf7OtJZVJS537URlgCZgi//\naI0k\r\n=zvbo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQUZHQdg8C7BXkEOGZTzcGKi1CDxBhNapO/4YaRFTLiAiEA3+m/Zg8cEGZmCN9fwSrlW5ZyEf/Mb0y+d0u478gjBfQ="}]},"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"maintainers":[{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos+npm@protonmail.com"},{"name":"lpatiny","email":"lpatiny@gmail.com"},{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"jeffersonh44","email":"jeffersonh44@gmail.com"},{"name":"andcastillo","email":"andcastillo@gmail.com"},{"name":"ml-bot","email":"admin@cheminfo.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca_4.0.2_1618234907250_0.7682629073893474"},"_hasShrinkwrap":false},"4.1.1":{"name":"ml-pca","version":"4.1.1","description":"Principal component analysis","main":"lib/pca.js","module":"lib-esm/pca.js","types":"lib/pca.d.ts","scripts":{"check-types":"tsc --noEmit","clean":"rimraf lib lib-esm","eslint":"eslint src","eslint-fix":"npm run eslint -- --fix","prepack":"npm run tsc","prettier":"prettier --check src","prettier-write":"prettier --write src","test":"npm run test-only && npm run eslint && npm run prettier && npm run check-types","test-only":"jest --coverage","tsc":"npm run clean && npm run tsc-cjs && npm run tsc-esm","tsc-cjs":"tsc --project tsconfig.cjs.json","tsc-esm":"tsc --project tsconfig.esm.json"},"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"author":{"name":"Jefferson Hernández"},"license":"MIT","bugs":{"url":"https://github.com/mljs/pca/issues"},"homepage":"https://github.com/mljs/pca","dependencies":{"ml-matrix":"^6.8.0"},"devDependencies":{"@types/jest":"^27.0.2","eslint":"^8.1.0","eslint-config-cheminfo-typescript":"^10.2.2","jest":"^27.3.1","jest-matcher-deep-close-to":"^3.0.2","ml-dataset-iris":"^1.2.1","prettier":"^2.4.1","rimraf":"^3.0.2","ts-jest":"^27.0.7","typescript":"^4.4.4"},"gitHead":"7f4de36a68a91ef484c17848af96282a8eea1d3a","_id":"ml-pca@4.1.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-HQwswMK1dObj+ppk3EPcQMR2djWK0Cri8mAFd2nITtXHkLfO4DBBsEtiCT5KiR+2e3hQjp+lI0UyqZpdf04AlQ==","shasum":"4a233b34fb7c651056d5be560e80891c792f7162","tarball":"https://registry.npmjs.org/ml-pca/-/ml-pca-4.1.1.tgz","fileCount":12,"unpackedSize":55004,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBi2k/uFvDxnN2tn41UYzzY2Z0y+9MSsfxyd2j56LChAAiAXx6HlWi7jkWBZF/ZGsgmVf4nLfWnNNVFBVvcAPOpAaw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjbrUcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqoyw/6A1O1EUf18CrpSeTuQZ/AMclvtsuwNKSsj53ZNTF4PEiLP2kw\r\nQWPmGn2e3zNumoKG2QvVUV8uyRkGiGmkC4MN8oU/UfvQmcsJUez5zhxl1yxY\r\nAT1drCoFTEC9gbmY7Z5zjQV92ERj1ni0q8U5OqeJ5g3iDFVoaxUoYcPKUCA6\r\nDd2t/OuKzJu6zAAvL5zgFFaYldeEROohkVFyAP4wj/zHD3gIjiIfX79yQHkt\r\nxEIgV9OMMC0fP1hMU+UTot9yvsXBK03uH4GubnHOELvNRPOW9dJ6KBlllQ56\r\nqJ22cFruAr4XAlzgIcyt622QumZ8pfN9/SYYVTnm15ZYQc8mZCYqxUzqPmaK\r\ngu01N3kYrEcWIttNCzicRogBhrkeXh81wmZFiSVTo0O+60rDZfztMKD5ildf\r\nixkXvVW2meCDsUmPgFfNRLrDJIgURwD4ty2YZLx71q9/VK+bk5B5vgYBNQ3z\r\nYdFJ7esXU4pMveLLyvVehnxXTgsTGOdnyUrD6C7+CLjX91D6nXcBuJzMALpJ\r\nnfsxnzcJnpk0NSFYTp7eboj60/4trymZFoefrrjBIHZ2yARqzAAp0d1EIg4g\r\nlRvGXPcAvrY4kMmmlqE+RQsE+ix2hTm40II5SZD4uXUjnxtF0Dt78T0lQcv3\r\n4WbzR2fGac3H+2fqAoNpQvvWx3vLQq6KNpM=\r\n=jlrz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},"directories":{},"maintainers":[{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos+npm@protonmail.com"},{"name":"lpatiny","email":"luc@patiny.com"},{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"jeffersonh44","email":"jeffersonh44@gmail.com"},{"name":"andcastillo","email":"andcastillo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-pca_4.1.1_1668199708295_0.972130044465713"},"_hasShrinkwrap":false}},"readme":"# ml-pca\n\nPrincipal component analysis (PCA).\n\n<h3 align=\"center\">\n\n  <a href=\"https://www.zakodium.com\">\n    <img src=\"https://www.zakodium.com/brand/zakodium-logo-white.svg\" width=\"50\" alt=\"Zakodium logo\" />\n  </a>\n\n  <p>\n    Maintained by <a href=\"https://www.zakodium.com\">Zakodium</a>\n  </p>\n\n[![NPM version][npm-image]][npm-url]\n[![build status][ci-image]][ci-url]\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7314532.svg)](https://doi.org/10.5281/zenodo.7314532)\n[![npm download][download-image]][download-url]\n\n</h3>\n\n## Installation\n\n`$ npm install ml-pca`\n\n## Usage\n\n```js\nconst { PCA } = require('ml-pca');\nconst dataset = require('ml-dataset-iris').getNumbers();\n// dataset is a two-dimensional array where rows represent the samples and columns the features\nconst pca = new PCA(dataset);\nconsole.log(pca.getExplainedVariance());\n/*\n[ 0.9246187232017269,\n  0.05306648311706785,\n  0.017102609807929704,\n  0.005212183873275558 ]\n*/\nconst newPoints = [\n  [4.9, 3.2, 1.2, 0.4],\n  [5.4, 3.3, 1.4, 0.9],\n];\nconsole.log(pca.predict(newPoints)); // project new points into the PCA space\n/*\n[\n  [ -2.830722471866897,\n    0.01139060953209596,\n    0.0030369648815961603,\n    -0.2817812120420965 ],\n  [ -2.308002707614927,\n    -0.3175048770719249,\n    0.059976053412802766,\n    -0.688413413360567 ]]\n*/\n```\n\n## [API Documentation](https://mljs.github.io/pca/)\n\n## License\n\n[MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-pca.svg\n[npm-url]: https://npmjs.org/package/ml-pca\n[ci-image]: https://github.com/mljs/pca/workflows/Node.js%20CI/badge.svg?branch=master\n[ci-url]: https://github.com/mljs/pca/actions?query=workflow%3A%22Node.js+CI%22\n[download-image]: https://img.shields.io/npm/dm/ml-pca.svg\n[download-url]: https://npmjs.org/package/ml-pca\n","maintainers":[{"name":"stropitek","email":"kostro.d@gmail.com"},{"name":"targos","email":"targos+npm@protonmail.com"},{"name":"lpatiny","email":"luc@patiny.com"},{"name":"mljs-bot","email":"bot+npm-mljs@zakodium.com"},{"name":"maasencioh","email":"maasencioh@gmail.com"},{"name":"jeffersonh44","email":"jeffersonh44@gmail.com"},{"name":"andcastillo","email":"andcastillo@gmail.com"}],"time":{"modified":"2022-11-11T20:48:28.640Z","created":"2015-07-22T12:43:08.309Z","0.0.1":"2015-07-22T12:43:08.309Z","0.0.2":"2015-07-23T06:29:53.573Z","0.0.3":"2015-07-23T08:40:54.611Z","0.1.0":"2015-09-23T16:00:13.021Z","0.1.1":"2015-11-19T13:29:28.444Z","1.0.0":"2016-05-31T09:17:05.407Z","1.1.0":"2016-05-31T14:19:17.812Z","1.1.1":"2016-06-02T09:28:12.984Z","1.1.2":"2016-08-16T09:01:03.912Z","2.0.0":"2017-07-21T12:24:05.090Z","2.1.0":"2017-07-24T11:30:34.663Z","3.0.0-0":"2019-04-25T11:22:20.144Z","3.0.0":"2019-04-25T12:45:13.166Z","4.0.0":"2019-07-21T14:57:19.581Z","4.0.1":"2019-10-19T09:54:20.862Z","4.0.2":"2021-04-12T13:41:47.413Z","4.1.1":"2022-11-11T20:48:28.546Z"},"homepage":"https://github.com/mljs/pca","keywords":["pca","principal","component","analysis","dimensionality","reduction","data","mining","datamining","machine","learning"],"repository":{"type":"git","url":"git+https://github.com/mljs/pca.git"},"author":{"name":"Jefferson Hernández"},"bugs":{"url":"https://github.com/mljs/pca/issues"},"license":"MIT","readmeFilename":"README.md","users":{"maasencioh":true}}