DiSMEC++
labelstats.cpp File Reference
#include "io/xmc.h"
#include "data/data.h"
#include "nlohmann/json.hpp"
#include "CLI/CLI.hpp"
#include "utils/conversion.h"
#include <numeric>
#include <random>

Go to the source code of this file.

Typedefs

using json = nlohmann::json
 

Functions

double obesity (const std::vector< long > &values, int num_samples)
 
int main (int argc, const char **argv)
 

Typedef Documentation

◆ json

using json = nlohmann::json

Definition at line 14 of file labelstats.cpp.

Function Documentation

◆ main()

int main ( int  argc,
const char **  argv 
)

◆ obesity()

double obesity ( const std::vector< long > &  values,
int  num_samples 
)

Definition at line 77 of file labelstats.cpp.

References dismec::ssize().

Referenced by main().