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

justdark/dml: D's Machine Learning is a machine learning toolkit for python, ...

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

开源软件名称(OpenSource Name):

justdark/dml

开源软件地址(OpenSource Url):

https://github.com/justdark/dml

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

iDML

D's Machine Learning is a machine learning toolkit for python,focus on rightness but efficiency

all code is based on numpy and scipy


Code Files

./dml/NN -the code of Neural NetWorks

./dml/LR -Logistic Regression,actually It's softmax

./dml/DT -Decision Tree , CART algorithm

./dml/ClUSTER -some cluster algorithm,inculde kmeans \ kmedoids \ spectralCluster \ Hierarchical Cluster

./dml/ADAB -the adaboost algorithm

./dml/KNN -the k-Nearest Neighbor algorithm(kd-tree BBF implementing)

./dml/NB -the naive Bayesian support both continuous and descrete features

./dml/SVM -the basic binary Support Vector Machine

./dml/CNN -the simple Convolutional Neural Networks

./dml/CF -some Collaborative Filtering Algorithm implement,include item-based \ SVD \ RBM

./dml/tool -include some basic tools for computing

./test/ -include some test code for DML


Class Format

all class can be used in this way:(LR for example)

but there is still some different Initialization parameters in different class,also the predict function

sorry for this but most class use pred() and NN use nnpred(),I may formalize them in the future

a = LRC(train_images,trian_labels,nor=False)
a.train(200,True)
pred = a.predict(test_images)

for the input X and y ,X must be a N*M matrix and y is a vector length M

where N is the #feature and M is #training_case

for the cluster method,you can use a.labels or a.result() to get the final result


Install

DML is based on numpy,scipy,matplotlib .you should install them first

This packages uses setuptools, which is the default way of installing python modules. The install command is:(sudo is required in some system)

python setup.py build
python setup.py install

Warning

  • only python 2 is supported,sorry for the python 3 user.

  • some method from numpy and scipy will report warning because of their version


License

WTFPL




鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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