#include "gnn_dataset.h"#include "gnn_input.h"Include dependency graph for gnn_simple_set.h:

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

Go to the source code of this file.
Data Structures | |
| struct | _gnn_simple_set |
Typedefs | |
| typedef _gnn_simple_set | gnn_simple_set |
| The datatype for simple sets. | |
Functions | |
| gnn_dataset * | gnn_simple_set_new (gnn_input *inputs, gnn_input *outputs, gnn_input *weights) |
| Builds a new simple set. | |
| gnn_dataset * | gnn_simple_set_from_files_new (const char *inputsFile, const char *outputsFile, const char *weightsFile) |
| Builds a new simple set from text files. | |
| gnn_input * | gnn_simple_set_get_inputs (gnn_dataset *set) |
| Returns a pointer to the inputs. | |
| gnn_input * | gnn_simple_set_get_outputs (gnn_dataset *set) |
| Returns a pointer to the target vector input device. | |
| gnn_input * | gnn_simple_set_get_weights (gnn_dataset *set) |
| Returns a pointer to the inputs. | |
|
||||||||||||||||
|
This functions creates a new simple set 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 304 of file gnn_simple_set.c. |
|
|
This function returns a pointer to the inputs, which are of the gnn_input : Reading and handling of sets of vectors. type.
Definition at line 341 of file gnn_simple_set.c. |
|
|
This function returns a pointer to the outputs, which are of the gnn_input : Reading and handling of sets of vectors. type.
Definition at line 361 of file gnn_simple_set.c. |
|
|
This function returns a pointer to the weights input device, which are of the gnn_input : Reading and handling of sets of vectors. type or NULL if not available.
Definition at line 382 of file gnn_simple_set.c. |
|
||||||||||||||||
|
This functions creates a new simple set 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 215 of file gnn_simple_set.c. |
1.2.18