Commit b0a8831c authored by Davis King's avatar Davis King

Added python docstring

parent 59ad798d
......@@ -134,7 +134,13 @@ matrix<double,0,1> solve_structural_svm_problem(
void bind_svm_struct()
{
def("solve_structural_svm_problem",solve_structural_svm_problem);
using boost::python::arg;
def("solve_structural_svm_problem",solve_structural_svm_problem, (arg("problem")),
"This function solves a structural SVM problem and returns the weight vector \n\
that defines the solution. See the example program python_examples/svm_struct.py \n\
for documentation about how to create a proper problem object. "
);
}
// ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment