PLearn 0.1
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Types | Private Member Functions
PLearn::SourceVMatrix Class Reference

#include <SourceVMatrix.h>

Inherits PLearn::RowBufferedVMatrix.

Inherited by PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::CenteredVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::PythonProcessedVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RepeatVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::ThresholdVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Collaboration diagram for PLearn::SourceVMatrix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SourceVMatrix (bool call_build_=false)
 SourceVMatrix (VMat the_source, bool call_build_=false)
 SourceVMatrix (VMat the_source, int the_length, int the_width, bool call_build_=false)
virtual void setMetaDataDir (const PPath &the_metadatadir)
 Also sets the source's meta-data dir if it's not already set.
virtual void build ()
 Simply calls inherited::build() then build_().
virtual void makeDeepCopyFromShallowCopy (CopiesMap &copies)
 Transforms a shallow copy into a deep copy.
virtual string classname () const
virtual OptionListgetOptionList () const
virtual OptionMapgetOptionMap () const
virtual RemoteMethodMapgetRemoteMethodMap () const
virtual SourceVMatrixdeepCopy (CopiesMap &copies) const
virtual PP< DictionarygetDictionary (int col) const
 Return the Dictionary object for a certain field, or a null pointer if there isn't one.
virtual void getValues (int row, int col, Vec &values) const
 Gives the possible values for a certain field in the VMatrix.
virtual void getValues (const Vec &input, int col, Vec &values) const
 Gives the possible values of a certain field (column) given the input.

Static Public Member Functions

static string _classname_ ()
 Declares name and deepCopy methods.
static OptionList_getOptionList_ ()
static RemoteMethodMap_getRemoteMethodMap_ ()
static Object_new_instance_for_typemap_ ()
static bool _isa_ (const Object *o)
static void _static_initialize_ ()
static const PPathdeclaringFile ()

Public Attributes

VMat source
bool deep_copy_source

Static Public Attributes

static StaticInitializer _static_initializer_

Protected Member Functions

void setMetaInfoFromSource ()
 Call setMetaInfoFrom(source) to get all unset meta info from 'source'.
virtual void getNewRow (int i, const Vec &v) const
 Must be implemented in subclasses: default version returns an error.

Static Protected Member Functions

static void declareOptions (OptionList &ol)
 Declares this class' options.

Protected Attributes

Vec sourcerow
 To be used in subclasses for convenience.

Private Types

typedef RowBufferedVMatrix inherited

Private Member Functions

void build_ ()
 This does the actual building.

Detailed Description

Definition at line 61 of file SourceVMatrix.h.


Member Typedef Documentation

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::ThresholdVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 66 of file SourceVMatrix.h.


Constructor & Destructor Documentation

PLearn::SourceVMatrix::SourceVMatrix ( bool  call_build_ = false)

Definition at line 52 of file SourceVMatrix.cc.

References build_().

    : inherited(call_build_),
      deep_copy_source(true)
{
    if( call_build_ )
        build_();
}

Here is the call graph for this function:

PLearn::SourceVMatrix::SourceVMatrix ( VMat  the_source,
bool  call_build_ = false 
)

Definition at line 60 of file SourceVMatrix.cc.

References build_().

    : inherited(call_build_),
      source(the_source),
      deep_copy_source(true)
{
    if( call_build_ )
        build_();
}

Here is the call graph for this function:

PLearn::SourceVMatrix::SourceVMatrix ( VMat  the_source,
int  the_length,
int  the_width,
bool  call_build_ = false 
)

Definition at line 69 of file SourceVMatrix.cc.

References build_().

    : inherited(the_length, the_width, call_build_),
      source(the_source),
      deep_copy_source(true)
{
    if( call_build_ )
        build_();
}

Here is the call graph for this function:


Member Function Documentation

string PLearn::SourceVMatrix::_classname_ ( ) [static]

Declares name and deepCopy methods.

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

OptionList & PLearn::SourceVMatrix::_getOptionList_ ( ) [static]

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

RemoteMethodMap & PLearn::SourceVMatrix::_getRemoteMethodMap_ ( ) [static]

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

Referenced by PLearn::GaussianizeVMatrix::declareMethods().

Here is the caller graph for this function:

bool PLearn::SourceVMatrix::_isa_ ( const Object o) [static]

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

Object * PLearn::SourceVMatrix::_new_instance_for_typemap_ ( ) [static]

Reimplemented from PLearn::Object.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

StaticInitializer SourceVMatrix::_static_initializer_ & PLearn::SourceVMatrix::_static_initialize_ ( ) [static]

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

void PLearn::SourceVMatrix::build ( ) [virtual]

Simply calls inherited::build() then build_().

Reimplemented from PLearn::VMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 150 of file SourceVMatrix.cc.

References PLearn::VMatrix::build(), and build_().

Referenced by PLearn::ViewSplitterVMatrix::build(), PLearn::VecExtendedVMatrix::build(), PLearn::UpsideDownVMatrix::build(), PLearn::UniformizeVMatrix::build(), PLearn::TemporalHorizonVMatrix::build(), PLearn::SubVMatrix::build(), PLearn::SubInputVMatrix::build(), PLearn::StochasticBinarizeVMatrix::build(), PLearn::ShiftAndRescaleVMatrix::build(), PLearn::SeparateInputVMatrix::build(), PLearn::SelectRowsVMatrix::build(), PLearn::SelectRowsMultiInstanceVMatrix::build(), PLearn::SelectColumnsVMatrix::build(), PLearn::RowsSubVMatrix::build(), PLearn::RepeatVMatrix::build(), PLearn::RemapLastColumnVMatrix::build(), PLearn::ReIndexedTargetVMatrix::build(), PLearn::RealFunctionsProcessedVMatrix::build(), PLearn::RankedVMatrix::build(), PLearn::RandomSamplesVMatrix::build(), PLearn::RandomNeighborsDifferencesVMatrix::build(), PLearn::PythonProcessedVMatrix::build(), PLearn::PutSubVMatrix::build(), PLearn::ProcessSymbolicSequenceVMatrix::build(), PLearn::ProcessingVMatrix::build(), PLearn::PrecomputedVMatrix::build(), PLearn::PLearnerOutputVMatrix::build(), PLearn::OneVsAllVMatrix::build(), PLearn::OneHotVMatrix::build(), PLearn::MultiTargetOneHotVMatrix::build(), PLearn::MovingAverageVMatrix::build(), PLearn::MixUnlabeledNeighbourVMatrix::build(), PLearn::MissingInstructionVMatrix::build(), PLearn::MeanImputationVMatrix::build(), PLearn::LocalNeighborsDifferencesVMatrix::build(), PLearn::LemmatizeVMatrix::build(), PLearn::KNNVMatrix::build(), PLearn::KNNImputationVMatrix::build(), PLearn::JulianizeVMatrix::build(), PLearn::IndexedVMatrix::build(), PLearn::GeneralizedOneHotVMatrix::build(), PLearn::GaussianizeVMatrix::build(), PLearn::FinancePreprocVMatrix::build(), PLearn::FilteredVMatrix::build(), PLearn::ExtendedVMatrix::build(), PLearn::EncodedVMatrix::build(), PLearn::DichotomizeVMatrix::build(), PLearn::CumVMatrix::build(), PLearn::ConcatRowsSubVMatrix::build(), PLearn::AppendNeighborsVMatrix::build(), PLearn::AddMissingVMatrix::build(), and PLearn::AddBagInformationVMatrix::build().

Here is the call graph for this function:

void PLearn::SourceVMatrix::build_ ( ) [private]

This does the actual building.

Reimplemented from PLearn::VMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 133 of file SourceVMatrix.cc.

Referenced by build(), and SourceVMatrix().

{
    /*
      for(int k=0; k<dependencies.size(); k++)
      updateMtime(dependencies[k]);
    */
}

Here is the caller graph for this function:

string PLearn::SourceVMatrix::classname ( ) const [virtual]

Reimplemented from PLearn::Object.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

void PLearn::SourceVMatrix::declareOptions ( OptionList ol) [static, protected]

Declares this class' options.

Reimplemented from PLearn::VMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 112 of file SourceVMatrix.cc.

References PLearn::OptionBase::buildoption, PLearn::declareOption(), PLearn::VMatrix::declareOptions(), deep_copy_source, and source.

Referenced by PLearn::ViewSplitterVMatrix::declareOptions(), PLearn::VecExtendedVMatrix::declareOptions(), PLearn::UpsideDownVMatrix::declareOptions(), PLearn::UniformizeVMatrix::declareOptions(), PLearn::TemporalHorizonVMatrix::declareOptions(), PLearn::SubVMatrix::declareOptions(), PLearn::SubInputVMatrix::declareOptions(), PLearn::StochasticBinarizeVMatrix::declareOptions(), PLearn::ShiftAndRescaleVMatrix::declareOptions(), PLearn::SeparateInputVMatrix::declareOptions(), PLearn::SelectRowsVMatrix::declareOptions(), PLearn::SelectRowsMultiInstanceVMatrix::declareOptions(), PLearn::SelectColumnsVMatrix::declareOptions(), PLearn::RowsSubVMatrix::declareOptions(), PLearn::RepeatVMatrix::declareOptions(), PLearn::RemapLastColumnVMatrix::declareOptions(), PLearn::ReIndexedTargetVMatrix::declareOptions(), PLearn::RealFunctionsProcessedVMatrix::declareOptions(), PLearn::RankedVMatrix::declareOptions(), PLearn::RandomSamplesVMatrix::declareOptions(), PLearn::RandomNeighborsDifferencesVMatrix::declareOptions(), PLearn::PythonProcessedVMatrix::declareOptions(), PLearn::PutSubVMatrix::declareOptions(), PLearn::ProcessSymbolicSequenceVMatrix::declareOptions(), PLearn::ProcessingVMatrix::declareOptions(), PLearn::PrecomputedVMatrix::declareOptions(), PLearn::PLearnerOutputVMatrix::declareOptions(), PLearn::OneVsAllVMatrix::declareOptions(), PLearn::OneHotVMatrix::declareOptions(), PLearn::MultiTargetOneHotVMatrix::declareOptions(), PLearn::MovingAverageVMatrix::declareOptions(), PLearn::MixUnlabeledNeighbourVMatrix::declareOptions(), PLearn::MissingInstructionVMatrix::declareOptions(), PLearn::MeanImputationVMatrix::declareOptions(), PLearn::LocalNeighborsDifferencesVMatrix::declareOptions(), PLearn::LemmatizeVMatrix::declareOptions(), PLearn::KNNVMatrix::declareOptions(), PLearn::KNNImputationVMatrix::declareOptions(), PLearn::JulianizeVMatrix::declareOptions(), PLearn::IndexedVMatrix::declareOptions(), PLearn::GeneralizedOneHotVMatrix::declareOptions(), PLearn::GaussianizeVMatrix::declareOptions(), PLearn::FinancePreprocVMatrix::declareOptions(), PLearn::FilteredVMatrix::declareOptions(), PLearn::ExtendedVMatrix::declareOptions(), PLearn::EncodedVMatrix::declareOptions(), PLearn::DichotomizeVMatrix::declareOptions(), PLearn::CumVMatrix::declareOptions(), PLearn::ConcatRowsSubVMatrix::declareOptions(), PLearn::AppendNeighborsVMatrix::declareOptions(), PLearn::AddMissingVMatrix::declareOptions(), and PLearn::AddBagInformationVMatrix::declareOptions().

{
    declareOption(ol, "source", &SourceVMatrix::source, OptionBase::buildoption,
                  "The source VMatrix");

    declareOption(ol, "deep_copy_source", &SourceVMatrix::deep_copy_source,
                  OptionBase::buildoption,
                  "If True, we make a deep copy of the source.");
    /*
      declareOption(ol, "dependencies", &SourceVMatrix::dependencies, OptionBase::buildoption,
      "a list of paths to files that this VMat depends on. \n"
      "This vmat's mtime will initially be set to the latest of \n"
      "the last modification times of its dependencies. \n"
      "The mtime of its source will also be taken into account \n"
      "generally later, when setMetaInfoFromSource gets called \n");
    */

    // Now call the parent class' declareOptions
    inherited::declareOptions(ol);
}

Here is the call graph for this function:

static const PPath& PLearn::SourceVMatrix::declaringFile ( ) [inline, static]

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 143 of file SourceVMatrix.h.

SourceVMatrix * PLearn::SourceVMatrix::deepCopy ( CopiesMap copies) const [virtual]

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

PP< Dictionary > PLearn::SourceVMatrix::getDictionary ( int  col) const [virtual]

Return the Dictionary object for a certain field, or a null pointer if there isn't one.

Reimplemented from PLearn::VMatrix.

Reimplemented in PLearn::AddMissingVMatrix, PLearn::LemmatizeVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsVMatrix, and PLearn::SubVMatrix.

Definition at line 171 of file SourceVMatrix.cc.

References source.

{
    return source->getDictionary(col);
}
void PLearn::SourceVMatrix::getNewRow ( int  i,
const Vec v 
) const [protected, virtual]

Must be implemented in subclasses: default version returns an error.

Implements PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::CenteredVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RepeatVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::ThresholdVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 167 of file SourceVMatrix.cc.

References PLERROR.

                                                       {
    PLERROR("In SourceVMatrix::getNewRow - getNewRow not implemented for this subclass of SourceVMatrix");
}
OptionList & PLearn::SourceVMatrix::getOptionList ( ) const [virtual]

Reimplemented from PLearn::Object.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

OptionMap & PLearn::SourceVMatrix::getOptionMap ( ) const [virtual]

Reimplemented from PLearn::Object.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

RemoteMethodMap & PLearn::SourceVMatrix::getRemoteMethodMap ( ) const [virtual]

Reimplemented from PLearn::Object.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 82 of file SourceVMatrix.cc.

void PLearn::SourceVMatrix::getValues ( int  row,
int  col,
Vec values 
) const [virtual]

Gives the possible values for a certain field in the VMatrix.

Reimplemented from PLearn::VMatrix.

Reimplemented in PLearn::AddMissingVMatrix, PLearn::LemmatizeVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsVMatrix, and PLearn::SubVMatrix.

Definition at line 176 of file SourceVMatrix.cc.

References source.

{
    source->getValues(row,col,values);
}
void PLearn::SourceVMatrix::getValues ( const Vec input,
int  col,
Vec values 
) const [virtual]

Gives the possible values of a certain field (column) given the input.

Reimplemented from PLearn::VMatrix.

Reimplemented in PLearn::AddMissingVMatrix, PLearn::LemmatizeVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsVMatrix, and PLearn::SubVMatrix.

Definition at line 181 of file SourceVMatrix.cc.

References source.

{
    source->getValues(input,col,values);
}
void PLearn::SourceVMatrix::makeDeepCopyFromShallowCopy ( CopiesMap copies) [virtual]

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 156 of file SourceVMatrix.cc.

References deep_copy_source, PLearn::deepCopyField(), PLearn::RowBufferedVMatrix::makeDeepCopyFromShallowCopy(), source, and sourcerow.

Referenced by PLearn::ViewSplitterVMatrix::makeDeepCopyFromShallowCopy(), PLearn::UpsideDownVMatrix::makeDeepCopyFromShallowCopy(), PLearn::UniformizeVMatrix::makeDeepCopyFromShallowCopy(), PLearn::TemporalHorizonVMatrix::makeDeepCopyFromShallowCopy(), PLearn::SubVMatrix::makeDeepCopyFromShallowCopy(), PLearn::SubInputVMatrix::makeDeepCopyFromShallowCopy(), PLearn::StochasticBinarizeVMatrix::makeDeepCopyFromShallowCopy(), PLearn::ShiftAndRescaleVMatrix::makeDeepCopyFromShallowCopy(), PLearn::SeparateInputVMatrix::makeDeepCopyFromShallowCopy(), PLearn::SelectRowsVMatrix::makeDeepCopyFromShallowCopy(), PLearn::SelectRowsMultiInstanceVMatrix::makeDeepCopyFromShallowCopy(), PLearn::SelectColumnsVMatrix::makeDeepCopyFromShallowCopy(), PLearn::RowsSubVMatrix::makeDeepCopyFromShallowCopy(), PLearn::RepeatVMatrix::makeDeepCopyFromShallowCopy(), PLearn::ReIndexedTargetVMatrix::makeDeepCopyFromShallowCopy(), PLearn::RealFunctionsProcessedVMatrix::makeDeepCopyFromShallowCopy(), PLearn::RankedVMatrix::makeDeepCopyFromShallowCopy(), PLearn::RandomSamplesVMatrix::makeDeepCopyFromShallowCopy(), PLearn::RandomNeighborsDifferencesVMatrix::makeDeepCopyFromShallowCopy(), PLearn::PythonProcessedVMatrix::makeDeepCopyFromShallowCopy(), PLearn::PutSubVMatrix::makeDeepCopyFromShallowCopy(), PLearn::ProcessSymbolicSequenceVMatrix::makeDeepCopyFromShallowCopy(), PLearn::ProcessingVMatrix::makeDeepCopyFromShallowCopy(), PLearn::PrecomputedVMatrix::makeDeepCopyFromShallowCopy(), PLearn::PLearnerOutputVMatrix::makeDeepCopyFromShallowCopy(), PLearn::OneVsAllVMatrix::makeDeepCopyFromShallowCopy(), PLearn::MultiTargetOneHotVMatrix::makeDeepCopyFromShallowCopy(), PLearn::MovingAverageVMatrix::makeDeepCopyFromShallowCopy(), PLearn::MixUnlabeledNeighbourVMatrix::makeDeepCopyFromShallowCopy(), PLearn::MissingInstructionVMatrix::makeDeepCopyFromShallowCopy(), PLearn::MeanImputationVMatrix::makeDeepCopyFromShallowCopy(), PLearn::LocalNeighborsDifferencesVMatrix::makeDeepCopyFromShallowCopy(), PLearn::LemmatizeVMatrix::makeDeepCopyFromShallowCopy(), PLearn::KNNVMatrix::makeDeepCopyFromShallowCopy(), PLearn::KNNImputationVMatrix::makeDeepCopyFromShallowCopy(), PLearn::JulianizeVMatrix::makeDeepCopyFromShallowCopy(), PLearn::IndexedVMatrix::makeDeepCopyFromShallowCopy(), PLearn::GeneralizedOneHotVMatrix::makeDeepCopyFromShallowCopy(), PLearn::GaussianizeVMatrix::makeDeepCopyFromShallowCopy(), PLearn::FinancePreprocVMatrix::makeDeepCopyFromShallowCopy(), PLearn::FilteredVMatrix::makeDeepCopyFromShallowCopy(), PLearn::ExtendedVMatrix::makeDeepCopyFromShallowCopy(), PLearn::EncodedVMatrix::makeDeepCopyFromShallowCopy(), PLearn::DichotomizeVMatrix::makeDeepCopyFromShallowCopy(), PLearn::CumVMatrix::makeDeepCopyFromShallowCopy(), PLearn::AppendNeighborsVMatrix::makeDeepCopyFromShallowCopy(), PLearn::AddMissingVMatrix::makeDeepCopyFromShallowCopy(), and PLearn::AddBagInformationVMatrix::makeDeepCopyFromShallowCopy().

Here is the call graph for this function:

Here is the caller graph for this function:

void PLearn::SourceVMatrix::setMetaDataDir ( const PPath the_metadatadir) [virtual]

Also sets the source's meta-data dir if it's not already set.

If there are fields that have no corresponding .smap .notes or .binning info files but the source has those files for a field with the same name, then those of the source will be set also for this vmatrix.

Reimplemented from PLearn::VMatrix.

Reimplemented in PLearn::FilteredVMatrix, PLearn::GaussianizeVMatrix, and PLearn::PrecomputedVMatrix.

Definition at line 84 of file SourceVMatrix.cc.

References PLearn::VMatrix::fieldName(), PLearn::VMatrix::getSFIFFilename(), PLearn::VMatrix::hasFieldInfos(), PLearn::isdir(), PLearn::isfile(), j, PLearn::VMatrix::setMetaDataDir(), PLearn::VMatrix::setSFIFFilename(), source, and PLearn::VMatrix::width_.

Referenced by PLearn::SubVMatrix::build_(), PLearn::PrecomputedVMatrix::setMetaDataDir(), PLearn::GaussianizeVMatrix::setMetaDataDir(), and PLearn::FilteredVMatrix::setMetaDataDir().

{
    inherited::setMetaDataDir(the_metadatadir);

    if (!source)
        return;

    if(!source->hasMetaDataDir())
        source->setMetaDataDir(the_metadatadir/"Source");

    // Set mapping and info files from source if not set
    if(isdir(source->getSFIFDirectory()) && hasFieldInfos())
    {
        for(int j=0; j<width_; j++)
        {
            string fnam = fieldName(j);
            if(!isfile(getSFIFFilename(fnam,".smap")) && isfile(source->getSFIFFilename(fnam,".smap")))
                setSFIFFilename(fnam, ".smap", source->getSFIFFilename(fnam,".smap"));

            if(!isfile(getSFIFFilename(fnam,".notes")) && isfile(source->getSFIFFilename(fnam,".notes")))
                setSFIFFilename(fnam, ".notes", source->getSFIFFilename(fnam,".notes"));

            if(!isfile(getSFIFFilename(fnam,".binning")) && isfile(source->getSFIFFilename(fnam,".binning")))
                setSFIFFilename(fnam, ".binning", source->getSFIFFilename(fnam,".binning"));
        }
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void PLearn::SourceVMatrix::setMetaInfoFromSource ( ) [protected]

Call setMetaInfoFrom(source) to get all unset meta info from 'source'.

This method is mostly to simplify writing subclass' build_ method, which may call it after first setting the fields that it doesn't want copied from the source.

Definition at line 144 of file SourceVMatrix.cc.

References PLearn::VMatrix::setMetaInfoFrom(), and source.

Referenced by PLearn::MeanImputationVMatrix::build_(), PLearn::MissingInstructionVMatrix::build_(), PLearn::RemapLastColumnVMatrix::build_(), PLearn::SelectRowsMultiInstanceVMatrix::build_(), PLearn::UniformizeVMatrix::build_(), PLearn::GaussianizeVMatrix::build_(), PLearn::KNNVMatrix::build_(), PLearn::ProcessingVMatrix::build_(), PLearn::PythonProcessedVMatrix::build_(), PLearn::UpsideDownVMatrix::build_(), PLearn::AddBagInformationVMatrix::build_(), PLearn::ExtendedVMatrix::build_(), PLearn::StochasticBinarizeVMatrix::build_(), PLearn::MixUnlabeledNeighbourVMatrix::build_(), PLearn::RankedVMatrix::build_(), PLearn::RandomSamplesVMatrix::build_(), PLearn::JulianizeVMatrix::build_(), PLearn::OneVsAllVMatrix::build_(), PLearn::PutSubVMatrix::build_(), PLearn::SubInputVMatrix::build_(), PLearn::IndexedVMatrix::build_(), PLearn::ReIndexedTargetVMatrix::build_(), PLearn::FilteredVMatrix::build_(), PLearn::FinancePreprocVMatrix::build_(), PLearn::PrecomputedVMatrix::build_(), PLearn::GeneralizedOneHotVMatrix::build_(), PLearn::OneHotVMatrix::build_(), PLearn::RowsSubVMatrix::build_(), PLearn::AddMissingVMatrix::build_(), PLearn::KNNImputationVMatrix::build_(), PLearn::ShiftAndRescaleVMatrix::build_(), PLearn::RepeatVMatrix::build_(), PLearn::FilteredVMatrix::setMetaDataDir(), and PLearn::PrecomputedVMatrix::setMetaDataDir().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Reimplemented from PLearn::RowBufferedVMatrix.

Reimplemented in PLearn::PythonProcessedVMatrix, PLearn::AddBagInformationVMatrix, PLearn::AddMissingVMatrix, PLearn::AppendNeighborsVMatrix, PLearn::BootstrapVMatrix, PLearn::CenteredVMatrix, PLearn::ClassSubsetVMatrix, PLearn::ConcatRowsSubVMatrix, PLearn::CumVMatrix, PLearn::DichotomizeVMatrix, PLearn::DisregardRowsVMatrix, PLearn::EncodedVMatrix, PLearn::ExtendedVMatrix, PLearn::FilteredVMatrix, PLearn::FinancePreprocVMatrix, PLearn::GaussianizeVMatrix, PLearn::GeneralizedOneHotVMatrix, PLearn::GetInputVMatrix, PLearn::IndexedVMatrix, PLearn::JulianizeVMatrix, PLearn::KNNImputationVMatrix, PLearn::KNNVMatrix, PLearn::LemmatizeVMatrix, PLearn::LocallyPrecomputedVMatrix, PLearn::LocalNeighborsDifferencesVMatrix, PLearn::MeanImputationVMatrix, PLearn::MissingInstructionVMatrix, PLearn::MixUnlabeledNeighbourVMatrix, PLearn::MovingAverageVMatrix, PLearn::MultiTargetOneHotVMatrix, PLearn::MultiToUniInstanceSelectRandomVMatrix, PLearn::OneHotVMatrix, PLearn::OneVsAllVMatrix, PLearn::PLearnerOutputVMatrix, PLearn::PrecomputedVMatrix, PLearn::ProcessingVMatrix, PLearn::ProcessSymbolicSequenceVMatrix, PLearn::PutSubVMatrix, PLearn::RandomNeighborsDifferencesVMatrix, PLearn::RandomSamplesVMatrix, PLearn::RankedVMatrix, PLearn::RealFunctionsProcessedVMatrix, PLearn::ReIndexedTargetVMatrix, PLearn::RemapLastColumnVMatrix, PLearn::RemoveDuplicateVMatrix, PLearn::ReorderByMissingVMatrix, PLearn::RepeatVMatrix, PLearn::ReplicateSamplesVMatrix, PLearn::RowsSubVMatrix, PLearn::SelectColumnsVMatrix, PLearn::SelectRowsMultiInstanceVMatrix, PLearn::SelectRowsVMatrix, PLearn::SeparateInputVMatrix, PLearn::ShiftAndRescaleVMatrix, PLearn::ShuffleColumnsVMatrix, PLearn::SortRowsVMatrix, PLearn::StochasticBinarizeVMatrix, PLearn::SubInputVMatrix, PLearn::SubVMatrix, PLearn::TemporalHorizonVMatrix, PLearn::TransposeVMatrix, PLearn::UniformizeVMatrix, PLearn::UpsideDownVMatrix, PLearn::ValueSelectRowsVMatrix, PLearn::VariableDeletionVMatrix, PLearn::VecExtendedVMatrix, and PLearn::ViewSplitterVMatrix.

Definition at line 143 of file SourceVMatrix.h.

Definition at line 88 of file SourceVMatrix.h.

Referenced by declareOptions(), and makeDeepCopyFromShallowCopy().

Definition at line 86 of file SourceVMatrix.h.

Referenced by PLearn::add_missing(), PLearn::append_neighbors(), PLearn::BootstrapVMatrix::BootstrapVMatrix(), PLearn::ViewSplitterVMatrix::build_(), PLearn::VecExtendedVMatrix::build_(), PLearn::VariableDeletionVMatrix::build_(), PLearn::UpsideDownVMatrix::build_(), PLearn::UniformizeVMatrix::build_(), PLearn::TemporalHorizonVMatrix::build_(), PLearn::SubVMatrix::build_(), PLearn::SubInputVMatrix::build_(), PLearn::StochasticBinarizeVMatrix::build_(), PLearn::SortRowsVMatrix::build_(), PLearn::ShuffleColumnsVMatrix::build_(), PLearn::ShiftAndRescaleVMatrix::build_(), PLearn::SeparateInputVMatrix::build_(), PLearn::SelectRowsVMatrix::build_(), PLearn::SelectRowsMultiInstanceVMatrix::build_(), PLearn::SelectColumnsVMatrix::build_(), PLearn::RowsSubVMatrix::build_(), PLearn::ReplicateSamplesVMatrix::build_(), PLearn::RepeatVMatrix::build_(), PLearn::ReorderByMissingVMatrix::build_(), PLearn::RemoveDuplicateVMatrix::build_(), PLearn::RemapLastColumnVMatrix::build_(), PLearn::RealFunctionsProcessedVMatrix::build_(), PLearn::RankedVMatrix::build_(), PLearn::RandomSamplesVMatrix::build_(), PLearn::RandomNeighborsDifferencesVMatrix::build_(), PLearn::PythonProcessedVMatrix::build_(), PLearn::PutSubVMatrix::build_(), PLearn::ProcessSymbolicSequenceVMatrix::build_(), PLearn::ProcessingVMatrix::build_(), PLearn::PrecomputedVMatrix::build_(), PLearn::PLearnerOutputVMatrix::build_(), PLearn::OneVsAllVMatrix::build_(), PLearn::OneHotVMatrix::build_(), PLearn::MultiToUniInstanceSelectRandomVMatrix::build_(), PLearn::MultiTargetOneHotVMatrix::build_(), PLearn::MovingAverageVMatrix::build_(), PLearn::MixUnlabeledNeighbourVMatrix::build_(), PLearn::MissingInstructionVMatrix::build_(), PLearn::MeanImputationVMatrix::build_(), PLearn::LocalNeighborsDifferencesVMatrix::build_(), PLearn::LocallyPrecomputedVMatrix::build_(), PLearn::LemmatizeVMatrix::build_(), PLearn::KNNVMatrix::build_(), PLearn::KNNImputationVMatrix::build_(), PLearn::IndexedVMatrix::build_(), PLearn::GeneralizedOneHotVMatrix::build_(), PLearn::GaussianizeVMatrix::build_(), PLearn::FinancePreprocVMatrix::build_(), PLearn::FilteredVMatrix::build_(), PLearn::ExtendedVMatrix::build_(), PLearn::EncodedVMatrix::build_(), PLearn::DisregardRowsVMatrix::build_(), PLearn::DichotomizeVMatrix::build_(), PLearn::CumVMatrix::build_(), PLearn::ConcatRowsSubVMatrix::build_(), PLearn::ClassSubsetVMatrix::build_(), PLearn::BootstrapVMatrix::build_(), PLearn::AppendNeighborsVMatrix::build_(), PLearn::AddMissingVMatrix::build_(), PLearn::AddBagInformationVMatrix::build_(), PLearn::ClassSubsetVMatrix::ClassSubsetVMatrix(), PLearn::FilteredVMatrix::computeFilteredIndices(), PLearn::MeanImputationVMatrix::computeMeanVector(), PLearn::VecExtendedVMatrix::declareOptions(), PLearn::TemporalHorizonVMatrix::declareOptions(), PLearn::SubVMatrix::declareOptions(), declareOptions(), PLearn::ShiftAndRescaleVMatrix::declareOptions(), PLearn::RemapLastColumnVMatrix::declareOptions(), PLearn::PLearnerOutputVMatrix::declareOptions(), PLearn::OneHotVMatrix::declareOptions(), PLearn::IndexedVMatrix::declareOptions(), PLearn::GeneralizedOneHotVMatrix::declareOptions(), PLearn::FinancePreprocVMatrix::declareOptions(), PLearn::ExtendedVMatrix::declareOptions(), PLearn::ConcatRowsSubVMatrix::declareOptions(), PLearn::DisregardRowsVMatrix::DisregardRowsVMatrix(), PLearn::TemporalHorizonVMatrix::dot(), PLearn::SubVMatrix::dot(), PLearn::SelectRowsVMatrix::dot(), PLearn::OneHotVMatrix::dot(), PLearn::ConcatRowsSubVMatrix::dot(), PLearn::IndexedVMatrix::ensureMappingsConsistency(), PLearn::ProcessSymbolicSequenceVMatrix::fill_current_row(), PLearn::IndexedVMatrix::fullyCheckMappings(), PLearn::GeneralizedOneHotVMatrix::GeneralizedOneHotVMatrix(), PLearn::TemporalHorizonVMatrix::get(), PLearn::SubVMatrix::get(), PLearn::SelectRowsVMatrix::get(), PLearn::SelectColumnsVMatrix::get(), PLearn::ConcatRowsSubVMatrix::get(), PLearn::ClassSubsetVMatrix::get(), PLearn::SubVMatrix::getDictionary(), getDictionary(), PLearn::SelectRowsVMatrix::getDictionary(), PLearn::SelectColumnsVMatrix::getDictionary(), PLearn::ProcessSymbolicSequenceVMatrix::getDictionary(), PLearn::LemmatizeVMatrix::getDictionary(), PLearn::AddMissingVMatrix::getDictionary(), PLearn::ProcessSymbolicSequenceVMatrix::getExample(), PLearn::SelectColumnsVMatrix::getIndicesFromFields(), PLearn::LemmatizeVMatrix::getLemma(), PLearn::SubVMatrix::getMat(), PLearn::VecExtendedVMatrix::getNewRow(), PLearn::UpsideDownVMatrix::getNewRow(), PLearn::ThresholdVMatrix::getNewRow(), PLearn::SubVMatrix::getNewRow(), PLearn::SubInputVMatrix::getNewRow(), PLearn::StochasticBinarizeVMatrix::getNewRow(), PLearn::ShiftAndRescaleVMatrix::getNewRow(), PLearn::SeparateInputVMatrix::getNewRow(), PLearn::SelectRowsMultiInstanceVMatrix::getNewRow(), PLearn::RowsSubVMatrix::getNewRow(), PLearn::RepeatVMatrix::getNewRow(), PLearn::RemapLastColumnVMatrix::getNewRow(), PLearn::ReIndexedTargetVMatrix::getNewRow(), PLearn::RealFunctionsProcessedVMatrix::getNewRow(), PLearn::RankedVMatrix::getNewRow(), PLearn::RandomSamplesVMatrix::getNewRow(), PLearn::RandomNeighborsDifferencesVMatrix::getNewRow(), PLearn::PythonProcessedVMatrix::getNewRow(), PLearn::PutSubVMatrix::getNewRow(), PLearn::ProcessSymbolicSequenceVMatrix::getNewRow(), PLearn::PLearnerOutputVMatrix::getNewRow(), PLearn::OneVsAllVMatrix::getNewRow(), PLearn::OneHotVMatrix::getNewRow(), PLearn::MultiTargetOneHotVMatrix::getNewRow(), PLearn::MovingAverageVMatrix::getNewRow(), PLearn::MixUnlabeledNeighbourVMatrix::getNewRow(), PLearn::MissingInstructionVMatrix::getNewRow(), PLearn::MeanImputationVMatrix::getNewRow(), PLearn::LocalNeighborsDifferencesVMatrix::getNewRow(), PLearn::LemmatizeVMatrix::getNewRow(), PLearn::KNNVMatrix::getNewRow(), PLearn::KNNImputationVMatrix::getNewRow(), PLearn::JulianizeVMatrix::getNewRow(), PLearn::IndexedVMatrix::getNewRow(), PLearn::GeneralizedOneHotVMatrix::getNewRow(), PLearn::GaussianizeVMatrix::getNewRow(), PLearn::FinancePreprocVMatrix::getNewRow(), PLearn::FilteredVMatrix::getNewRow(), PLearn::ExtendedVMatrix::getNewRow(), PLearn::EncodedVMatrix::getNewRow(), PLearn::DichotomizeVMatrix::getNewRow(), PLearn::CumVMatrix::getNewRow(), PLearn::AppendNeighborsVMatrix::getNewRow(), PLearn::AddMissingVMatrix::getNewRow(), PLearn::AddBagInformationVMatrix::getNewRow(), PLearn::TemporalHorizonVMatrix::getRealToStringMapping(), PLearn::SelectRowsVMatrix::getRealToStringMapping(), PLearn::SelectColumnsVMatrix::getRealToStringMapping(), PLearn::PythonProcessedVMatrix::getSourceRow(), PLearn::TemporalHorizonVMatrix::getString(), PLearn::SubVMatrix::getString(), PLearn::SelectRowsVMatrix::getString(), PLearn::TemporalHorizonVMatrix::getStringToRealMapping(), PLearn::SelectRowsVMatrix::getStringToRealMapping(), PLearn::SelectColumnsVMatrix::getStringToRealMapping(), PLearn::TemporalHorizonVMatrix::getStringVal(), PLearn::SubVMatrix::getStringVal(), PLearn::SelectRowsVMatrix::getStringVal(), PLearn::SelectColumnsVMatrix::getStringVal(), PLearn::ProcessSymbolicSequenceVMatrix::getStringVal(), PLearn::LemmatizeVMatrix::getStringVal(), PLearn::AddMissingVMatrix::getStringVal(), PLearn::SubVMatrix::getSubRow(), PLearn::SelectRowsVMatrix::getSubRow(), PLearn::SelectColumnsVMatrix::getSubRow(), PLearn::ConcatRowsSubVMatrix::getSubRow(), PLearn::ClassSubsetVMatrix::getSubRow(), PLearn::TemporalHorizonVMatrix::getValString(), PLearn::SubVMatrix::getValString(), PLearn::SelectRowsVMatrix::getValString(), PLearn::SelectColumnsVMatrix::getValString(), PLearn::ProcessSymbolicSequenceVMatrix::getValString(), PLearn::LemmatizeVMatrix::getValString(), PLearn::AddMissingVMatrix::getValString(), PLearn::SubVMatrix::getValues(), getValues(), PLearn::SelectRowsVMatrix::getValues(), PLearn::SelectColumnsVMatrix::getValues(), PLearn::ProcessSymbolicSequenceVMatrix::getValues(), PLearn::LemmatizeVMatrix::getValues(), PLearn::AddMissingVMatrix::getValues(), PLearn::DisregardRowsVMatrix::inferIndices(), PLearn::local_neighbors_differences(), makeDeepCopyFromShallowCopy(), PLearn::Preprocessing::manageTrainTestUnknownSets(), PLearn::TemporalHorizonVMatrix::put(), PLearn::SubVMatrix::put(), PLearn::IndexedVMatrix::put(), PLearn::SubVMatrix::putMat(), PLearn::SubVMatrix::putSubRow(), PLearn::random_neighbors_differences(), PLearn::RankedVMatrix::RankedVMatrix(), PLearn::repeat_vmatrix(), PLearn::SubVMatrix::reset_dimensions(), PLearn::SelectColumnsVMatrix::SelectColumnsVMatrix(), PLearn::SelectRowsVMatrix::SelectRowsVMatrix(), setMetaDataDir(), PLearn::GaussianizeVMatrix::setMetaDataDir(), setMetaInfoFromSource(), PLearn::Experimentation::setSourceDataset(), PLearn::JulianizeVMatrix::setVMFields(), PLearn::FinancePreprocVMatrix::setVMFields(), PLearn::SubVMatrix::subMat(), PLearn::TemporalHorizonVMatrix::TemporalHorizonVMatrix(), PLearn::OneHotVMatrix::updateNClassesAndWidth(), and PLearn::PrecomputedVMatrix::usePrecomputed().

Vec PLearn::SourceVMatrix::sourcerow [mutable, protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines