#include <gsl/gsl_permutation.h>#include "gnn_dataset.h"#include "gnn_input.h"Include dependency graph for gnn_random_order.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | _gnn_random_order |
Typedefs | |
| typedef _gnn_random_order | gnn_random_order |
| The datatype for a random order sampler. | |
Functions | |
| gnn_dataset * | gnn_random_order_new (gnn_dataset *data) |
| Builds a new random order sampler. | |
| gnn_dataset * | gnn_random_order_from_inputs_new (gnn_input *inputs, gnn_input *outputs, gnn_input *weightsFile) |
| Builds a new random sampler from gnn_inputs. | |
| gnn_dataset * | gnn_random_order_from_file_new (const char *inputsFile, const char *outputsFile, const char *weightsFile) |
| Builds a new random order sampler from text files. | |
| gnn_dataset * | gnn_random_order_get_dataset (gnn_dataset *set) |
| Returns a pointer to the internal gnn_dataset. | |
|
||||||||||||||||
|
This functions creates a new random order sampler from two or three text files containing the patterns. The text files should be ASCII-formatted, and should contain matrices where the number of columns corresponds to the size of the vectors, and the row number to the number of patterns. Obviously, it is illegal to provide matrices of different row sizes. Also, the weights file should have only one column.
If the weights file is omitted (i.e. it is a pointer to It is basically a shorthand for building the dataset from gnn_input : Reading and handling of sets of vectors. structures which themselves should be built from text files.
Definition at line 299 of file gnn_random_order.c. |
|
||||||||||||||||
|
This functions creates a new random order sampler from two or three input samplers. The first two correspond to the input pattern and output pattern samplers, wich should contain the same amount of patterns. The third is the pattern weight sampler, which, if given, should also be of the same size. If omitted (that means it is a
Definition at line 263 of file gnn_random_order.c. |
|
|
This function returns a pointer to the internal gnn_dataset : Datasets for Training. structure, which is used as source.
Definition at line 320 of file gnn_random_order.c. |
|
|
This functions creates a new random order sampler from a given dataset. It will create a new random sampling permutation (i.e. it will shuffle) on each call on gnn_dataset_reset, so that a sequential pattern retrieval from pattern
Definition at line 184 of file gnn_random_order.c. |
1.2.18