#include "roc_distribution.hpp" #include namespace accumulators = boost::accumulators; //using namespace boost::time_series; void example_roc() { roc_distribution roc; double ds=0; accumulators::accumulator_set< double , accumulators::stats< accumulators::tag::roc_curve > > acc( accumulators::roc_curve_num_cells = 100 ,accumulators::sample =ds //, accumulators::covariate1 = ds ); boost::lagged_fibonacci607 rng; boost::normal_distribution<> mean_sigma(0,1); boost::variate_generator > normal(rng, mean_sigma); int n=100; for (std::size_t i=0; i