【发布时间】:2017-11-11 23:45:20
【问题描述】:
我有双精度向量,需要使用 boost 库找到“mode”和“r-squared”值。我可以使用 boost::accumulators 找到平均值、最小值/最大值、计数、方差,但在其中找不到“模式”或“r-square”值的任何内容。
也许“累加器”不是我应该使用的 boost 中的库?
任何帮助将不胜感激。
谢谢!
【问题讨论】:
标签: c++ boost boost-accumulators
我有双精度向量,需要使用 boost 库找到“mode”和“r-squared”值。我可以使用 boost::accumulators 找到平均值、最小值/最大值、计数、方差,但在其中找不到“模式”或“r-square”值的任何内容。
也许“累加器”不是我应该使用的 boost 中的库?
任何帮助将不胜感激。
谢谢!
【问题讨论】:
标签: c++ boost boost-accumulators
万一其他人犯了同样的错误:
R-square(确定系数)只是一个相关*相关。 当然,相关性是 boost accumulators 库的一部分。
我没有仔细阅读 r-square 的定义,我很傻。
【讨论】: