Ignore:
Timestamp:
Feb 14, 2008, 7:05:37 AM (14 years ago)
Author:
Peter
Message:

fixes #312 and added passing of data in EB constructors

File:
1 edited

Legend:

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

    r1049 r1087  
    4747
    4848  SVM::SVM(const KernelLookup& kernel, const Target& target)
    49     : SupervisedClassifier(target),
    50       alpha_(target.size(),0),
     49    : alpha_(target.size(),0),
    5150      bias_(0),
    5251      C_inverse_(0),
     
    5756      owner_(false),
    5857      sample_(target.size()),
     58      target_(target),
    5959      trained_(false),
    6060      tolerance_(0.00000001)
     
    114114  }
    115115
    116   SupervisedClassifier* SVM::make_classifier(const DataLookup2D& data,
    117                                              const Target& target) const
     116  SVM* SVM::make_classifier(const DataLookup2D& data,
     117                            const Target& target) const
    118118  {
    119119    SVM* sc=0;
Note: See TracChangeset for help on using the changeset viewer.