OBURU SIMON(ARTIFICIAL INTELLIGENCE COURSEWORK)
OBURU SIMON(ARTIFICIAL INTELLIGENCE COURSEWORK)
OBURU SIMON(ARTIFICIAL INTELLIGENCE COURSEWORK)
COURSE : BCSIT
YEAR : THREE
SEMESTER : TWO
QUESTIONS
1. Discuss the feature of Artificial intelligence.
2. Discuss the advancement of Artificial Intelligence.
ANSWERS
1. Discuss the feature of Artificial intelligence.
Artificial Intelligence (AI) refers to the development of computer systems that can
perform tasks typically requiring human intelligence. These tasks range from
problem-solving and decision-making to understanding natural language and
recognizing patterns. AI is not just a futuristic concept—it is already part of our
daily lives, powering technologies like virtual assistants, recommendation
algorithms, and facial recognition systems.
Features of Artificial Intelligence
For example:
Data entry: AI can automatically input and organize data from multiple
sources without human intervention.
Scheduling: AI assistants can manage appointments and send reminders,
reducing the need for manual scheduling.
Manufacturing: In factories, robots powered by AI can take over assembly
line jobs, ensuring consistent quality and speed.
Code Example
Here is a simple Python code example that automates data entry using the Python
library openpyxl to read and write Excel files:
workbook = load_workbook('input_data.xlsx')
data = [
sheet.append(row)
workbook.save('output_data.xlsx')
2. Deep Learning
Deep Learning is a subset of AI inspired by the way the human brain processes
information. It uses neural networks, which are layers of algorithms designed to
recognize patterns and make decisions based on data. Deep learning is responsible
for many of the most advanced AI applications, such as image recognition, speech
processing, and natural language understanding.
For example, in image recognition, deep learning algorithms can identify objects in
pictures by analyzing thousands of examples and learning to detect specific
patterns. This process allows AI systems to perform highly complex tasks with
incredible accuracy.
Code Example
Here’s a simple example using the popular TensorFlow library in Python to build a
basic neural network for image recognition:
import tensorflow as tf
model = models.Sequential([
layers.MaxPooling2D((2, 2)),
layers.Flatten(),
layers.Dense(64, activation='relu'),
layers.Dense(10, activation='softmax')
])
model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
model.summary()
3. Data Ingestion
Data ingestion is the process by which AI systems collect and process large
amounts of data from various sources. AI systems rely on vast datasets to make
accurate predictions and decisions. This feature allows AI to gather data from
multiple sources such as sensors, databases, social media, or user interactions, and
use it to improve its performance.
AI systems are designed to handle both structured and unstructured data, making it
highly versatile in a variety of applications, from healthcare to retail.
Code Example
Here’s a simple Python example using the pandas library to ingest data from a
CSV file:
import pandas as pd
data = pd.read_csv(‘sales_data.csv’)
print(data.head())
print(filtered_data)
In this example, the AI system reads and processes data from a CSV file, filtering
it based on specific conditions. This is just one of many ways AI can ingest and
analyze data to drive decision-making.
Learning: AI systems can learn patterns from data and improve over time,
such as in predictive text or personalized recommendations.
Reasoning: AI can solve complex problems by breaking them down into
smaller, manageable tasks, like how AI helps optimize logistics routes.
Problem-solving: AI can simulate problem-solving by running through
various possible scenarios, like in chess or strategic games.
However, AI remains task-specific and doesn’t possess true emotional intelligence
or consciousness.
7. Cloud Computing
import face_recognition
image = face_recognition.load_image_file("person.jpg")
face_locations = face_recognition.face_locations(image)
8.2. Chatbots
chatbot = ChatBot('CustomerSupportBot')
trainer = ChatterBotCorpusTrainer(chatbot)
trainer.train("chatterbot.corpus.english")
This basic chatbot can respond to user inputs with predefined responses, simulating
human-like conversations. More advanced chatbots can handle complex queries
using natural language processing (NLP).
6. Underlying Technologies
In the last five years, the field of AI has made major progress in almost all
its standard sub-areas, including vision, speech recognition and generation,
natural language processing (understanding and generation), image and
video generation, multi-agent systems, planning, decision-making, and
integration of vision and motor control for robotics. In addition,
breakthrough applications emerged in a variety of domains including
games, medical diagnosis, logistics systems, autonomous driving,
language translation, and interactive personal assistance. The sections that
follow provide examples of many salient developments.
People are using AI more today to dictate to their phone, get
recommendations for shopping, news, or entertainment, enhance their
backgrounds on conference calls, and so much more. The core technology
behind most of the most visible advances is machine learning, especially
deep learning (including generative adversarial networks or GANs) and
reinforcement learning powered by large-scale data and computing
resources. GANs are a major breakthrough, endowing deep networks with
the ability to produce artificial content such as fake images that pass for the
real thing. GANs consist of two interlocked components—a generator,
responsible for creating realistic content, and a discriminator, tasked with
distinguishing the output of the generator from naturally occurring content.
The two learn from each other, becoming better and better at their
respective tasks over time. One of the practical applications can be seen in
GAN-based medical-image augmentation, in which artificial images are
produced automatically to expand the data set used to train networks for
producing diagnoses. Recognition of the remarkable power of deep
learning has been steadily growing over the last decade. Recent studies
have begun to uncover why and under what conditions deep learning works
well. In the past ten years, machine-learning technologies have moved
from the academic realm into the real world in a multitude of ways that are
both promising and concerning.
7. Language Processing
Language processing technology made a major leap in the last five years,
leading to the development of network architectures with enhanced
capability to learn from complex and context-sensitive data. These
advances have been supported by ever-increasing data resources and
computing power.
Caption: The GAN technology for generating images and the transformer
technology for producing text can be integrated in various ways. These
images were produced by OpenAI’s “DALL-E” given the prompt: “a stained
glass window with an image of a blue strawberry.” A similar query to a web-
based image search produces blue strawberries, blue stained-glass
windows, or stained-glass windows with red strawberries, suggesting that
the system is not merely retrieving relevant images but producing novel
combinations of visual features. From: https://openai.com/blog/dall-e/
9. Games
10. Robotics
The last five years have seen consistent progress in intelligent robotics
driven by machine learning, powerful computing and communication
capabilities, and increased availability of sophisticated sensor systems.
Although these systems are not fully able to take advantage of all the
advances in AI, primarily due to the physical constraints of the
environments, highly agile and dynamic robotics systems are now available
for home and industrial use. In industrial robotics, with the implementation
of deep-learning-based vision systems, manipulator-type robots—those
that grab things, as opposed to those that roll across the floor—can pick up
randomly placed overlapping objects at speeds that are practical for real-
world applications.
11. Mobility
The optimistic predictions from five years ago of rapid progress in fully
autonomous driving have failed to materialize. The reasons may be
complicated, but the need for exceptional levels of safety in complex
physical environments makes the problem more challenging, and more
expensive, to solve than had been anticipated. Nevertheless, autonomous
vehicles are now operating in certain locales such as Phoenix, Arizona,
where driving and weather conditions are particularly benign, and outside
Beijing, where 5G connectivity allows remote drivers to take over if needed.
12. Health
AI has been increasingly adopted into finance. Deep learning models now
partially automate lending decisions for several lenders and have
transformed payments with credit scoring, for example WeChat Pay. These
new systems often take advantage of consumer data that are not
traditionally used in credit scoring. In some cases, this approach can open
up credit to new groups of people; in others, it can be used to force people
to adopt specific social behaviors.
o-END-o