Artificial Neural Networks analysis¶
-
ANN_analysis.initialise_net()¶ Initialise feed forward neural network with 4 fully connected layers of size 48, 100, 70 and 55.
Returns: torch.nn
-
ANN_analysis.iterate()¶ Minimise MAPE
-
ANN_analysis.my_loss(y_true, y_pred)¶ Given the target and the current values, compute the Mean Absolute Percentage Error (MAPE).
Args:
y_true(array): Target value.
y_pred(array): Current value.
Returns: MAPE.