随机森林,Random Forest(RF),分类和回归
zhaoxingfeng / randomforest Goto Github PK
View Code? Open in Web Editor NEW随机森林,Random Forest(RF)
随机森林,Random Forest(RF)
谢谢
老师您好,
假如我应用此模型来预测医院药品的销量,您觉得可以实现吗? 需要考虑的特征都有哪些呢?
谢谢您。
如果可以处理离散变量就更好了
为什么运行这么慢,有没有什么可以加速的技巧和方法
最近在用随机森林算法对地下水降尺度,应用结果在空间表现上不太好,作出的图显示有条带化的现象,请问有人知道是什么原因吗?
我使用其他的数据集,无论是使用全部特征还是sqrt求出的特征,又或者是使用全部特征的单个决策树,预测结果都很差,尤其是训练集作为测试集,预测只有60%多。
参数:
clf = RandomForestClassifier(n_estimators=1,
max_depth=-1,
min_samples_split=2,
min_samples_leaf=1,
min_split_gain=0.0,
colsample_bytree=70,
subsample=1.0,
random_state=66)
train_count = int(0.7 * len(df))
下面是预测的结果。
0.6125
0.2375
您好,这个程序改的我已经完全看不懂了。。。能留个联系方式方便咨询您吗?
features = random.sample(dataSet.columns.values[:-1], int(math.sqrt(m - 1)))
TypeError: Population must be a sequence or set. For dicts, use list(d).
What should I do? Thank you.
您好,从您的代码中学到了很多,请问如果用RandomForestClassifier做多分类任务该怎么修改代码呢?
有没有讲解呢?
Can we use this RandomForest to do multiple class classification?
老师好,我做的随机森林回归得到的评分score为负数,不知道如何解读。您知道吗?谢谢!
您好,能解释一下housing.txt里CRIM,ZN,INDUS,CHAS,NOX,RM,AGE,DIS,RAD,TAX,PTRATIO,B,LSTAT,MEDV
这个标头都是什么意思嘛?
万分感谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.