breidablik.interpolate.load =========================== .. py:module:: breidablik.interpolate.load Classes ------- .. autoapisummary:: breidablik.interpolate.load.FFNN Functions --------- .. autoapisummary:: breidablik.interpolate.load.ReLU breidablik.interpolate.load.linear Module Contents --------------- .. py:function:: ReLU(x) .. py:function:: linear(x, weights, bias) .. py:class:: FFNN(model) Feed Forward Neural Network .. py:method:: forward(x) Forward pass :param x: The features matrix to predict results on. :type x: ndarray :returns: **y** -- THe predicted results. :rtype: ndarray .. py:method:: __call__(x) .. py:method:: load(path, model='ffnn.json') Load model from json file. Assumes that the model is saved with keys weight_x, bias_x, where x is the layer number. :param path: Path to load the model from. Needs to be a folder. :type path: str