Data Structures
===============
-Three data structures derived from svm.h are node, problem, and
+Three data structures derived from linear.h are node, problem, and
parameter. They all contain fields with the same names in
-svm.h. Access these fields carefully because you directly use a C structure
+linear.h. Access these fields carefully because you directly use a C structure
instead of a Python object. The following description introduces additional
fields and methods.
param: an parameter instance generated by calling
parameter('training_options')
- model: the returned model instance. See svm.h for details of this
+ model: the returned model instance. See linear.h for details of this
structure. If '-v' is specified, cross validation is
conducted and the returned model is just a scalar: cross-validation
accuracy for classification and mean-squared error for regression.