#include <cstdlib>
#include <map>
#include <plearn/base/PP.h>
#include <plearn/math/TMat.h>
#include <plearn/var/VarArray.h>
#include <plearn/io/IntVecFile.h>
#include <plearn/math/StatsCollector.h>
#include <plearn/math/TMat_maths_impl.h>
#include "VMField.h"
Include dependency graph for VMatrix.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
Defines | |
#define | SPECIAL_FORMAT ((real)3.1e36) |
|
NOTE: How to handle exotic cases of data-sets whose input or target are not standard Vecs: The idea is to still have the getExample build and return Vecs, but the representation of these Vecs will have a special format, detected and understood by a specialised Learner or specialised Variables: Hack: format des Vec compris par un Learner: Si v[0] == SPECIAL_FORMAT v[1] indique le format de ce qui suit (v[2] ...): 0 sparse vec de la forme: length nvals i val i val ... 1 pointeur vers un Object de la forme: ptr (cast du float ou du double) 2 tenseur plein de la forme: rank size_1...size_n val ... 3 tenseur sparse de la forme: rank size_1...size_n nvals i_1...i_n val i1...i_n val ... |