Tag: deep learning

  • Tensorflow: training loop from scratch

    Tensorflow: training loop from scratch

    The deep learning model has model weights which start from a random state wen the model object is created. As we expose the model with the training data, the weights are modified such that their mathematical operations produce values close to the training labels. Following are the major things that happen during training: If we…

  • Tensorflow: The History object

    To train a tensorfow model, we call the fit() method of the model as follows: Python The fit() method returns something called as a History object. It stores the epochwise values of the loss and any metrics we have asked the model to track. These records can be used to visualize how the training process occurred and potentially help us modify…

  • Tensorflow: The first project

    We will try to build a deep learning model that differentiates between images of two kinds of objects. For this we will use the fashion mnist data which could be readily used from the keras API included with tensorflow. First import the necessary packages. Python Read data included in the keras library. Python Let’s first see the size…