ezyrb.approximation.ann.ANN._build_model
- ANN._build_model(points, values)[source]
Build the torch model. Considering the number of neurons per layer (self.layers), a feed-forward NN is defined: - activation function from layer i>=0 to layer i+1:
self.function[i]; activation function at the output layer: Identity (by default).
- Parameters:
points (numpy.ndarray) – the coordinates of the given (training)
points. :param numpy.ndarray values: the (training) values in the points.