• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

linfa: 一个Rust语言的机器学习AI框架,数据建模,机器学习,常见算法,都有。 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

linfa

开源软件地址:

https://gitee.com/mirrors/linfa

开源软件介绍:

Linfa mascot icon

Linfa

crates.ioDocumentationDocumentationLatestCodequalityRun Tests

linfa (Italian) / sap (English):

The vital circulating fluid of a plant.

linfa aims to provide a comprehensive toolkit to build Machine Learning applications with Rust.

Kin in spirit to Python's scikit-learn, it focuses on common preprocessing tasks and classical ML algorithms for your everyday ML tasks.

Website | Community chat

Current state

Where does linfa stand right now? Are we learning yet?

linfa currently provides sub-packages with the following algorithms:

NamePurposeStatusCategoryNotes
clusteringData clusteringTested / BenchmarkedUnsupervised learningClustering of unlabeled data; contains K-Means, Gaussian-Mixture-Model, DBSCAN and OPTICS
kernelKernel methods for data transformationTestedPre-processingMaps feature vector into higher-dimensional space
linearLinear regressionTestedPartial fitContains Ordinary Least Squares (OLS), Generalized Linear Models (GLM)
elasticnetElastic NetTestedSupervised learningLinear regression with elastic net constraints
logisticLogistic regressionTestedPartial fitBuilds two-class logistic regression models
reductionDimensionality reductionTestedPre-processingDiffusion mapping and Principal Component Analysis (PCA)
treesDecision treesExperimentalSupervised learningLinear decision trees
svmSupport Vector MachinesTestedSupervised learningClassification or regression analysis of labeled datasets
hierarchicalAgglomerative hierarchical clusteringTestedUnsupervised learningCluster and build hierarchy of clusters
bayesNaive BayesTestedSupervised learningContains Gaussian Naive Bayes
icaIndependent component analysisTestedUnsupervised learningContains FastICA implementation
plsPartial Least SquaresTestedSupervised learningContains PLS estimators for dimensionality reduction and regression
tsneDimensionality reductionTestedUnsupervised learningContains exact solution and Barnes-Hut approximation t-SNE
preprocessingNormalization & VectorizationTestedPre-processingContains data normalization/whitening and count vectorization/tf-idf
nnNearest Neighbours & DistancesTested / BenchmarkedPre-processingSpatial index structures and distance functions

We believe that only a significant community effort can nurture, build, and sustain a machine learning ecosystem in Rust - there is no other way forward.

If this strikes a chord with you, please take a look at the roadmap and get involved!

BLAS/Lapack backend

At the moment you can choose between the following BLAS/LAPACK backends: openblas, netblas or intel-mkl

BackendLinuxWindowsmacOS
OpenBLAS✔️--
Netlib✔️--
Intel MKL✔️✔️✔️

For example if you want to use the system IntelMKL library for the PCA example, then pass the corresponding feature:

cd linfa-reduction && cargo run --release --example pca --features linfa/intel-mkl-system

This selects the intel-mkl system library as BLAS/LAPACK backend. On the other hand if you want to compile the library and link it with the generated artifacts, pass intel-mkl-static.

License

Dual-licensed to be compatible with the Rust project.

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap