随机森林-概率估计(+ scikit-learn特定) [英] Random Forests - Probability Estimates (+scikit-learn specific)

查看:747
本文介绍了随机森林-概率估计(+ scikit-learn特定)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解随机森林是如何计算概率估计的,无论是一般情况还是在Python的scikit-learn库中(在其中,估计的概率均由predict_proba函数返回).

I am interested in understanding how probability estimates are calculated by random forests, both in general and specifically in Python's scikit-learn library (where probability estimated are returned by the predict_proba function).

谢谢, 盖伊

推荐答案

森林返回的概率是集合中树木返回的平均概率(

The probabilities returned by a forest are the mean probabilities returned by the trees in the ensemble (docs). The probabilities returned by a single tree are the normalized class histograms of the leaf a sample lands in.

这篇关于随机森林-概率估计(+ scikit-learn特定)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆