Changeset 642


Ignore:
Timestamp:
Sep 7, 2006, 11:13:43 AM (15 years ago)
Author:
Peter
Message:

adding class for selecting features by random

Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/c++_tools/classifier/FeatureSelector.h

    r624 r642  
    2222    /// @brief Default Constructor
    2323    ///
    24     FeatureSelector(size_t, size_t);
     24    FeatureSelector(size_t N, size_t skip=0);
    2525
    2626    ///
  • trunk/c++_tools/classifier/Makefile.am

    r628 r642  
    3333  FeatureSelector.cc \
    3434  FeatureSelectorIR.cc \
     35  FeatureSelectorRandom.cc \
    3536  GaussianKernelFunction.cc \
    3637  IGP.cc \
     
    6364  FeatureSelector.h \
    6465  FeatureSelectorIR.h \
     66  FeatureSelectorRandom.h \
    6567  GaussianKernelFunction.h \
    6668  IGP.h \
  • trunk/doc/doxygen.config

    r577 r642  
    142142# to NO the shortest path that makes the file name unique will be used.
    143143
    144 FULL_PATH_NAMES        = NO
     144FULL_PATH_NAMES        = YES
    145145
    146146# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
     
    149149# the path. It is allowed to use relative paths in the argument list.
    150150
    151 STRIP_FROM_PATH        =
     151STRIP_FROM_PATH        = ../
    152152
    153153# The INTERNAL_DOCS tag determines if documentation
  • trunk/test/feature_selection_test.cc

    r605 r642  
    22
    33#include <c++_tools/classifier/FeatureSelectorIR.h>
     4#include <c++_tools/classifier/FeatureSelectorRandom.h>
    45#include <c++_tools/statistics/ROC.h>
    56
     
    2526  statistics::ROC roc;
    2627  classifier::FeatureSelectorIR f(roc, 12);
     28  classifier::FeatureSelectorRandom f2(12);
    2729
    2830  if (ok)
Note: See TracChangeset for help on using the changeset viewer.