Giter VIP home page Giter VIP logo

freemanzxp / gbdt_simple_tutorial Goto Github PK

View Code? Open in Web Editor NEW
703.0 12.0 195.0 2.19 MB

python实现GBDT的回归、二分类以及多分类,将算法流程详情进行展示解读并可视化,庖丁解牛地理解GBDT。Gradient Boosting Decision Trees regression, dichotomy and multi-classification are realized based on python, and the details of algorithm flow are displayed, interpreted and visualized to help readers better understand Gradient Boosting Decision Trees

License: Apache License 2.0

Python 100.00%
gbdt gradient-boosting gradient-boosting-decision-trees machine-learning gnm

gbdt_simple_tutorial's People

Contributors

foreverfc1994 avatar freemanzxp avatar jackzhenguo avatar peishiyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gbdt_simple_tutorial's Issues

BinomialDeviance损失函数中损失函数计算错误

你好,个人认为,BinomialDeviance损失函数中,计算loss的公式有问题,类似于sklearn包中的损失计算,此处的正确的公式应该是:-2.0(yf - log(1 + exp(f))),代码中是-2.0(yf - (1 + exp(f)))

关于运行速度

首先非常感谢这个详细教程,但是有个问题,为什么我在跑这个tutorial代码的时候这么慢呢?在数据量这么少并且只迭代5次的情况下。

real 3m27.845s
user 3m27.134s
sys 0m2.053s

ModuleNotFoundError: No module named 'GBDT'

错误如下:
Traceback (most recent call last):
File "C:\Users\Bai\AppData\Local\Programs\Python\Python37\GBDT_Simple_Tutorial-master\GBDT\gbdt.py", line 10, in
from GBDT.decision_tree import Tree
ModuleNotFoundError: No module named 'GBDT'

只有在运行gbdt.py和tree_plot.py时会报这个错误,其他两个文件都可以正常运行
求指教这是怎么回事

数据获取

请问训练数据和测试数据从哪获取呢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.