Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::FieldConvertCommand Class Reference

#include <FieldConvertCommand.h>

Inheritance diagram for PLearn::FieldConvertCommand:

Inheritance graph
[legend]
Collaboration diagram for PLearn::FieldConvertCommand:

Collaboration graph
[legend]
List of all members.

Public Types

enum  FieldType {
  binary, constant, continuous, discrete_corr,
  discrete_uncorr, skip, unknown
}
 The available types for a field. More...


Public Member Functions

 FieldConvertCommand ()
 Default empty constructor.

virtual void run (const vector< string > &args)

Protected Member Functions

FieldType stringToFieldType (string s)

Protected Attributes

real DISCRETE_TOLERANCE
real UNIQUE_NMISSING_FRACTION_TO_ASSUME_CONTINUOUS
real PVALUE_THRESHOLD
real FRAC_MISSING_TO_SKIP
real FRAC_ENOUGH
string source_fn
string desti_fn
string force_fn
string report_fn
string precompute
int target
FieldType type

Static Protected Attributes

PLearnCommandRegistry reg_
 This allows to register the 'FieldConvertCommand' command in the command registry.


Member Enumeration Documentation

enum PLearn::FieldConvertCommand::FieldType
 

The available types for a field.

Enumeration values:
binary 
constant 
continuous 
discrete_corr 
discrete_uncorr 
skip 
unknown 

Definition at line 55 of file FieldConvertCommand.h.

Referenced by stringToFieldType().


Constructor & Destructor Documentation

FieldConvertCommand::FieldConvertCommand  ) 
 

Default empty constructor.

Definition at line 59 of file FieldConvertCommand.cc.

References PLearn::add(), PLearn::correlation(), PLearn::difference(), PLearn::minus(), PLearn::normal(), PLearn::onehot(), PLearn::usage(), and PLearn::use().


Member Function Documentation

void FieldConvertCommand::run const vector< string > &  args  )  [virtual]
 

Implements PLearn::PLearnCommand.

Definition at line 110 of file FieldConvertCommand.cc.

PLearn::FieldConvertCommand::FieldType FieldConvertCommand::stringToFieldType string  s  )  [protected]
 

Definition at line 708 of file FieldConvertCommand.cc.

References binary, constant, discrete_corr, discrete_uncorr, FieldType, and PLERROR.


Member Data Documentation

string PLearn::FieldConvertCommand::desti_fn [protected]
 

Definition at line 79 of file FieldConvertCommand.h.

real PLearn::FieldConvertCommand::DISCRETE_TOLERANCE [protected]
 

Definition at line 74 of file FieldConvertCommand.h.

string PLearn::FieldConvertCommand::force_fn [protected]
 

Definition at line 79 of file FieldConvertCommand.h.

real PLearn::FieldConvertCommand::FRAC_ENOUGH [protected]
 

Definition at line 78 of file FieldConvertCommand.h.

real PLearn::FieldConvertCommand::FRAC_MISSING_TO_SKIP [protected]
 

Definition at line 77 of file FieldConvertCommand.h.

string PLearn::FieldConvertCommand::precompute [protected]
 

Definition at line 80 of file FieldConvertCommand.h.

real PLearn::FieldConvertCommand::PVALUE_THRESHOLD [protected]
 

Definition at line 76 of file FieldConvertCommand.h.

PLearnCommandRegistry FieldConvertCommand::reg_ [static, protected]
 

This allows to register the 'FieldConvertCommand' command in the command registry.

string PLearn::FieldConvertCommand::report_fn [protected]
 

Definition at line 79 of file FieldConvertCommand.h.

string PLearn::FieldConvertCommand::source_fn [protected]
 

Definition at line 79 of file FieldConvertCommand.h.

int PLearn::FieldConvertCommand::target [protected]
 

Definition at line 81 of file FieldConvertCommand.h.

FieldType PLearn::FieldConvertCommand::type [protected]
 

Definition at line 82 of file FieldConvertCommand.h.

real PLearn::FieldConvertCommand::UNIQUE_NMISSING_FRACTION_TO_ASSUME_CONTINUOUS [protected]
 

Definition at line 75 of file FieldConvertCommand.h.


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:28:02 2004 for PLearn by doxygen 1.3.7