Ignore:
Timestamp:
Jan 4, 2006, 9:49:12 PM (17 years ago)
Author:
Peter
Message:

made SVM inherit from SupervisedClassifer?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/SVM.cc

    r475 r491  
    138138
    139139  SVM::SVM(const KernelLookup& kernel, const Target& target)
    140   : alpha_(target.size(),0),
    141     bias_(0),
    142     C_inverse_(0),
    143     kernel_(kernel),
    144     max_epochs_(10000000),
    145     output_(target.size(),0),
    146     sample_(target.size()),
    147     target_(target),
    148     trained_(false),
    149     tolerance_(0.00000001)
     140    : SupervisedClassifier(kernel,target),
     141      alpha_(target.size(),0),
     142      bias_(0),
     143      C_inverse_(0),
     144      kernel_(kernel),
     145      max_epochs_(10000000),
     146      output_(target.size(),0),
     147      sample_(target.size()),
     148      target_(target),
     149      trained_(false),
     150      tolerance_(0.00000001)
    150151  {
    151152  }
Note: See TracChangeset for help on using the changeset viewer.