DiSMEC++
|
#include <app.h>
Public Member Functions | |
void | setup_data_args (CLI::App &app) |
std::shared_ptr< MultiLabelData > | load (int verbose) |
bool | augment_for_bias () const |
Private Attributes | |
std::string | DataSetFile |
The file from which the dataset should be read. More... | |
std::string | LabelFile |
bool | OneBasedIndex = false |
bool | NormalizeInstances = false |
DatasetTransform | TransformData = DatasetTransform::IDENTITY |
CLI::Option * | AugmentForBias = nullptr |
real_t | Bias = 0 |
int | HashBuckets = -1 |
int | HashRepeats = -1 |
unsigned | HashSeed = 42 |
bool DataProcessing::augment_for_bias | ( | ) | const |
Definition at line 102 of file app.cpp.
References AugmentForBias.
std::shared_ptr< MultiLabelData > DataProcessing::load | ( | int | verbose | ) |
Definition at line 47 of file app.cpp.
References dismec::augment_features_with_bias(), AugmentForBias, Bias, DataSetFile, dismec::hash_sparse_features(), HashBuckets, HashRepeats, HashSeed, dismec::IDENTITY, LabelFile, dismec::normalize_instances(), NormalizeInstances, dismec::transform_features(), and TransformData.
Referenced by main().
void DataProcessing::setup_data_args | ( | CLI::App & | app | ) |
Definition at line 14 of file app.cpp.
References AugmentForBias, Bias, DataSetFile, HashBuckets, HashRepeats, HashSeed, dismec::IDENTITY, LabelFile, dismec::LOG_ONE_PLUS, NormalizeInstances, dismec::ONE_PLUS_LOG, OneBasedIndex, dismec::SQRT, and TransformData.
Referenced by main().
|
private |
Definition at line 28 of file app.h.
Referenced by augment_for_bias(), load(), and setup_data_args().
|
private |
Definition at line 29 of file app.h.
Referenced by load(), and setup_data_args().
|
private |
The file from which the dataset should be read.
Definition at line 23 of file app.h.
Referenced by load(), and setup_data_args().
|
private |
Definition at line 32 of file app.h.
Referenced by load(), and setup_data_args().
|
private |
Definition at line 33 of file app.h.
Referenced by load(), and setup_data_args().
|
private |
Definition at line 34 of file app.h.
Referenced by load(), and setup_data_args().
|
private |
Definition at line 24 of file app.h.
Referenced by load(), and setup_data_args().
|
private |
Definition at line 26 of file app.h.
Referenced by load(), and setup_data_args().
|
private |
Definition at line 25 of file app.h.
Referenced by setup_data_args().
|
private |
Definition at line 27 of file app.h.
Referenced by load(), and setup_data_args().