cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
get_cross_val_splits.hpp File Reference
#include <algorithm>
#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 k as equal as possible sized sets that can be used for k-fold cross-validated training.