#include <SDBVMat.h>
Inheritance diagram for PLearn::SDBVMFieldFunc1:
Public Member Functions | |
SDBVMFieldFunc1 (SDBVMSource source, Func func, real missing_values_mapping=MISSING_VALUE) | |
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 | |
Func | func_ |
Private Types | |
typedef SDBVMFieldSource1 | inherited |
Definition at line 454 of file SDBVMat.h.
|
Reimplemented from PLearn::SDBVMFieldSource1. |
|
|
|
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 404 of file SDBVMat.cc. References func_, PLearn::SDBVMSource::getValue(), and PLearn::Vec. |
|
Width that the field occupies in the VMat.
Implements PLearn::SDBVMField. Definition at line 413 of file SDBVMat.cc. References func_. |
|
Definition at line 469 of file SDBVMat.h. Referenced by convertField(), and fieldWidth(). |