cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
read_data.hpp File Reference
#include <algorithm>
#include <fstream>
#include <map>
#include <sstream>
#include <string>
#include <prc.hpp>

Go to the source code of this file.

Namespaces

namespace  cMHN
 

Functions

template<class T , pRC::Size D>
static auto cMHN::readData (std::string const &filename)
 Reads a dataset from file, where the first line is the header (containing event names) and all subsequent lines contain one sample, with entries separated by commas or spaces.