AI
AI
Submitted by
Sheharbano
Submitted to
Sir Dr. Muhammad Suleman
Shahzad
Class
BS Sociology 1st Regular
Subject
ICT
Artificial Intelligence (AI)
Artificial Intelligence (AI) refers to the simulation of human intelligence in machines that are
programmed to think, learn, and problem-solve in ways that mimic human cognitive
functions. These functions can include tasks like reasoning, understanding language,
recognizing patterns, making decisions, and learning from experience. AI systems can be
designed for specific tasks, known as narrow AI (e.g., chat bots or voice assistants), or for
more generalized reasoning and problem-solving, which is the goal of artificial general
intelligence (AGI).
3. Computer Vision: AI systems that interpret and analyze visual data from the
world.
The key idea behind machine learning is that the more data a model is exposed to, the
better it becomes at performing its task. There are three main types of machine learning:
1. Supervised Learning: The model is trained on labeled data, meaning the input
comes with the correct output. The system learns to map inputs to outputs based on
examples, such as predicting housing prices from historical data.
2. Unsupervised Learning: The model is trained on unlabeled data, meaning
there is no specific outcome provided. The system tries to find hidden patterns or structures
in the data, such as grouping customers based on purchasing behavior (clustering).
3. Massive Data and Computational Power: Deep learning often requires large
amounts of data and significant computational power (such as GPUs) to train the deep
neural networks.
• Generative Adversarial Networks (GANs): Used for generating new data, such
as creating realistic images.
Deep learning has driven many recent breakthroughs in AI, such as advancements in self-
driving cars, natural language understanding, and complex game-playing systems like
AlphaGo.
2. Pooling Layers: These layers reduce the spatial dimensions of the data,
typically using operations like max pooling (taking the maximum value in a region). This
helps reduce computational complexity and prevent overfitting while retaining important
information.
3. Fully Connected Layers: After several convolutional and pooling layers, the
output is flattened and passed through fully connected layers, where all neurons are
connected to every neuron in the previous layer. These layers perform classification based
on the extracted features.
5. Output Layer: This layer typically uses a softmax function (for classification
tasks) to produce probabilities for different classes, identifying which category the input
image most likely belongs to.
Their architecture’s ability to capture spatial dependencies and automatically learn features
has made CNNs a foundational tool in fields like autonomous vehicles, medical imaging, and
facial recognition systems.
2. Layers:
• Input Layer: The first layer that receives the raw data input.
• Hidden Layers: Intermediate layers between the input and output layers
where computations take place. There can be one or more hidden layers in a network, and
these layers transform the input data into higher-level features.
• Output Layer: The final layer that produces the result, often a classification or
regression output.
5. Training: ANNs learn from data through a process called training, where the
network adjusts its weights and biases by minimizing a loss function. This is often done
using optimization techniques like back propagation combined with gradient descent.
ANNs can be applied to various tasks, including:
ANNs form the basis of more advanced networks like Convolutional Neural Networks
(CNNs) and Recurrent Neural Networks (RNNs), and are widely used in fields such as
image recognition, natural language processing, and predictive analytics.
The diagram will show the hierarchy between AI, Machine Learning, Deep Learning, CNN,
and ANN. At the top, AI (Artificial Intelligence) will be the broadest category, containing
Machine Learning as a subset. Within Machine Learning, there will be a section for Deep
Learning, which in turn contains both ANN (Artificial Neural Networks) and CNN
(Convolutional Neural Networks) as specific types of deep learning architectures.
Here is the diagram illustrating the relationship between AI, Machine Learning, Deep
Learning, ANN, and CNN. It shows their hierarchical structure, with AI as the broadest
category at the top.