MCPcopy Create free account
hub / github.com/cjlin1/liblinear / svm_read_problem

Function svm_read_problem

python/liblinear/commonutil.py:15–77  ·  view source on GitHub ↗

svm_read_problem(data_source, return_scipy=False) -> [y, x], y: list, x: list of dictionary svm_read_problem(data_source, return_scipy=True) -> [y, x], y: ndarray, x: csr_matrix Read LIBSVM-format data from data_source and return labels y and data instances x.

(data_source, return_scipy=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected