Previous topic

fynance.models.neural_network.BaseNeuralNet.predict

fynance.models.neural_network.BaseNeuralNet.set_data

BaseNeuralNet.set_data(X, y, x_type=None, y_type=None)

Set data inputs and outputs.

Parameters:
X, y : array-like

Respectively input and output data.

x_type, y_type : torch.dtype

Respectively input and ouput data types. Default is None.