我正在使用此处提供的软件包计算随机森林的置信区间:http: //contrib.scikit-learn.org/forest-confidence-interval/auto_examples/plot_mpg.html#sphx-glr-auto-examples-plot-mpg- py
我想绘制平均 MPG 和相关的置信区间。我可以计算平均 MPG,但如何计算相关的置信区间?
我正在使用此处提供的软件包计算随机森林的置信区间:http: //contrib.scikit-learn.org/forest-confidence-interval/auto_examples/plot_mpg.html#sphx-glr-auto-examples-plot-mpg- py
我想绘制平均 MPG 和相关的置信区间。我可以计算平均 MPG,但如何计算相关的置信区间?
在您发布的链接中,有一部分描述了如何计算和绘制误差线。这些条是置信区间。如果您希望将其绘制为带状,您可以按照此示例进行操作