Blogs

    2020 Aug

    2020 Jul

    Petals To The Metal Tpu

    3 minute read

    Distribution Strategy A TPU has eight different cores and each of these cores acts as its own accelerator. (A TPU is sort of like having eight GPUs in one...

    Steganalysis In Tpu

    less than 1 minute read

    To use TPU we need to check the hardware and define the distribution strategy.

    Understanding Kfolds

    3 minute read

    The most common ways to overfit data is to train and test in the same data. One solution to solve this problem is to use the cross validation.

    2020 Jun

    Linear Regression Using Pytorch

    4 minute read

    Input Data We are given a small dataset. The inputs represent temperature, rainfall, humidity. And output is the yield of orange and apple.

    Quora Question Pair Similarity

    3 minute read

    We have a function called get token features. It creates an empty array of zeros. Each question is split into tokens. If any of the question is null, then th...

    Reshape Squeeze Unsqueeze

    3 minute read

    Reshape There are many ways to change the shape of tensor. One way to do that is by using a reshape function. Lets create a tensor of shape 4x3

    Rank Shape Size Of Tensors

    less than 1 minute read

    Rank The rank of a tensor refers to the number of dimensions present within the tensor. A tensor’s rank tells us how many indexes are needed to refer to...

    2020 May

    Basic Class In Python

    less than 1 minute read

    Here is a basic class in python. There are two functions in the class. One for setting value and other for getting value.

    2019 Dec

    Microsoft Malware Case Study

    4 minute read

    1.4 Real world business problems and constraints Given a file we need to determine if it belongs to any of the given nine type of malwares. We need to min...

    2019 Jul

    Cnn Using Tensorflow

    1 minute read

    In the last blog we have seen that the accuracy was not getting more than 10%. This was happenning because the neural network we choosed for the process was ...

    Callbacks In Tensorflow

    1 minute read

    Sometimes while training a neural network, we need to stop the training when certain conditions are met. An example to that is achieving a particular accurac...

    2019 Jun

    Calibration In Machine Learning

    1 minute read

    Steps in calibration we first build a model on D_train and now we do cross validation on D_cv and get yi_hat. Now we make a table of sorted yi_hats whic...

    2019 May

    Introduction to Pandas Dataframe

    2 minute read

    Data frame is a main object in pandas. It is used to represent data with rows and columns. Data frame is a datastructure that represent the data in tabular o...

    2019 Feb

    Knn Impact Of K

    less than 1 minute read

    import numpy as np import matplotlib.pyplot as plt from sklearn import datasets, neighbors # https://anaconda.org/conda-forge/mlxtend from mlxtend.plotting i...

    2019 Jan

    What Is Inverse Document Frequency (idf)?

    1 minute read

    Inverse Document Frequency (IDF) is a weight indicating how commonly a word is used. The more frequent its usage across documents, the lower its score. ...

    Mysql Basics

    19 minute read

    The USE command is used to load a database eg: USE imdb;

    Regular Expressions in python

    5 minute read

    Regular expression is a special sequence of characters that helps us in matching or finding other strings or set of strings , using a specialized syntax held...

    2018 Jan

    2017 Aug