DiSMEC++
dismec::DataProcessing Class Reference

#include <app.h>

Public Member Functions

void setup_data_args (CLI::App &app)
 
std::shared_ptr< MultiLabelDataload (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
 

Detailed Description

Definition at line 16 of file app.h.

Member Function Documentation

◆ augment_for_bias()

bool DataProcessing::augment_for_bias ( ) const

Definition at line 102 of file app.cpp.

References AugmentForBias.

◆ load()

◆ setup_data_args()

void DataProcessing::setup_data_args ( CLI::App &  app)

Member Data Documentation

◆ AugmentForBias

CLI::Option* dismec::DataProcessing::AugmentForBias = nullptr
private

Definition at line 28 of file app.h.

Referenced by augment_for_bias(), load(), and setup_data_args().

◆ Bias

real_t dismec::DataProcessing::Bias = 0
private

Definition at line 29 of file app.h.

Referenced by load(), and setup_data_args().

◆ DataSetFile

std::string dismec::DataProcessing::DataSetFile
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().

◆ HashBuckets

int dismec::DataProcessing::HashBuckets = -1
private

Definition at line 32 of file app.h.

Referenced by load(), and setup_data_args().

◆ HashRepeats

int dismec::DataProcessing::HashRepeats = -1
private

Definition at line 33 of file app.h.

Referenced by load(), and setup_data_args().

◆ HashSeed

unsigned dismec::DataProcessing::HashSeed = 42
private

Definition at line 34 of file app.h.

Referenced by load(), and setup_data_args().

◆ LabelFile

std::string dismec::DataProcessing::LabelFile
private

Definition at line 24 of file app.h.

Referenced by load(), and setup_data_args().

◆ NormalizeInstances

bool dismec::DataProcessing::NormalizeInstances = false
private

Definition at line 26 of file app.h.

Referenced by load(), and setup_data_args().

◆ OneBasedIndex

bool dismec::DataProcessing::OneBasedIndex = false
private

Definition at line 25 of file app.h.

Referenced by setup_data_args().

◆ TransformData

DatasetTransform dismec::DataProcessing::TransformData = DatasetTransform::IDENTITY
private

Definition at line 27 of file app.h.

Referenced by load(), and setup_data_args().


The documentation for this class was generated from the following files: