ECOCPAK v0.9
Functions
Fn_sparse_to_dense

Functions

mat ecocpak::sparse_to_dense (struct svm_node **const X, const u32 n_rows, const u32 n_cols)

Function Documentation

mat ecocpak::sparse_to_dense ( struct svm_node **const  X,
const u32  n_rows,
const u32  n_cols 
)
  • Constructs a dense Armadillo matrix from a LIBSVM sparse representation matrix.
  • Input Arguments:
    • X : LIBSVM's sparse representation matrix.
    • n_rows : Number of X's rows.
    • n_cols : Number of X's columns.
  • Output Arguments:
    • Void.
  • Return Argument:
    • Dense representation of input sparse matrix X.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines