#include <SDBVMat.h>
Inheritance diagram for PLearn::SDBVMFieldICBCClassification:
Public Member Functions | |
SDBVMFieldICBCClassification (Schema schema, const string &fieldname="", const string &tmap_file="") | |
virtual void | convertField (const SDBWithStats &sdb, const Row &row, const Vec &output) const |
virtual int | fieldWidth () const |
Width that the field occupies in the VMat. | |
Protected Attributes | |
SDBVMSource | bodily_injury_incurred_ |
SDBVMSource | property_damage_incurred_ |
SDBVMSource | accident_death_incurred_ |
SDBVMSource | collision_lou_incurred_ |
SDBVMSource | comprehensive_incurred_ |
FieldPtr | policy_start_date_ |
string | fieldname_ |
int | threshold |
Private Types | |
typedef SDBVMField | inherited |
|
Definition at line 1086 of file SDBVMat.h. Referenced by SDBVMFieldICBCClassification(). |
|
Definition at line 1232 of file SDBVMat.cc. |
|
Given a database row, convert the appropriate parts to a (preallocated) output vector of the correct width (given by fieldWidth). Replace MISSING_VALUEs by missing_values_mapping. Implements PLearn::SDBVMField. Definition at line 1264 of file SDBVMat.cc. References accident_death_incurred_, bodily_injury_incurred_, collision_lou_incurred_, comprehensive_incurred_, fieldname_, PLearn::SDBVMSource::getValue(), PLearn::ICBCpartition(), property_damage_incurred_, PLearn::TVec< T >::resize(), threshold, and PLearn::Vec. |
|
Width that the field occupies in the VMat.
Implements PLearn::SDBVMField. |
|
Definition at line 1100 of file SDBVMat.h. Referenced by convertField(). |
|
Definition at line 1098 of file SDBVMat.h. Referenced by convertField(). |
|
Definition at line 1101 of file SDBVMat.h. Referenced by convertField(). |
|
Definition at line 1102 of file SDBVMat.h. Referenced by convertField(). |
|
Definition at line 1104 of file SDBVMat.h. Referenced by convertField(). |
|
|
|
Definition at line 1099 of file SDBVMat.h. Referenced by convertField(). |
|
Definition at line 1105 of file SDBVMat.h. Referenced by convertField(), and SDBVMFieldICBCClassification(). |