An Introduction to Chatbots According to the existing Chatbots Alexa , Cortana , Siri , Google Home it’s a obvious there is a demand for chatbots. In the past the chatbot is a hallow technology due to limited functionality. Now with the advancement in computer technology chatbots are practical in everyday use. The below figure shows what exactly the chatbot is From the above figure we can conclude that if you have any problem with the particular product you can contact the customer support and they ask the problem what you have and they will give a solution. But…

### Back Propagation and Computational Graphs in Neural Networks

Back Propagation and Computational Graphs in Neural Networks Back Propagation: In Deep Learning , you are definitely heard about the back propagation at least once. In this article I am going to explain about the Back propagation. Before this , I would recommend to you read about the Gradient Descent optimization in this link. https://www.i2tutorials.com/technology/gradient-descent-stochastic-gradient-descent/ The entire process of deep learning training may be summarized into following steps. Data Analysis and Data Exploration. Based on our Data Analysis information we have to build a framework such as TensorFlow , PyTorch etc. Now choose the best appropriate cost function…

### Top Most Machine Learning Algorithms

Top Most Machine Learning Algorithms Machine Learning algorithms are very powerful techniques of a complex Machine Learning models. These algorithms are very core foundation when it’s come to training the model. In this article we are going to learn most used machine Learning algorithms and their applications.Before getting deeper lets have a look on brief introduction. Basically the machine Learning algorithms are classified into 3 categories they are supervised , unsupervised and Reinforcement Learning. In supervised Learning the machine is taught by an example here the dataset having the desired inputs and output variables by using these set of variables we…

### Ridge Regression in Machine Learning

Ridge Regression in Machine Learning The Ridge Regression is a regularization technique or in simple words it is a variation of Linear Regression. This is one of the method of regularization technique which the data suffers from multicolinearity. In this multicolinearity ,the least squares are unbiased and the variance is large and which deviates the predicted value from the actual value.in this the equation also have an error term. Y=mx+c+error term Prediction errors are occurred due to bias and variance in this the multicolinearity are reduced by using lamda function. In this there is no feature selection and…

### Matplotlib tutorial with Python

Matplotlib tutorial with Python Bar plots: They are used to represent comparison between the data points using the bars either horizontally or vertically

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import matplotlib.pyplot as plt import numpy as np x = np.arange(4) money = [1, 2, 5, 6] plt.ylabel('Millions') plt.xlabel('Top Tycoons') plt.title('Richest in the World') plt.bar(x, money) plt.xticks(x, ('Gates', 'Warren', 'Mittal', 'Ambani')) plt.show() |

Basic plotting:

1 2 3 4 5 6 7 8 9 10 11 12 13 |
plt.plot([5, 20, 33, 12]) plt.show() x=np.linspace(-np.pi, np.pi, 256, endpoint=True) s, c=np.sin(x), np.cos(x) plt.plot(x,c) plt.plot(x,s) plt.show() |

Color change: Let us make few changes like figure size, color of lines, line width etc using the function “figure”, “plot” In the figure function we can provide the size of the image output details and dpi value which is dots per inch to increase visual quality. In the plot function , we can provide the line color and width for cos and sin curves.

1 2 3 |
plt.figure(figsize=(7,7), dpi=70,facecolor="blue") plt.plot(x, c, color="green", linewidth=20, linestyle="-") |

…

### Loss Functions in Machine Learning

Loss Functions in Machine Learning In this article we will learn the Loss Functions, types and its applications. Loss function is very simple, which is used to evaluate how well our algorithm works.if our predictions are totally deviate too much from the actual values the loss function would large number and vice versa. By using an optimization function the loss function learns to reduce the error in our prediction values. Generally In machine learning models, we are going to predict a value given a set of inputs. The model has a set of weights and biases that you can tune…

### Types of Regression Techniques

Types of Regression Techniques Regression analysis is an important tool for modeling and analyzing the data. And it gives the relationship between the dependent[target labels] and independent variables[predictors]. Basically it’s a predictive modelling technique which gives the relation between predictors and target labels.this is used for only predicting the continuous target variables. By using regression analysis we can have the Significant relations between the dependent and independence=y variables. Strength of impact of independent variables on dependent variables. There are various regression techniques are there to make the predictions. These are divided by based on 1. No . of independent…

### Gradient Descent & Stochastic Gradient Descent

Gradient Descent & Stochastic Gradient Descent The pre-requisites for this article: 1. Enough knowledge on the terms like Model parameters,Cost function 2. Calculus-First order derivatives(chain rule and power rule) Gradient Descent is a FIRST ORDER OPTIMIZATION algorithm that is used to maximize or minimize the cost function of the model.As it uses the first order derivatives of the cost function equation with respect to the model parameters.We also have SECOND ORDER OPTIMIZATION techniques that uses second order derivatives which are called as “HESSIAN” to maximize or minimize the cost function,We will learn this Second Order Optimization in coming articles…

### Google’s latest AI art project turns selfies into a ‘poem portrait’

Google’s latest AI art project turns selfies into a ‘poem portrait’ Google’s projects with the help of AI are always innovative and exiting and its latest is characteristically odd. A web APP called “PoemPortraits” is the online collective artwork combination of poetry, design and Machine Learning (ML). It is your self-portrait overlaid with a unique poem, created by AI. You can create your own and contribute to the evolving, collective poem, where it takes a word of your suggestion and combines it with a selfie to create the eponymous poem portrait and is an Instagram filter paired with a…

### Activation functions in Deep learning

Activation functions in Deep learning Generally , These functions are mainly used in Deep Learning models especially Artificial Neural Networks. Basically the activation functions decides weather the neuron activated or not. Activation functions is used to mapping the complicated and non-linear functions between the input and output signals. Then the output signal is input to the next layer.without activation function we can’t do a non-linear transformations because there is no activation function the weights and biases do linear transformation.we want to do a image classification and language translation, then the linear transformation is not suitable that’s why we…