boost-accumulators

    0

    1답변

    나는 에 클래스 Histogram을 만들었는데,이 클래스는 Boost 1.54의 boost::accumulators::accumulator_set에 대한 래퍼로 사용된다.이 Histogram::Histogram(int bins, size_t cache) : acc(accumulator_set<double, features<tag::mi

    1

    1답변

    Linux Mint 17.3 Rosa에 boost (1.60.0)를 설치하고이 명령을 사용하여 gcc 컴파일러 (v 4.8.4 64 비트)를 사용하여 boost accumulator 예제 (http://www.boost.org/doc/libs/1_60_0/doc/html/accumulators/user_s_guide.html)를 컴파일하려고했습니다 : >g

    0

    1답변

    나는 몇 가지 문제 부스트 누적 라이브러리 Eigen::VectorXd 유형을 결합하는 데 :이 #include <iostream> #include <Eigen/Core> #include <boost/accumulators/accumulators.hpp> #include <boost/accumulators/statistics/stats.hpp> #i

    11

    2답변

    최근에 우수한 라이브러리 boost :: accumulators를 발견했으며 통계를 축적하는 일부 코드를 대체하기 위해 사용하고 싶습니다. 나는이 문서에서 찾을 수없는 한 가지 연산자로, 두 개의 누적 세트를 요약 할 수있는 능력이다 + = 예 : using namespace boost::accumulators; typedef accumulator_set

    5

    2답변

    나는 롤링 윈도우에서 평균을 추적하기 위해 부스트 누산기를 사용하는 코드를 가지고있다. "롤링 평균"이다. 롤링 평균 이외에,이 동일한 롤링 윈도우에서 최소 및 최대를 추적하고 싶습니다. 부스트 누산기로 롤링 최소 및 롤링 최대를 계산하는 방법이 있습니까? 나는 방법을 보지 않고있다. ... rolling_mean에 사용되는 누적기에 최소 및 최대 태그를

    0

    1답변

    백분위 수를 계산할 때 boost::accumulators::tag::extended_p_square_quantile을 사용하고 있습니다. 이 경우, 누산기에 확률을 공급해야하므로 m_acc = AccumulatorType(boost::accumulators::extended_p_square_probabilities = probs); probs는 확률을 포

    1

    1답변

    부스트 skewness 및 weighted skewness 누적기를 사용하는 예가 있습니까? 소스 코드를 발견 했으므로이 코드를 사용하는 것이 좋습니다. 이 중 하나를 매트릭스로 사용하는 방법을 알고 계십니까?

    1

    1답변

    저는 Boost 라이브러리에 처음 입니다. 나는 분을 계산할 수있는 프로그램이 최대가 의미하고 (유형 std::vector <double>의) 거리 벡터의 분산 원하는 다음 코드 std::vector <double> dist_err; // ... do something with dist_err boost::accumulators::accumulator_

    1

    2답변

    error_of의 documentation는 < 평균> 과급 축전지 용 특징은 화학식 평균치의 오차를 계산한다고 : SQRT을 (분산/(수 - 1)) 분산을 분산 = 1/count sum [(x_i - x_m)^2] 여기서 x는 총 값 x_i i = 1..count 이상이고 x_m은 평균값입니다. , Wikipedia는 표준한다고 SQRT - (- 1))

    2

    1답변

    궁금한 점은이 코드에서 얻은 평균치는 무엇입니까? 누산기는 비어 있어야합니다. boost::accumulators::accumulator_set< int, boost::accumulators::features<boost::accumulators::tag::mean> > Accumulator; int Mean = boost::accum