Changeset 20781 in project


Ignore:
Timestamp:
10/11/10 01:05:32 (11 years ago)
Author:
petercrlane
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/libsvm

    r20756 r20781  
    1717<procedure>(make-svm-parameter  #!key (svm-type C-SVC) (kernel-type LINEAR)  (degree 0) (gamma 0.0) (coef0 0.0)   (cache-size 0.0) (eps 0.001) (C 0.0) (nr-weight 0) (nu 0.0) (p 0.0) (shrinking 0) (probability 0))</procedure>
    1818Returns a pointer to an instance of {{svm_parameter}}.
     19
     20<procedure>(problem-get-label problem index)</procedure>
     21Returns the label for the indexed instance in problem set.
     22
     23<procedure>(problem-num-instances problem)(/procedure>
     24Returns the number of instances in the given problem.
     25
     26<procedure>(read-problem filename)</procedure>
     27Returns a pointer to an instance of {{svm_problem}} for problem read from {{filename}}.
    1928
    2029<procedure>(svm-check-parameter problem parameter)</procedure>
     
    4150Reads model definition from given {{filename}} and returns a pointer to the model.
    4251
    43 <procedure>(svm-predict model svm-node)</procedure>
    44 Returns prediction of {{model}} for given {{svm-node}}.
     52<procedure>(svm-predict model svm-node-array)</procedure>
     53Returns prediction of {{model}} for given {{svm-node-array}}.
    4554
    4655<procedure>(svm-save-model filename model)</procedure>
Note: See TracChangeset for help on using the changeset viewer.