ECOCPAK v0.9
Typedefs | Functions
Fn_dense_to_sparse

Typedefs

typedef struct svm_node ** ecocpak::sparse_mat
typedef struct svm_node ** sparse_mat

Functions

sparse_mat ecocpak::dense_to_sparse (const mat &X)
void ecocpak::delete_sparse_matrix (sparse_mat A, const u32 n_rows)
void ecocpak::delete_sparse_matrix (sparse_mat A, const u32 n_rows, const struct svm_model *model)
svm_model ecocpak::modelcpy (svm_model *m)

Typedef Documentation

typedef struct svm_node** ecocpak::sparse_mat
typedef struct svm_node** sparse_mat

Function Documentation

void ecocpak::delete_sparse_matrix ( sparse_mat  A,
const u32  n_rows 
)
void ecocpak::delete_sparse_matrix ( sparse_mat  A,
const u32  n_rows,
const struct svm_model model 
)
sparse_mat ecocpak::dense_to_sparse ( const mat &  X)
  • Constructs a sparse LIBSVM matrix from a dense Armadillo representation matrix.
  • Input Arguments:
    • X : Armadillo's dense matrix.
  • Output Arguments:
    • Void.
  • Return Argument:
    • Sparse representation of input sparse matrix X.
svm_model ecocpak::modelcpy ( svm_model m)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines