Koti Report of Aiml
Koti Report of Aiml
IN
ARTIFICIAL INTELLIGENCE & MACHINE LEARINING
Submitted by:
AYINALA KOTESWARARAO
Reg.No:21NG1A6102
IN
DEPARTMENT OF ARTIFICIAL INTELLIGENCE
Student’s Declaration
TABLE OF CONTENTS
1.1 History of AI 8
Chapter-2 Dive into AI 10-11 Week 2
2.1 Categories of AI 10
3.4 Alpha GO 13
3.5 Controversies 13
3.6 Healthcare 14
Chapter-4 Goals of AI 15-19 Week 4
4.1 Main Goals of Artificial 15-16
Intelligence
4.2 Typical problems to which AI 16-17
are applied
4.3 Other fields in which Ai 17-19
methods are implemented
Chapter-5 Applications of AI 20-22 Week 5
5.1 Main goals of Artificial 20-21
Intelligence
5.2 Future scope of AI 22-22
Chapter-6 Introduction to Machine 23-26 Week 6
learning
6.1 A taste of ML 23
WEEK 1
Introduction to AI
1.1 History of AI
Artificial:
The simple defintion of Artificial is made or produced by human beings rather than occurring
naturally, especially as a copy of something natural.
Intelligence:
The simple definition of Intelligence is the ability to learn or understand or to deal with newor
trying situations reason also the skilled use of reason. The ability to apply knowledge to
manipulate one's environment or to think abstractly as measured by objective criteria.
Artificial Intelligence:
The theory and development of computer systems able to perform tasks normally requiring
human intelligence, such as visual perception, speech recognition, decision-making, and
translation between languages.
AI which stands for artificial intelligence refers to systems or machines that mimic human
intelligence to perform tasks and can iteratively improve themselves based on the information
they collect. AI manifests in a number of forms.
Artificial intelligence (AI) makes it possible for machines to learn from experience, adjust to
new inputs and perform human-like tasks. Most AI examples that you hear about today – from
chess-playing computers to self-driving cars – rely heavily on deep learning and natural
language processing.
Artificial intelligence is generally divided into two types – narrow (or weak) AI and general
AI,also known as AGI or strong AI.
Artificial intelligence (AI) is intelligence demonstrated by machines, as opposed to the natural
intelligence displayed by animals and humans. OED (OUP) defines artificial intelligence as
the theory and development of computer systems able to perform tasks that normally require
human intelligence, such as visual perception, speech recognition, decision- making, and
translation between languages.
7
URCET AI-ML VIRTUAL INTERNSHIP
ARTIFICIAL INTELLIGENCE
1.1.1 History:
The intellectual roots of AI, and the concept of intelligent machines, may be found in Greek
mythology. Intelligent artifacts appear in literature since then, with real mechanical devices
actually demonstrating behaviour with some intelligence after modern computers became
available to create programs that perform different intellectual tasks.
8
URCET AI-ML VIRTUAL INTERNSHIP
1.1.2 Timeline of AI
9
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 2
DIVE INTO AI
2.1Categories of AI:
AI divides roughly into two sketches
1.Conventional AI
2.Computational intelligence (CI)
1. Conventional AI
The foundations of conventional AI are numerical techniques like data analytics, including
statistical analysis, modelling, and machine learning. This has been the primary approach to AI
over the past few decades with significant success by numerous companies in many industries.
This approach limits the situations to which conventional AI can be applied." These techniques
include fuzzy logic, have become known as soft computing.
Methods include:
•Expert Systems
•Case based reasoning
•Bayesian networks
•Modular method of building Systems
2. Computational intelligence
Computational Intelligence (CI) is the theory, design, application and development of biologically
and linguistically motivated computational paradigms. Deep Learning, in particular deep
convolutional neural networks. Nowadays, deep learning has become the coremethod for artificial
intelligence. In fact, some of the most successful AI systems are basedon CI.
The expression computational intelligence usually refers to the ability of a computer to learn a
specific task from data or experimental observation. Even though it is commonly considered a
synonym of soft computing, there is still no commonly accepted definition of computational
intelligence.
Methods include:
1.Neural networks
2.Fuzzy systems
3.Evolutionary computation
4.Genetic algorithms
10
URCET AI-ML VIRTUAL INTERNSHIP
11
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 3
DeepMind made headlines in 2016 after its AlphaGo program beat a human professional Go
player Lee Sedol, a world champion, in a five-game match, which was the subject of a
documentary film
3.1.1 History:
12
URCET AI-ML VIRTUAL INTERNSHIP
Deep reinforcement learning is a category of machine learning and artificial intelligence where
intelligent machines can learn from their actions similar to the way humans learn fromexperience.
Inherent in this type of machine learning is that an agent is rewarded or penalisedbased on their
actions.
Many applications of reinforcement learning do not involve just a single agent, but rather a coll
-ection of agents that learn together and co-adapt. These agents may be competitive, as in many
games, or cooperative as in many real-world multi-agent systems. Multi-agent reniforment studie
the problems introduced in this setting.
3.4 Alpha GO
AlphaGo is a computer program that plays the board game Go. It was developed by DeepMind
Technologies a subsidiary of Google. Subsequent versions of AlphaGo became increasingly
powerful, including a version that competed under the name Master.
He started his career in 1996 (promoted to professional dan rank at the age of 12), winning 18
international titles since then. He is a "national hero" in his native South Korea, known for his
unconventional and creative play. Lee Sedol initially predicted he would defeat AlphaGo in a
"landslide".
AlphaGo Zero, developed by Google-owned DeepMind, is the latest iteration of the AIprogram.
The original AlphaGo defeated Go master Lee Sedol last year, and AlphaGo Master, an updated
version, went on to win 60 games against top human players.
3.5 Controversies
The use of AI in judicial systems around the world is increasing, creating more ethical questions
to explore. AI could presumably evaluate cases and apply justice in a better, faster, and more
efficient way than a judge.
AI methods can potentially have a huge impact in a wide range of areas, from the legal
professions and the judiciary to aiding the decision-making of legislative and administrative
public bodies. For example, they can increase the efficiency and accuracy of lawyers in both
counselling and litigation, with benefits to lawyers, their clients and society as a whole.
Existing software systems for judges can be complemented and enhanced through AI tools to
support them in drafting new decisions. This trend towards the ever-increasing use of
autonomous systems has been described as the automatization of justice.
But there are many ethical challenges:
13
URCET AI-ML VIRTUAL INTERNSHIP
Artificial intelligence is used in healthcare to discover links between genetic codes, power
surgical robots and maximize hospital efficiency.
14
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 4
Goals of AI
4.1 Main goals of Artificial Intelligence:
The traditional goals of AI research include reasoning, knowledge representation, planning,
learning, natural language processing, perception, and the ability to move and manipulate objects.
General intelligence (the ability to solve an arbitrary problem) is among the field's long-term
goals.
Deductive reasoning is inferring new information from previously known data connected
logically. The argument's conclusion must be proper if and only if the premises are true.
Moreover, in AI, deductive reasoning is a propositional logic requiring many rules and facts.
It's also known as top-down reasoning, and it's the opposite of inductive reasoning. Inductive
reasoning:
15
URCET AI-ML VIRTUAL INTERNSHIP
4.1.3 planning:
The planning in Artificial Intelligence is about the decision making tasks performed by therobots
or computer programs to achieve a specific goal.
The execution of planning is about choosing a sequence of actions with a high likelihood to
complete the specific task.
The field of robotics is closely related to AI. Intelligence is required for robots to be able to
handle such tasks as object manipulation and navigation, with sub-problems of localization
(knowing where you are), mapping (learning what is around you) and motion planning .
16
URCET AI-ML VIRTUAL INTERNSHIP
Social intelligence is a general term at the intersection between different disciplines including
philosophy, social science/sociology, economics, legal science, psychology, etc., and computer
science. Broadly speaking, social intelligence is the capacity to understand others and to act
rationally and emotionally in relations with others. This is an ability that not only human but also
artificial agents have, as modelled in artificial intelligence and agent-based research in particular.
Information Retrieval: For example, when I tell the computer what I am looking for, then itcan
search related things for me.
Intelligent customer service: We interact with the computer through voice and let it answerour
questions.
4.3.1 Automation:
The most complex level of automation is artificial intelligence (AI) automation. The additionof
AI means that machines can ―learn‖ and make decisions based on past situations they have
encountered and analyzed.
Automation is a machine executing a series of instructions exclusively set by humans. If an
action isn't explicitly described in the instructions, the machine can't do it. With AI, however,the
machine can take broad rules outlined by humans, and determine its own pathways to success.
17
URCET AI-ML VIRTUAL INTERNSHIP
4.3.2 Cybernetics:
Cybernetics is the science of human-machine interaction that employs the principles feedback,
control and communication.
Wiener defined cybernetics as ―the science of control and communications in the animal and
machine.‖ This definition relates cybernetics closely with the theory of automatic control andalso
with physiology, particularly the physiology of the nervous system.
There are many examples of cybernetic systems and that are the various kinds of automatic
control devices in engineering. For instance, an automatic pilot or a controller that maintains a
constant temperature in a room, electronic computers, the human brain, biological populations,
as well as human society.
1. Human-Agent: A human agent has eyes, ears, and other organs which work forsensors
and hand, legs,vocal tract work for actuators2.
2. Robotic Agent: A robotic agent can have cameras, infrared range finder, NLP forsensors
and various motors for actuators.
3. Software Agent: Software agent can have keystrokes, file contents as sensory inputand
act on those inputs and display output on the screen.
18
URCET AI-ML VIRTUAL INTERNSHIP
19
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 5
Applications of AI
AI research is focused on developing efficient problem-solving algorithms that can make logical
deductions and simulate human reasoning while solving complex puzzles. AI systems offer
methods to deal with uncertain situations or handle the incomplete information conundrum by
employing probability theory, such as a stock market prediction system.
2. Incorporate knowledge representation
20
URCET AI-ML VIRTUAL INTERNSHIP
Gaming implementation of AI
21
URCET AI-ML VIRTUAL INTERNSHIP
commands without the formalized syntax of computer languages. NLU also enables computers to
communicate back to humans in their own languages.
22
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 6
Data gathering: Relevant data for an analytics application is identified and assembled. The data
may be located in different source systems, a data warehouse or a data lake, an increasingly
common repository in big data environments that contain a mix of structured and unstructured
data. External data sources may also be used. Wherever the data comes from, a data scientist
often moves it to a data lake for the remaining steps in the process.
Data preparation: This stage includes a set of steps to get the data ready to be mined. It starts
with data exploration, profiling and pre-processing, followed by data cleansing work tofix errors
and other data quality issues. Data transformation is also done to make data sets consistent,
unless a data scientist is looking to analyse unfiltered raw data for a particular application.
23
URCET AI-ML VIRTUAL INTERNSHIP
Optimization is the process where we train the model iteratively that results in a maximumand
minimum function evaluation. It is one of the most important phenomena in Machine Learning to
get better results.
3. Gradient Descent:
Gradient Descent is an optimization algorithm and it finds out the local minima of a
differentiable function. It is a minimization algorithm that minimizes a given function.
Here, the minima is the origin(0, 0). The slope here is Tanθ. So the slope on the right side is
positive as 0<θ<90 and its Tanθ is a positive value. The slope on the left side is negative as
90<θ<180 and its Tanθ is a negative value.
Slope of points as moved towards minima (Image by Author)
One important observation in the graph is that the slope changes its sign from positive tonegative
at minima. As we move closer to the minima, the slope reduces.
So, how does the Gradient Descent Algorithm work?Objective: Calculate X*- local
minimum of the function Y=X².
Calculate X₁ = X₀-r[df/dx] at X₀. r is Learning Rate (we‘ll discuss r in Learning Rate Section).Let
us take r=1. Here, df/dx is nothing but the gradient.
Calculate for all the points: X₁, X₂, X₃, ……., Xᵢ-₁, Xᵢ
24
URCET AI-ML VIRTUAL INTERNSHIP
When we keep r as constant, we end up with an oscillation problem. So, we have to reducethe
―r‖ value with each iteration. Reduce the r value as the iteration step increases.
We‘ll calculate W₀, W₁, W₂, …., Wᵢ-₁, Wᵢ to find W*. When (Wᵢ-₁ — Wᵢ) is small i.e., whenWᵢ-₁,
Wᵢ converge, we declare W* = Wᵢ
The disadvantage of Gradient Descent:
When n (number of data points) is large, the time it takes for k iterations to calculate theoptimum
vector becomes very large.
Computer vision (facial recognition, motion tracking, object detection) Computational biology
(DNA sequencing, brain tumor detection, drug discovery) Automotive, aerospace, and
manufacturing
25
URCET AI-ML VIRTUAL INTERNSHIP
26
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 7
Goals of ML
27
URCET AI-ML VIRTUAL INTERNSHIP
7.1.2 Robotics:
The robots are designed to be used for any purpose but these are using in sensitive environments
like bomb detection, deactivation of various bombs etc. Robots can take any form but many of
them have given the human appearance.
Characteristics of Robotics are:
Appearance:
Robots have a physical body. They are held by the structure of their body and are moved bytheir
mechanical parts. Without appearance, robots will be just a software program.
Brain:
Another name of brain in robots is On-board control unit. Using this robot receive information
and sends commands as output. With this control unit robot knows what to do else it‘ll be just a
remote-controlled machine.
Sensors:
The use of these sensors in robots is to gather info from the outside world and send it toBrain.
Basically, these sensors have circuits in them that produces the voltage in them.
Actuators:
The robots move and the parts with the help of these robots move is called Actuators. Some
examples of actuators are motors, pumps, and compressor etc. The brain tells these actuators
when and how to respond or move.
Program: Robots only works or responds to the instructions which are provided to them in the
form of a program. These programs only tell the brain when to perform which operation like
when to move, produce sounds etc. These programs only tell the robot how to use sensorsdata to
make decisions.
Behaviour:
Robots behaviour is decided by the program which has been built for it. Once the robot starts
making the movement, one can easily tell which kind of program is being installed inside the
robot.
7.1.3 Video games:
In video games, various artificial intelligence techniques have been used in a variety of ways,
ranging from non-player character (NPC) control to procedural content generation (PCG).
Machine learning is a subset of artificial intelligence that focuses on using algorithms and
statistical models to make machines act without specific programming. This is in sharp contrast
to traditional methods of artificial intelligence such as search trees and expert systems.
28
URCET AI-ML VIRTUAL INTERNSHIP
29
URCET AI-ML VIRTUAL INTERNSHIP
1. Radiology:
AI is being used to analyse X- ray, CT and MRI scans, to diagnose medical conditions in patients.
The computer vision techniques allow programs to detect abnormalities in radiology images, and
have reached up to 100% accuracy on test datasets, for several diseases. Not onlydoes AI provide
an accurate diagnosis, but also is very time efficient as compared to conservative diagnostic
techniques. In the recent COVID-19 outbreak, AI has proved to be a great asset in zero-contact
diagnosis, especially for contagious diseases. The success of AI in the field of medical diagnosis,
gives hope for a future with minimized errors and speedy diagnosis, which will take healthcare
years ahead of its time.
3. Drug Discovery:
Integrating AI with bio-tech platforms is one of the most interesting applications of AI in
healthcare today. Several pharmaceutical companies like Pfizer are applying machine learning,
in search of immuno-oncology drugs. By finding patterns in medical data, and studying the
30
URCET AI-ML VIRTUAL INTERNSHIP
outcomes of existing drugs on patients, they are trying to discover new combinations of drug
ingredients for developing novel drugs. With some very advanced projects like Chem GAN
currently available online, researchers and AI engineers are trying unprecedented techniques for
discovering new drugs and vaccines to combat chronic and several other illnesses.
31
URCET AI-ML VIRTUAL INTERNSHIP
32
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 8
Introduction to AI-ML
8.1 Definition of Artificial Intelligence:
The theory and development of computer systems able to perform tasks that normally require
human intelligence, such as visual perception, speech recognition, decision-making, and
translation between languages.
The term "artificial intelligence" had previously been used to describe machines that mimic and
display "human" cognitive skills that are associated with the human mind, such as "learning" and
"problem-solving". This definition has since been rejected by major AI researchers who now
describe AI in terms of rationality and acting rationally, which does notlimit how intelligence can
be articulated.
Artificial intelligence was founded as an academic discipline in 1956, and in the years sincehas
experienced several waves of optimism followed by disappointment and the loss of funding
(known as an "AI winter‖), followed by new approaches, success and renewed funding.AI
research has tried and discarded many different approaches since its founding, including
simulating the brain, modelling human problem solving, formal logic, large databases of
knowledge and imitating animal behaviour. In the first decades of the 21st century, highly
mathematical-statistical machine learning has dominated the field, and this technique has proved
highly successful, helping to solve many challenging problems throughout industryand academia.
33
URCET AI-ML VIRTUAL INTERNSHIP
Supervised learning:
In supervised learning, the machine is taught by example. The operator provides the machine
learning algorithm with a known dataset that includes desired inputs and outputs, and the
algorithm must find a method to determine how to arrive at those inputs and outputs. While the
operator knows the correct answers to the problem, the algorithm identifies patterns in data,
learns from observations and makes predictions. The algorithm makes predictions and is
corrected by the operator – and this process continues until the algorithm achieves a high level
of accuracy/performance.
Under the umbrella of supervised learning fall: Classification, Regression and Forecasting.
1. Classification: In classification tasks, the machine learning program must draw a conclusion
from observed values and determine to what category new observationsbelong.
For example, when filtering emails as ‗spam‘ or ‗not spam‘, the program must look atexisting
observational data and filter the emails accordingly.
2. Regression: In regression tasks, the machine learning program must estimate – and
understand – the relationships among variables. Regression analysis focuses on one
dependent variable and a series of other changing variables – making it particularly usefulfor
prediction and forecasting.
3. Forecasting: Forecasting is the process of making predictions about the future based onthe
past and present data, and is commonly used to analyse trends.
Semi-supervised learning:
Semi-supervised learning is similar to supervised learning, but instead uses both labelled and
unlabelled data. Labelled data is essentially information that has meaningful tags so that the
algorithm can understand the data, whilst unlabelled data lacks that information. By using this
combination, machine learning algorithms can learn to label unlabelled data.
Unsupervised learning:
Here, the machine learning algorithm studies data to identify patterns. There is no answer keyor
human operator to provide instruction. Instead, the machine determines the correlations and
relationships by analysing available data. In an unsupervised learning process, the machine
learning algorithm is left to interpret large data sets and address that data accordingly. The
algorithm tries to organise that data in some way to describe its structure.
34
URCET AI-ML VIRTUAL INTERNSHIP
This might mean grouping the data into clusters or arranging it in a way that looks more
organised.
As it assesses more data, its ability to make decisions on that data gradually improves and
becomes more refined.
35
URCET AI-ML VIRTUAL INTERNSHIP
• Linear regression
• Logistic regression
• Decision tree
• SVM algorithm
• Naive Bayes algorithm
• KNN algorithm
• K-means
• Random forest algorithm
• Dimensionality reduction algorithms
• Gradient boosting algorithm and Ada Boosting algorithm
1. Linear Regression:
To understand the working functionality of Linear Regression, imagine how you would arrange
random logs of wood in increasing order of their weight. There is a catch; however –you cannot
weigh each log. You have to guess its weight just by looking at the height and girth of the log
(visual analysis) and arranging them using a combination of these visible parameters. This is
what linear regression in machine learning is like.
2. Logistic Regression:
Logistic Regression is used to estimate discrete values (usually binary values like 0/1) from aset
of independent variables. It helps predict the probability of an event by fitting data to a logit
function. It is also called logit regression. These methods listed below are often used to help
improve logistic regression models:
3. Decision Tree:
Decision Tree algorithm in machine learning is one of the most popular algorithm in use
today; this is a supervised learning algorithm that is used for classifying problems. It works
well in classifying both categorical and continuous dependent variables. This algorithm
divides the population into two or more homogeneous sets based on the most significant
attributes/ independent variables.
36
URCET AI-ML VIRTUAL INTERNSHIP
SVM algorithm is a method of a classification algorithm in which you plot raw data as points
in an n-dimensional space (where n is the number of features you have). The value of each
feature is then tied to a particular coordinate, making it easy to classify the data. Lines called
classifiers can be used to split the data and plot them on a graph.
A Naive Bayes classifier assumes that the presence of a particular feature in a class is
unrelated to the presence of any other feature.
Even if these features are related to each other, a Naive Bayes classifier would consider all of
these properties independently when calculating the probability of a particular outcome.
A Naive Bayesian model is easy to build and useful for massive datasets. It's simple and is
known to outperform even highly sophisticated classification methods.
This algorithm can be applied to both classification and regression problems. Apparently,
within the Data Science industry, it's more widely used to solve classification problems. It‘s a
simple algorithm that stores all available cases and classifies any new cases by taking a
majority vote of its k neighbours. The case is then assigned to the class with which it has the
most in common. A distance function performs this measurement. Things to consider before
selecting K Nearest Neighbours Algorithm:
• Variables should be normalized, or else higher range variables can bias the algorithm
7. K-Means:
It is an unsupervised learning algorithm that solves clustering problems. Data sets are
classified into a particular number of clusters (let's call that number K) in such a way that all
the data points within a cluster are homogenous and heterogeneous from the data in other
clusters.
How K-means forms clusters:
• The K-means algorithm picks k number of points, called centroids, for each cluster.
37
URCET AI-ML VIRTUAL INTERNSHIP
• Each data point forms a cluster with the closest centroids, i.e., K clusters.
• With these new centroids, the closest distance for each data point is determined. This
process is repeated until the centroids do not change.
A collective of decision trees is called a Random Forest. To classify a new object based on its
attributes, each tree is classified, and the tree ―votes‖ for that class. The forest chooses the
classification having the most votes (over all the trees in the forest).
• If the number of cases in the training set is N, then a sample of N cases is taken at
random.
This sample will be the training set for growing the tree.
• Each tree is grown to the most substantial extent possible. There is no pruning.
Dimensionality reduction algorithms like Decision Tree, Factor Analysis, Missing Value
Ratio, and Random Forest can help you find relevant details.
Artificial Intelligence has grown to have a significant impact on the world. With large
amounts of data being generated by different applications and sources, machine learning
systems can learn from the test data and perform intelligent tasks.
There are various types of artificial intelligence, such as reactive, limited memory, theory of
mind, and self aware. The machine performs various AI algorithms in order to carry out the
tasks.Algorithms are subsets of machine learning that automates the process of machine
learning. It is these algorithms that tell the machine how to learn on its own.
38
URCET AI-ML VIRTUAL INTERNSHIP
Classification of Algorithms:
a) Naive Bayes:
Naive Bayes algorithm works on Bayes theorem and takes a probabilistic approach, unlike
other classification algorithms. The algorithm has a set of prior probabilities for each class.
Once data is fed, the algorithm updates these probabilities to form something known as
posterior probability. This comes useful when you need to predict whether the input belongs
to a given list of classes or not.
b) Decision Tree:
The decision tree algorithm is more of a flowchart like an algorithm where nodes represent
the test on an input attribute and branches represent the outcome of the test.
It is a very simple kind of a probabilistic tree that enables to make decisions about some kind
of process. This tool assumes a tree like model and its possible consequences.
c) Random Forest:
Random forest works like a group of trees. The input data set is subdivided and fed into
different decision trees. The average of outputs from all decision trees is considered. Random
forests offer a more accurate classifier as compared to Decision tree algorithm.
Random forests is used in many industries such as healthcare, manufacturing, banking etc.
d) Support Vector Machines:
SVM is an algorithm that classifies data using a hyperplane, making sure that the distance
between the hyperplane and support vectors is maximum.
It is a supervised learning algorithm that can be used for either classification and regression
problems. One of the example of SVM is Face detection, classification of images, hand
writing detection, text and hypertext categorization, etc.
e) K Nearest Neighbours:
KNN algorithm uses a bunch of data points segregated into classes to predict the class of a
new sample data point. It is called ―lazy learning algorithm‖ as it is relatively short as
compared to other algorithms.
2. Regression Algorithms:
Regression algorithms are a popular algorithm under supervised machine learning algorithms.
Regression algorithms can predict the output values based on input data points fed in the
learning system. There are various types of regression such as linear regression, polynomial
regression, etc. The most common algorithms under this section are
a)Linear regression:
It is used to measure genuine qualities by considering the consistent variables. It is the
simplest of all regression algorithms but can be implemented only in cases of linear
relationship or a linearly separable problem. The algorithm draws a straight line between data
points called the best-fit line or regression line and is used to predict new values.
b) Lasso Regression:
Lasso regression algorithm works by obtaining the subset of predictors that minimizes
prediction error for a response variable. This is achieved by imposing a constraint on data
points and allowing some of them to shrink to zero value.
The lasso regression is used to obtain the subset of predictors that helps in minimizing the
error in prediction. Lasso puts a constraint on the model parameters that make the regression
coefficients shrink to zero.
39
URCET AI-ML VIRTUAL INTERNSHIP
c) Logistic Regression:
Logistic regression is mainly used for binary classification. This method allows you to
analyse a set of variables and predict a categorical outcome. Its primary applications include
predicting customer lifetime value, house values, etc.
There are multiple real-life applications of logistic regression such as banking. A credit card
company can know if the transaction amount and credit score will lead to fraudulent
transaction or not.
e) Multiple Regression Algorithm:
Multiple Regression Algorithm uses a combination of linear regression and non-linear
regression algorithms taking multiple explanatory variables as inputs. The main applications
include social science research, insurance claim genuineness, behavioural analysis, etc.
3. Clustering Algorithms:
Clustering is the process of segregating and organizing the data points into groups based on
similarities within members of the group. This is part of unsupervised learning. The main aim
is to group similar items. For example, it can arrange all transactions of fraudulent nature
together based on some properties in the transaction. There are various advantages to using
clustering algorithms.
a) K-Means Clustering:
It is the simplest unsupervised learning algorithm. The algorithm gathers similar data points
together and then binds them together into a cluster. The clustering is done by calculating the
centroid of the group of data points and then evaluating the distance of each data point from
the centroid of the cluster. Based on the distance, the analysed data point is then assigned to
the closest cluster. ‗K‘ in K-means stands for the number of clusters the data points are being
grouped into.
b) Fuzzy C-means Algorithm:
FCM algorithm works on probability. Each data point is considered to have a probability of
belonging to another cluster. Data points don‘t have an absolute membership over a
particular cluster, and this is why the algorithm is called fuzzy.Fuzzy C- Means is a
clustering technique wherein the data set gets grouped into N clusterswhere each data point
in the dataset belongs to every cluster in one way or the other.
c) Expectation-Maximisation (EM) Algorithm:
It is based on Gaussian distribution we learned in statistics. Data is pictured into a Gaussian
distribution model to solve the problem. After assigning a probability, a point sample is
calculated based on expectation and maximization equations.
d) Hierarchical Clustering Algorithm:
These algorithms sort clusters hierarchical order after learning the data points and making
similarity observations. It can be of two types
• Divisive clustering, for a top-down approach
• Agglomerative clustering, for a bottom-up approach
40
URCET AI-ML VIRTUAL INTERNSHIP
41
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 9
In this type of machine learning, data scientists supply algorithms with labeled training data and
define the variables they want the algorithm to assess for correlations. Both the input and the
output of the algorithm is specified.
Supervised learning is the types of machine learning in which machines are trained using well
"labelled" training data, and on basis of that data, machines predict the output. The labelled data
means some input data is already tagged with the correct output.
42
URCET AI-ML VIRTUAL INTERNSHIP
1. Regression
Regression algorithms are used if there is a relationship between the input variable and the output
variable. It is used for the prediction of continuous variables, such as Weather forecasting,
Market Trends, etc. Below are some popular Regression algorithms which comeunder supervised
learning:
o Linear Regression
o Regression Trees
o Non-Linear Regression
o Bayesian LinearRegression
o Polynomial Regression
2. Classification
Classification algorithms are used when the output variable is categorical, which means thereare
two classes such as Yes-No, Male-Female, True-false, etc.
Spam Filtering,
Disadvantages of supervised learning: o Supervised learning models are not suitable for
handling the complex tasks. o Supervised learning cannot predict the correct output if the test
data is different from the training dataset. oTraining required lots of computation times.In
supervised learning, we need enough knowledge about the classes of object.
43
URCET AI-ML VIRTUAL INTERNSHIP
Below are some main reasons which describe the importance of Unsupervised Learning:
o Unsupervised learning is helpful for finding useful insights from the data. o Unsupervised
learning is much similar as a human learns to think by their own experiences, which
makes it closer to the real AI. o Unsupervised learning works on unlabelled and
uncategorized data which make unsupervised learning more important.
o In real-world, we do not always have input data with the corresponding output so tosolve
such cases, we need unsupervised learning.
The unsupervised learning algorithm can be further categorized into two types of problems:
44
URCET AI-ML VIRTUAL INTERNSHIP
o Clustering: Clustering is a method of grouping the objects into clusters such that objects
with most similarities remains into a group and has less or no similarities withthe objects
of another group. Cluster analysis finds the commonalities between the data objects and
categorizes them as per the presence and absence of those commonalities.
Association: An association rule is an unsupervised learning method which is used forfinding
the relationships between variables in the large database. It determines the set of items that
occurs together in the dataset. Association rule makes marketing strategy more effective. Such
as people who buy X item (suppose a bread) are also tend topurchase Y (Butter/Jam) item.
45
URCET AI-ML VIRTUAL INTERNSHIP
46
URCET AI-ML VIRTUAL INTERNSHIP
Positive:
It is defined as an event, that occurs because of specific behavior. It increases the strength
and the frequency of the behavior and impacts positively on the action taken by the agent.
This type of Reinforcement helps you to maximize performance and sustain change for a
more extended period. However, too much Reinforcement may lead to over-optimization
ofstate, which can affect the results.
Negative:
Negative Reinforcement is defined as strengthening of behavior that occurs because of a
negative condition which should have stopped or avoided. It helps you to define the
minimumstand of performance. However, the drawback of this method is that it provides
enough to meet up the minimum behavior.
47
URCET AI-ML VIRTUAL INTERNSHIP
WEEK 10
Regression
Polynomial provides the best approximation of the relationship between the dependent and
independent variable. A Broad range of function can be fit under it. Polynomial basically fits a
wide range of curvature.
48
URCET AI-ML VIRTUAL INTERNSHIP
Logistic Regression is one of the basic and popular algorithms to solve a classificationproblem.
It is named 'Logistic Regression' because its underlying technique is quite the same as Linear
Regression. The term ―Logistic‖ is taken from the Logit function that is used in this method of
classification.
On the basis of the categories, Logistic Regression can be classified into three types:
o Binomial: In binomial Logistic regression, there can be only two possible types of the
dependent variables, such as 0 or 1, Pass or Fail, etc.
o Multinomial: In multinomial Logistic regression, there can be 3 or more possible
unordered types of the dependent variable, such as "cat", "dogs", or "sheep"
o Ordinal: In ordinal Logistic regression, there can be 3 or more possible ordered typesof
dependent variables, such as "low", "Medium", or "High".
49
URCET AI-ML VIRTUAL INTERNSHIP
Conclusion of AI-ML
AI holds the key to unlocking a magnificent future where, driven by data and computers that
understand our world, we will all make more informed decisions. These computers of the future
will understand not just how to turn on the switches but why the switches need to be turned on.
ML is a powerful tool for making predictions from data. However, it is important to remember
that machine learning is only as good as the data that is used to trainthe algorithms.
Artificial Intelligence and Machine Learning are products of both science and myth. The idea
that machines could think and perform tasks just as humans do is thousands of years old. The
cognitive truths expressed in AI and Machine Learning systems are not new either. It may be
better to view these technologies as the implementation of powerful and long-established
cognitive principles through engineering.
50
URCET AI-ML VIRTUAL INTERNSHIP
ACTIVITY LOG
WEEK-1 Cloud concepts overview Learnt about Moving tothe AWS Cloud
WEEK-1 Cloud economics and Learnt about Fundamentals of
billing Pricing & Total Cost ofOwnership
51
URCET AI-ML VIRTUAL INTERNSHIP
ACTIVITY LOG
WEEK-2 Networking and content Learnt about Build your VPC and
delivery Launch a Web Server
52
URCET AI-ML VIRTUAL INTERNSHIP
ACTIVITY LOG
53
URCET AI-ML VIRTUAL INTERNSHIP
ACTIVITY LOG
54
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
ACTIVITY LOG
55
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
ACTIVITY LOG
56
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
ACTIVITY LOG
57
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
ACTIVITY LOG
58
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
ACTIVITY LOG
59
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
ACTIVITY LOG
60
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
Date of Evaluation:
Organization Name & Address: Usha Rama College of Engineering and Technology &
NH-16,Telaprolu,Ungutur mandalam,Near Gannavaram,Krishna District,Ap-521109
1 Oral communication 1 2 3 4 5
2 Written communication 1 2 3 4 5
3 Proactiveness 1 2 3 4 5
4 Interaction ability with community 1 2 3 4 5
5 Positive Attitude 1 2 3 4 5
6 Self – confidence 1 2 3 4 5
7 Ability to learn 1 2 3 4 5
8 Work plan and organization 1 2 3 4 5
9 Professionalism 1 2 3 4 5
10 Creativity 1 2 3 4 5
11 Quality of work done 1 2 3 4 5
12 Time management 1 2 3 4 5
13 Understanding the community 1 2 3 4 5
14 Achievement of Desired outcomes 1 2 3 4 5
15 Overall Performance 1 2 3 4 5
61
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
Date of Evaluation:
Organization Name & Address: Usha Rama College of Engineering and Technology&
NH-16,Telaprolu,Ungutur mandalam,Near Gannavaram,Krishna District,Ap-521109
Please note that your evaluation shall be done independent of the Student’s self- evaluation
1 Oral communication 1 2 3 4 5
2 Written communication 1 2 3 4 5
3 Proactiveness 1 2 3 4 5
4 Interaction ability with community 1 2 3 4 5
5 Positive Attitude 1 2 3 4 5
6 Self – confidence 1 2 3 4 5
7 Ability to learn 1 2 3 4 5
8 Work plan and organization 1 2 3 4 5
9 Professionalism 1 2 3 4 5
10 Creativity 1 2 3 4 5
11 Quality of work done 1 2 3 4 5
12 Time management 1 2 3 4 5
13 Understanding the community 1 2 3 4 5
14 Achievement of Desired outcomes 1 2 3 4 5
15 Overall Performance 1 2 3 4 5
62
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
University : JNTUK
Sl. No
Maximum Marks
Evaluation Criterion Marks Awarded
1. Activity Log 10
2. Internship Evaluation 30
3. Oral Presentation 10
GRAND TOTAL 50
63
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
University : JNTUK
Maximum Marks
Sl. No Evaluation Criterion Marks Awarded
1. Internship Evaluation 10
3. Viva-Voice 20
TOTAL 50
64
URCET AI-ML VIRTUAL
AI-ML INTERNSHIP
VIRTUAL INTERNSHIP
65
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZ
ZZZZZZZZZZZZPro
cess Mining Virtual
Internship
66