ECOCPAK v0.9
Functions
Fn_load_dataset_from_file

Functions

void ecocpak::load_dataset_from_file (const char *filename, mat &samples, icolvec &labels, u32 &n_classes)
void ecocpak::load_dataset_from_file (const char *filename, mat &samples, icolvec &labels)

Function Documentation

void ecocpak::load_dataset_from_file ( const char *  filename,
mat &  samples,
icolvec &  labels,
u32 &  n_classes 
)
  • Read problem from file (file in LIBSVM - SVMLIGHT format).
  • Modified LIBSVM code.
  • Input Arguments:
    • filename : Filename.
  • Output Arguments:
    • samples : 2D matrix of samples.
    • labels : Samples' class labels.
    • n_classes : Number of dataset classes.
  • Return Argument:
    • Void.
void ecocpak::load_dataset_from_file ( const char *  filename,
mat &  samples,
icolvec &  labels 
)
  • Read problem from file (file in LIBSVM - SVMLIGHT format).
  • Modified LIBSVM code.
  • Input Arguments:
    • filename : Filename.
  • Output Arguments:
    • samples : 2D matrix of samples.
    • labels : Samples' class labels.
  • Return Argument:
    • Void.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines