cMHN 1.0
C++ library for learning MHNs with pRC
Namespaces | Functions
get_cross_val_splits.hpp File Reference
#include <fstream>
#include <map>
#include <random>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
#include <prc.hpp>

Go to the source code of this file.

Namespaces

namespace  cMHN
 

Functions

template<class T , pRC::Size D>
static auto cMHN::getCrossValSplits (std::string const &filename, pRC::Index const &k)
 Splits the samples in a dataset into <it>k</it> as equal as possible sized sets that can be used for <it>k</it>-fold cross-validated training. More...