This repository provide the fundamental of Tensorflow starting from creating tensor's to making your own tensorflow models.π
Part 1:- Tensor Tutorial
This is the most important section for everyone because it focuses on learning the fundamentals and understanding what operation are done in the ML model behind the scenes! So, before we begin constructing neural network models, we must first learn about the fundamentals of Tensors and Numpy.
The structure of notebook is as follows:-
- Creating our first tensors with TensorFlow
- Creating Random Tensor
- Play around with Order of Tensor
- Checking the property of any tensor
- Indexing Tensor's
- Matrix/Tensor Multiplication (IMP)
- Datatype and Aggreation of tensor's
- Positional Maxima and minima
- Edit dimension of tensor (Squeezing) and more..
- Using tensorflow with Numpy
Part 2 :- Neural Network Regression
Neural network regression is a supervised learning method, and therefore requires a tagged dataset, which includes a label column. Because a regression model predicts a numerical value, the label column must be a numerical data type.This notebook includes the basic neural network models as we are only doing regression starting with creating a custom dataset and eventually working on Insurance dataset avaiable on kaggle.
The structure of notebook is as follows:-
- Introduction of Neural Network
- Check Input & Output Shape of any Dataset
- Steps of Modeling in Tensorflow
- Tips to Improve our Model
- Increase efficience Model
- Evaluation & Visualization of Model
- Create a Ploting function
- Tracking and Saving any Model
- Creating a Insurance Model
- Preprocesssing with Normalizatio
Part 3 :- Neural Network Classification
Neural network Classification is another supervised learning method,here we classify the given value based on the dataset on which the model is created also learn about getting optimal learning rate of any optimizer,various activation layers for different dataSet, Visualizing the Classification using PlotDecisionBoundary Function,etc
Types of Classification Problems
-
Email
-'Spam' or 'Not Spam' a perfect example of Binary classification present in [Tensorflow_models/MODEL_1]. -
ImageClassification
- like 'Cat' , 'Dog' and 'Person' etc is called Multiclass Classification present in [Tensorflow_models/MODEL_2], but used tensorflow fashion dataset rather than animal classification. -
TagsPrediction
- in a wikipedia page "what tags should this page include?" is called MultiLabel Classification. present in [Tensorflow_models/MODEL_3].
The structure of notebook is as follows:-
- Introduction of Neural Network Classification
- Creating a Dataset of 2 circles using pandas
- Binary Classification Model using Tensorflow
- Visualize models Loss v/s Accuracy and Evaluate
- Create a Plot_Decision_Boundary Fuction
- Non-Linearity
- Different Tf Layers Activation Function
- Visualizing the test and Train Results
- Finding the Best Learning Rate
- Prettify Our Confusion Matrix