MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / DataSet

Method DataSet

src/thundersvm/dataset.cpp:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using std::stringstream;
9
10DataSet::DataSet() : total_count_(0), n_features_(0) {}
11
12DataSet::DataSet(const DataSet::node2d &instances, int n_features, const vector<float_type> &y) :
13 instances_(instances), n_features_(n_features), y_(y), total_count_(instances_.size()) {}

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected