Medial Code Documentation
|
defines common input data structure, and interface for handling the input data More...
#include <string>
#include <vector>
#include <map>
#include "./base.h"
#include "./io.h"
#include "./logging.h"
#include "./registry.h"
Go to the source code of this file.
Data Structures | |
class | dmlc::DataIter< DType > |
data iterator interface this is not a C++ style iterator, but nice for data pulling:) This interface is used to pull in the data The system can do some useful tricks for you like pre-fetching from disk and pre-computation. More... | |
class | dmlc::Row< IndexType, DType > |
one row of training instance More... | |
struct | dmlc::RowBlock< IndexType, DType > |
a block of data, containing several rows in sparse matrix This is useful for (streaming-sxtyle) algorithms that scans through rows of data examples include: SGD, GD, L-BFGS, kmeans More... | |
class | dmlc::RowBlockIter< IndexType, DType > |
Data structure that holds the data Row block iterator interface that gets RowBlocks Difference between RowBlockIter and Parser: RowBlockIter caches the data internally that can be used to iterate the dataset multiple times, Parser holds very limited internal state and was usually used to read data only once. More... | |
class | dmlc::Parser< IndexType, DType > |
parser interface that parses input data used to load dmlc data format into your own data format Difference between RowBlockIter and Parser: RowBlockIter caches the data internally that can be used to iterate the dataset multiple times, Parser holds very limited internal state and was usually used to read data only once More... | |
struct | dmlc::ParserFactoryReg< IndexType, DType > |
registry entry of parser factory More... | |
Namespaces | |
namespace | dmlc |
namespace for dmlc | |
Macros | |
#define | __DMLC_COMMA , |
#define | DMLC_REGISTER_DATA_PARSER(IndexType, DataType, TypeName, FactoryFunction) |
Register a new distributed parser to dmlc-core. | |
defines common input data structure, and interface for handling the input data
Copyright (c) 2015 by Contributors
#define DMLC_REGISTER_DATA_PARSER | ( | IndexType, | |
DataType, | |||
TypeName, | |||
FactoryFunction | |||
) |
Register a new distributed parser to dmlc-core.
IndexType | The type of Batch index, can be uint32_t or uint64_t |
DataType | The type of Batch label and value, can be real_t or int |
TypeName | The typename of of the data. |
FactoryFunction | The factory function that creates the parser. |