You are on page 1of 3

A.

I Assignment-2
221910401022 | Haneeth Babu M.

Q1. What do you mean by regression, explain the linear regression


algorithm?
Ans: Regression is a statistical method used in finance, investing, and
other disciplines that attempts to determine the strength and character of
the relationship between one
dependent variable (usually
denoted by Y) and a series of
other variables (known as
independent variables).

Linear Regression is a machine


learning algorithm based on
supervised learning. It
performs a regression task.
Regression models a target prediction value based on independent
variables.
Linear regression performs the task to predict a dependent variable
value (y) based on a given independent variable (x). So, this regression
technique finds out a linear relationship between x (input) and y(output).
Hence, the name is Linear Regression.

Q2. Compare Linear regression and logarithmic regression?


Ans:

Linear regression Logarithmic regression


Linear regression is used to predict the Logistic Regression is used to predict the
continuous dependent variable using a categorical dependent variable using a
given set of independent variables. given set of independent variables.

Linear Regression is used for solving Logistic regression is used for solving
Regression problems. Classification problems.

In Linear regression, we predict the value In logistic Regression, we predict the


of continuous variables. values of categorical variables.

In linear regression, we find the best fit In Logistic Regression, we find the
line, by which we can easily predict the S-curve by which we can classify the
output. samples.
Least square estimation method is used Maximum likelihood estimation method is
for estimation of accuracy. used for estimation of accuracy.

The output for Linear Regression must be The output of Logistic Regression must
a continuous value, such as price, age, be a Categorical value such as 0 or 1, Yes
etc. or No, etc.

In Linear regression, it is required that the In Logistic regression, it is not required


relationship between dependent variable to have the linear relationship between
and independent variable must be linear. the dependent and independent variable.

In linear regression, there may be In logistic regression, there should not be


collinearity between the independent collinearity between the independent
variables. variables.

Q3. Compare ML and DNN?


Ans: Machine Learning falls under the larger canvas of Artificial
Intelligence. Machine Learning seeks to build intelligent systems or
machines that can automatically learn and train themselves through
experience, without being explicitly programmed or requiring any human
intervention.
The structure of the human brain inspires a Neural Network. It is
essentially a Machine Learning model (more precisely, Deep Learning)
that is used in unsupervised learning. A Neural Network is a web of
interconnected entities known as nodes wherein each node is
responsible for a simple computation. In this way, a Neural Network
functions similarly to the neurons in the human brain.

Machine Learning Neural Network


Machine Learning uses advanced algorithms that Neural Network consists of an assortment of
parse data, learn from it, and use those learnings algorithms used in Machine Learning for data
to discover meaningful patterns of interest. modelling using graphs of neurons.

Machine learning models can be categorized Neural Networks can be classified into
under two types – supervised and unsupervised feed-forward, recurrent, convolutional, and
learning models. modular Neural Networks.

Since Machine Learning models are adaptive, The first layer is the input layer, followed by a
they are continually evolving by learning through hidden layer, and then finally an output layer.
new sample data and experiences. Thus, the Each layer contains one or more neurons. By
models can identify the patterns in the data. increasing the number of hidden layers within a
Here, data is the only input layer. However, even Neural Network model, you can increase its
in a simple Neural Network model, there are computational and problem-solving abilities.
multiple layers.
Skills required for Machine Learning include Neural networks demand skills like data
programming, probability and statistics, Big Data modelling, Mathematics, Linear Algebra and
and Hadoop, knowledge of ML frameworks, data Graph Theory, programming, and probability
structures, and algorithms. and statistics.

Machine Learning is applied in areas like Neural Networks, on the other hand, are used
healthcare, retail, e-commerce (recommendation to solve numerous business challenges,
engines), BFSI, self-driving cars, online video including sales forecasting, data validation,
streaming, IoT, and transportation and logistics, customer research, risk management, speech
to name a few. recognition, and character recognition, among
other things.

You might also like