实现dagging方法的python包

dagging的Python项目详细描述


https://img.shields.io/travis/chkoar/dagging.svghttps://codecov.io/gh/chkoar/dagging/branch/master/graph/badge.svghttps://img.shields.io/pypi/v/dagging.svg

实现匕首方法的python包

  • 自由软件:3条款BSD许可证

示例

fromdaggingimportDaggingClassifierfromsklearn.datasetsimportload_iris# Load Iris from from scikit-learn.X,y=load_iris(True)model=DaggingClassifier(n_estimators=50,voting='hard',random_state=0)# Train the model.model.fit(X,y)# Accuracyprint(model.score(X,y))

依赖关系

依赖性要求基于最新的scikit学习版本:

  • scipy
  • 努比
  • SCIKIT学习

安装

匕首目前在pypi的存储库中可用,您可以 通过pip安装

pip install -U dagging

如果愿意,可以克隆它并运行setup.py文件。使用以下命令 从github获取副本并安装所有依赖项的命令:

git clone https://github.com/chkoar/dagging.git
cd dagging
pip install .

或者使用pip和github安装:

pip install -U git+https://github.com/chkoar/dagging.git

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何将cassandra中的行数据转换为与列相关的嵌套json   java如何使用jcr XPath在jcr:content/@jcr:data中搜索?   java在使用openCV进行安卓开发时如何利用手机的广角镜头   java解析扩展了接口,结束了一个潜在的无限循环   位置服务的@Override方法中存在java Android应用程序错误   java本地线程的用途和需求是什么   具有左右子访问的java节点树遍历   java验证JsonWebToken签名   JUL日志处理程序中的java日志记录   嵌入式Java读取给定时间段的串行数据。   java有没有办法从多个URL获取多个图像?   java线程通过等待intent阻止自己发送intent   java Spring MVC解析多部分内容请求   java JPA/Hibernate静态元模型属性未填充NullPointerException   java格式错误的字符(需要引号,得到I)~正在处理   java为什么PrintWriter对象抛出FileNotFoundException?   java Neo4j未正确保存标签   java IE不加载图像