# How much of your Neural Network’s Prediction can be Attributed to each Input Feature?

How much of your Neural Network’s Prediction can be Attributed to each Input Feature? Peeking inside Deep Neural Networks with Integrated Gradients, Implemented in PyTorch.

Neural networks are known to be black box predictors where the data scientist does not usually know which particular input feature influenced the prediction the most. This can be rather limiting if we want to get some understanding of what the model actually learned. Having this kind of understanding may allow us to find bugs or weaknesses in our learning algorithm or in our data processing pipeline and thus be able to improve them.

The approach that we will implement in this project is called integrated gradients and it was introduced in the following paper:

In this paper, the authors list some desirable axioms that a good attribution method should follow and prove that their method *Integrated gradients *statisfies those axioms. Some of those axioms are:

• Sensitivity: If two samples differ only by one feature and have different outputs by the neural network then the attribution of this feature should be non-null. Inversely, if a feature does not influence the output at all then its attribution should be zero.
• Implementation Invariance: If two networks have the same output for all inputs then their attribution should be the same.

More axioms are available in detail in the paper linked above.

The Integrated Gradient is very easy to implement and use, it only requires the ability to compute the gradient of the output of the neural network with respect to its inputs. This is easily doable in PyTorch, we will detail how it can be done in what follows.

## PyTorch for Deep Learning | Data Science | Machine Learning | Python

PyTorch for Deep Learning | Data Science | Machine Learning | Python. PyTorch is a library in Python which provides tools to build deep learning models. What python does for programming PyTorch does for deep learning. Python is a very flexible language for programming and just like python, the PyTorch library provides flexible tools for deep learning.

## PyTorch For Deep Learning

Pytorch is a Deep Learning Library Devoloped by Facebook. it can be used for various purposes such as Natural Language Processing , Computer Vision, etc

## PyTorch for Deep Learning | Data Science | Machine Learning | Python

PyTorch is a library in Python which provides tools to build deep learning models. What python does for programming PyTorch does for deep learning.

## PyTorch Tutorial - Deep Learning Using PyTorch - Learn PyTorch from Basics to Advanced

PyTorch Tutorial - Deep Learning Using PyTorch - Learn PyTorch from Basics to Advanced. Learn PyTorch from the very basics to advanced models like Generative Adverserial Networks and Image Captioning. "PyTorch: Zero to GANs" is an online course and series of tutorials on building deep learning models with PyTorch, an open source neural networks library.

## Top 10 Deep Learning Sessions To Look Forward To At DVDC 2020

Looking to attend an AI event or two this year? Below ... Here are the top 22 machine learning conferences in 2020: ... Start Date: June 10th, 2020 ... Join more than 400 other data-heads in 2020 and propel your career forward. ... They feature 30+ data science sessions crafted to bring specialists in different ...