【问题标题】:boost accumulators library - how to find "Mode" and "r-squared"?boost accumulators library - 如何找到“Mode”和“r-squared”?
【发布时间】:2017-11-11 23:45:20
【问题描述】:

我有双精度向量,需要使用 boost 库找到“mode”和“r-squared”值。我可以使用 boost::accumulators 找到平均值、最小值/最大值、计数、方差,但在其中找不到“模式”或“r-square”值的任何内容。

也许“累加器”不是我应该使用的 boost 中的库?

任何帮助将不胜感激。

谢谢!

【问题讨论】:

    标签: c++ boost boost-accumulators


    【解决方案1】:

    万一其他人犯了同样的错误:

    R-square(确定系数)只是一个相关*相关。 当然,相关性是 boost accumulators 库的一部分。

    我没有仔细阅读 r-square 的定义,我很傻。

    【讨论】:

      猜你喜欢
      • 2015-04-15
      • 2018-05-19
      • 1970-01-01
      • 2013-09-22
      • 1970-01-01
      • 2023-01-03
      • 1970-01-01
      • 1970-01-01
      • 2019-08-07
      相关资源
      最近更新 更多