Chapter # 6 Artificial Intelligence
Chapter # 6 Artificial Intelligence
Chapter 6
Artificial Intelligence
Definition of AI
• Artificial Intelligence (AI) refers to a
broad field of science encompassing
not only computer science but also
psychology, philosophy, linguistics and
other areas.
• AI is concerned with getting computers
or computer-controlled robots to do
tasks that would normally require
human intelligence.
Examples of AI Technologies
• Several examples of AI impact our lives today.
Subsets of AI
• It can be used to create talking head videos from text for marketing,
training, corporate communications…
• https://youtu.be/wMn-REUq6Ws
c. Text Generation: Chatbots
• a computer program that uses artificial
intelligence (AI) technologies to simulate a
conversation with human users.
• designed to interact with users in natural
language, either through text or voice,
• can be used for a wide range of applications,
including customer service, information retrieval,
and entertainment.
• use natural language processing (NLP) techniques
to understand user queries and generate
appropriate responses.
• can be integrated into websites, messaging
platforms, and mobile apps to provide users with
instant access to information and support.
Examples of chatbots
• ChatGPT:
• an AI chatbot created by OpenAI, released in November 2022.
• built on a family of large language models (LLMs) collectively known as GPT-3.
• These models can understand and generate human-like answers to text
prompts because they've been trained on huge amounts of data.
• can generate new text similar in style and content to a given prompt,
• can summarize a text.
• can also write codes, poems, songs, and even short stories in the style of a
specific author.
• Bing Chatbot: embedded in the Microsoft
Edge browser, powered by ChatGPT.
1. High Cost
2. Limited capabilities
3. Job displacement
4. Ethical concerns
5. Dependance on electricity and maintenance
6. Security risks
7. Social interaction
8. Fear and mistrust
9. Technological limitations
10.Environmental impact
• https://www.youtube.com/watch?v=8qNWwPj5Yd4
5. Neural Networks
• A neural network is a series of algorithms
that endeavors to recognize underlying
relationships in a set of data through a
process that mimics the way the human
brain operates. In this sense, neural
networks refer to systems of neurons,
either organic or artificial in nature.
Neural Networks (Cont)
• Artificial neural networks provide a powerful tool to help doctors
analyze, model, and make sense of complex clinical data across a
broad range of medical applications. Most applications of artificial
neural networks in medicine are classification problems.
• An artificial neural network (ANN) is a computational model that
attempts to account for the parallel nature of the human brain. It
is a network of highly interconnected processing elements
(neurons) operating in parallel. These elements are inspired by
biological nervous systems.
Neural Networks (Cont)
• Medical diagnosis using artificial intelligence (AI) systems,
particularly artificial neural networks and computer-aided
diagnosis with deep learning, is currently a very active research
area in medicine and it is believed that it will be more widely used
in biomedical systems.
• Evolving neural network techniques for medical diagnosis are
broadly considered since they are ideal in recognizing diseases
using scans.
• Neural networks learn by example so the details of how to
recognize the disease are not needed. For instance, the utilization
of deep learning-based ANN models aids in the timely diagnosis of
gastric cancer with sensitivity and specificity.
Biological Neuron vs Artificial Neuron
Biological Neuron
• Neurons use this interconnected network to pass information’s with each
other using electric and chemical signals.
• Although it may seem that neurons are fully connected, two neurons actually
do not touch each other. They are separated by tiny gap call Synapse.
• Each neuron process information and then it can ”connect” to as many as 50
000 other neurons to exchange information. If connection between two
neuron is strong enough (will be explained later) information will be passed
from one neuron to another. On their own, each neuron is not very bright but
put 100 billion of them together and let them talk to each other, then this
system becomes very powerful.
• A typical neuron would have 4 components seen on Figure 1: Dendrites,
Soma, Axon and Synapse. Dendrites gather inputs from other neurons and
when a certain
Synapse in neural network
• A synapse is the connection between nodes, or neurons, in an
artificial neural network (ANN). Similar to biological brains, the
connection is controlled by the strength or amplitude of a connection
between both nodes, also called the synaptic weight.
Artificial Neuron algorithm
• This figure represents the
architecture of an simple NN.
• It is made up from an input, output
and one or more hidden layers.
Each node from input layer is
connected to a node from hidden
layer and every node from hidden
layer is connected to a node in
output layer. There is usually some
weight associated with every
connection.
Artificial Neuron Algorithm (Cont)