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

Function _load_libsvm_formatted_data

tools/python/src/other.cpp:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35py::tuple _load_libsvm_formatted_data(
36 const std::string& file_name
37)
38{
39 std::vector<sparse_vect> samples;
40 std::vector<double> labels;
41 load_libsvm_formatted_data(file_name, samples, labels);
42 return py::make_tuple(samples, labels);
43}
44
45void _save_libsvm_formatted_data (
46 const std::string& file_name,

Callers

nothing calls this directly

Calls 2

make_tupleFunction · 0.85

Tested by

no test coverage detected