Changeset 736 for trunk/yat/classifier


Ignore:
Timestamp:
Jan 6, 2007, 6:27:31 PM (15 years ago)
Author:
Peter
Message:

Fixes #176

Location:
trunk/yat/classifier
Files:
2 edited

Legend:

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

    r722 r736  
    2424#include "EnsembleBuilder.h"
    2525#include "DataLookup2D.h"
     26#include "FeatureSelector.h"
    2627#include "KernelLookup.h"
    2728#include "Sampler.h"
     
    3839                                   const Sampler& sampler)
    3940    : mother_(sc),subset_(new SubsetGenerator(sampler,sc.data()))
     41  {
     42  }
     43
     44  EnsembleBuilder::EnsembleBuilder(const SupervisedClassifier& sc,
     45                                   const Sampler& sampler,
     46                                   FeatureSelector& fs)
     47    : mother_(sc),subset_(new SubsetGenerator(sampler,sc.data(),fs))
    4048  {
    4149  }
  • trunk/yat/classifier/EnsembleBuilder.h

    r722 r736  
    3333namespace classifier { 
    3434
     35  class DataLookup2D;
     36  class FeatureSelector;
    3537  class Sampler;
     38  class SupervisedClassifier;
    3639  class SubsetGenerator;
    37   class DataLookup2D;
    38   class SupervisedClassifier;
    3940
    4041  ///
     
    5051    ///
    5152    EnsembleBuilder(const SupervisedClassifier&, const Sampler&);
     53
     54    ///
     55    /// Constructor.
     56    ///
     57    EnsembleBuilder(const SupervisedClassifier&, const Sampler&,
     58                    FeatureSelector&);
    5259
    5360    ///
Note: See TracChangeset for help on using the changeset viewer.