MCPcopy Create free account
hub / github.com/davisking/dlib / _save_libsvm_formatted_data

Function _save_libsvm_formatted_data

tools/python/src/other.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void _save_libsvm_formatted_data (
46 const std::string& file_name,
47 const std::vector<sparse_vect>& samples,
48 const std::vector<double>& labels
49)
50{
51 pyassert(samples.size() == labels.size(), "Invalid inputs");
52 save_libsvm_formatted_data(file_name, samples, labels);
53}
54
55// ----------------------------------------------------------------------------------------
56

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45

Tested by

no test coverage detected