XCSF  1.4.7
XCSF learning classifier system
Net Struct Reference

Neural network data structure. More...

#include <neural.h>

Collaboration diagram for Net:
[legend]

Data Fields

int n_layers
 Number of layers (hidden + output) More...
 
int n_inputs
 Number of network inputs. More...
 
int n_outputs
 Number of network outputs. More...
 
double * output
 Pointer to the network output. More...
 
struct Llisthead
 Pointer to the head layer (output layer) More...
 
struct Llisttail
 Pointer to the tail layer (first layer) More...
 
bool train
 Whether the network is in training mode. More...
 

Detailed Description

Neural network data structure.

Definition at line 48 of file neural.h.

Field Documentation

◆ head

struct Llist* Net::head

Pointer to the head layer (output layer)

Definition at line 53 of file neural.h.

Referenced by neural_init(), neural_insert(), neural_learn(), neural_output(), neural_outputs(), neural_remove(), and pred_neural_expand().

◆ n_inputs

int Net::n_inputs

Number of network inputs.

Definition at line 50 of file neural.h.

Referenced by xcsf.utils.viz.DGPViz::__init__(), xcsf.utils.viz.DGPViz::draw(), neural_create(), neural_init(), neural_insert(), and neural_save().

◆ n_layers

◆ n_outputs

int Net::n_outputs

◆ output

double* Net::output

Pointer to the network output.

Definition at line 52 of file neural.h.

Referenced by neural_init(), neural_insert(), and neural_remove().

◆ tail

◆ train

bool Net::train

Whether the network is in training mode.

Definition at line 55 of file neural.h.

Referenced by neural_init(), neural_layer_dropout_forward(), neural_layer_noise_forward(), and neural_propagate().


The documentation for this struct was generated from the following file: