Ignore:
Timestamp:
Mar 10, 2006, 4:58:16 PM (18 years ago)
Author:
Peter
Message:

ConsensusInputRanker? now supports weights

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/CrossSplitter.h

    r541 r558  
    150150    { assert(more()); return *(validation_weight_[state_]); }
    151151
     152    ///
     153    /// @return true if weighted
     154    ///
     155    inline bool weighted(void) const { return weighted_; }
     156
    152157  private:
    153158    void build(const Target& target, size_t N, size_t k);
     
    156161    u_long state_;
    157162    Target target_;
     163    const bool weighted_;
    158164   
    159165    std::vector<const DataLookup2D*> training_data_;
Note: See TracChangeset for help on using the changeset viewer.