Comments (2)
代码里有shrinkage与subsample这个啊,如下:
shrinkage:
for node in leaf_nodes:
for id in node.get_idset():
f[id][label] += learn_rate*node.get_predict_value()
subsample:
subset = sample(subset, int(len(subset)*self.sample_rate))
还是说我理解错了?
from gbdt.
@zhaochangming 你是对的
from gbdt.
Related Issues (13)
- predict_label()一堆错误啊。。。
- 说明文档里二分类公式
- 老哥,你自己写完跑过没有啊,上面的有bug啊
- 请问predict_label接受的参数是什么?请问接受的类型是什么?已尝试过dataset中的instance,会报错,十分感谢
- 有一个疑问,在分类和回归的时候怎样选择特征的呢? HOT 2
- python2.7 运行startup.py 失败 HOT 3
- model里面的GBDT类中的compute_loss函数为什么只有lgoistic二分类和多分类的损失函数为什么没有回归的平方误差呢? HOT 1
- tree.py中建树的分割指标MSE HOT 4
- import gbdt.tree HOT 2
- 请问一下predcit接受的参数是什么?
- 怎么把模型保存下来 ? 没有saveModel 的方法 。 HOT 1
- 请问该如何调用predict来检查model的acc呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbdt.