LIBIRWLS
|
A dataset. More...
#include <IOStructures.h>
Data Fields | |
int | l |
int | sparse |
int | maxdim |
double * | y |
struct svm_sample ** | x |
double * | quadratic_value |
struct svm_sample * | features |
A dataset.
This structure represents a dataset, a collection of samples and its associated labels.
struct svm_sample* svm_dataset::features |
Array of features.
int svm_dataset::l |
If the dataset is labeled or not.
int svm_dataset::maxdim |
The number of features of the dataset.
double* svm_dataset::quadratic_value |
The L2 norm of every sample. It is used to compute kernel functions faster.
int svm_dataset::sparse |
If the dataset is sparse or not.
struct svm_sample** svm_dataset::x |
Pointer to the first feature of every sample.
double* svm_dataset::y |
The label of every sample.