{"repo":"petabi/petal-decomposition","free":true,"listed":false,"github":"https://github.com/petabi/petal-decomposition","clone":"git clone https://github.com/petabi/petal-decomposition.git","description":"Matrix decomposition algorithms including PCA (principal component analysis) and ICA (independent component analysis)","language":"Rust","stars":20,"topics":["matrix","decomposition","pca","dimensionality-reduction","ica"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"petal-decomposition petal-decomposition provides matrix decomposition algorithms including PCA (principal component analysis) and ICA (independent component analysis). Requirements BLAS/LAPACK backend (OpenBLAS, Netlib, Intel MKL, or the Accelerate Framework) Features PCA with exact, full SVD (singular value decomposition) PCA with randomized, truncated SVD FastICA Crate Features Use one of intel-mkl-static , intel-mkl-system , netlib-static , netlib-system , openblas-static , and openblas-system to select a BLAS/LAPACK backend. See [ndarray-linalg's documentation][ndarray-linalg-features] for details. Note: On macOS, the Accelerate Framework is used by default, so these features are not needed. serialization enables serialization/deserialization using serde. Examples The following example shows how to apply PCA to an array of three samples, and obtain singular values as well as how much variance each component explains. License Copyright 2020-2025 Petabi, Inc. Licensed under [Apache License, Version 2.0][apache-license] (the \"License\"); you may not use this crate except in compliance with the License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See LICENSE for the specific language governing permissions and limitations under the License. Contribution Unless you explicitly state otherwise, any contribution intention","default_branch":null,"files":null,"tree":[],"storefront":"/r/petabi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/petabi/petal-decomposition/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}