Go to the source code of this file.
Classes | |
struct | matrix |
Typedefs | |
typedef struct matrix | matrix |
Functions | |
matrix | csv_to_matrix (char *filename) |
void | free_matrix (matrix m) |
matrix | hold_out_matrix (matrix *m, int n) |
matrix | make_matrix (int rows, int cols) |
void | matrix_add_matrix (matrix from, matrix to) |
void | matrix_to_csv (matrix m) |
float | matrix_topk_accuracy (matrix truth, matrix guess, int k) |
float * | pop_column (matrix *m, int c) |
void | print_matrix (matrix m) |
matrix | resize_matrix (matrix m, int size) |
void | scale_matrix (matrix m, float scale) |
matrix csv_to_matrix | ( | char * | filename | ) |
void free_matrix | ( | matrix | m | ) |
matrix hold_out_matrix | ( | matrix * | m, |
int | n | ||
) |
matrix make_matrix | ( | int | rows, |
int | cols | ||
) |
void matrix_add_matrix | ( | matrix | from, |
matrix | to | ||
) |
void matrix_to_csv | ( | matrix | m | ) |
float matrix_topk_accuracy | ( | matrix | truth, |
matrix | guess, | ||
int | k | ||
) |
float* pop_column | ( | matrix * | m, |
int | c | ||
) |
void print_matrix | ( | matrix | m | ) |
matrix resize_matrix | ( | matrix | m, |
int | size | ||
) |
void scale_matrix | ( | matrix | m, |
float | scale | ||
) |