bagging.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #ifndef __LEMGA_AGGREGATING_BAGGING_H__
00003 #define __LEMGA_AGGREGATING_BAGGING_H__
00004 
00011 #include "aggregating.h"
00012 
00013 namespace lemga {
00014 
00020 class Bagging : public Aggregating {
00021 public:
00022     explicit Bagging (UINT max = 0);
00023     explicit Bagging (std::istream& is) { is >> *this; }
00024 
00025     virtual const id_t& id () const;
00026     virtual Bagging* create () const { return new Bagging(); }
00027     virtual Bagging* clone () const { return new Bagging(*this); }
00028 
00029     virtual bool support_weighted_data () const { return true; }
00030     virtual REAL train ();
00031     virtual Output operator() (const Input&) const;
00032 };
00033 
00034 } // namespace lemga
00035 
00036 #ifdef  __BAGGING_H__
00037 #warning "This header file may conflict with another `bagging.h' file."
00038 #endif
00039 #define __BAGGING_H__
00040 #endif

Generated on Mon Jan 9 23:43:23 2006 for LEMGA by  doxygen 1.4.6