Ai Project Cycle
Ai Project Cycle
CLASS – IX
UNIT 2
AI PROJECT CYCLE
Lets Understand this with a
real life example…
AI PROJECT CYCLE
Problem Scoping
• Problem identification and have a vision to solve it.
Problem Scoping
• Who? - Refers that who is facing a problem and who are the
stakeholders of the problem.
• What? - Refers to what is the problem and how you know about
the problem.
• Where? - It is related to the context or situation or location of
the problem.
• Why? - Refers to why we need to solve the problem and what
are the benefits to the stakeholders after solving the problem.
The final outcome of problem scoping is the problem statement
template.
The problem statement template
Eg: Goal is - How might we help farmers determine the best times for
seeding and for sowing their crops?
3. Final problem statement
Stakeholders Who
Our Farmers, Fertilizer Producers, Labours,
Tractor Companies
has /have a The problem, Issue, Need What
problem that
Determine what will a good time for seeding
or crop harvesting?
When/while Context/Situation When
Decide the mature age for the crop and
determine its time
An ideal solution Solution Benefits Why
would
Take the crop on time and supply
against market demand on time
Recap:
4 Ws
• Who?
– a. Who are the stakeholders?
– b. What do we know about them?
• 2. What?
– a. What is the problem?
– b. How do you that it is a problem? (is there an evidence?)
• 3. Where?
– a. What is the context/situation the stakeholders experience this
problem?
– b. Where is the problem located?
• 4. Why?
– a. What would hold value for the stakeholders?
– b. How will the solution improve their situation?
Data Acquisition
• Acquiring data for the project.
• What is data?
Data can be a piece of information or facts and statistics collected together
for reference or analysis.
Whenever we want an AI project to be able to predict an output, we need
to train it first using data.
Data Acquisition
• Data features
Data features refer to the type of
data you want to collect.
data features would be salary
amount, increment percentage,
increment period, bonus, etc.
• Types of Data
Data Acquisition
Types of Data :
a. Basic Data
b. Structural Classification
The data which is going to be feed in the system to train the model or
already fed in the system can have a specific set of constraints or rules or unique
pattern can be considered as structural data.
1. Structured Data: can have a specific pattern or set of rules.
• These data have a simple structure and stores the data in specific forms
such as tabular form. Eg: The cricket scoreboard, school time table,
Exam datasheet etc.
2. Unstructured Data: doesn't have any specific pattern or constraints as well as can
be stored in any form is known as unstructured data.
• Mostly the data that exists in the world is unstructured data.
• Eg: Videos, Facebook Photos, Dashboard data of any reporting tool.
3. Semi-Structured Data: combination of both structured and unstructured data.
Some data can have a structure like a database whereas some data can have
markers and tags to identify the structure of data.
Data Acquisition
Types of Data :
Other Classification
1. Time-Stamped Data: This structure helps the system to predict the next best action. It
is following a specific time-order to define the sequence. This time can be the time of
data captured or processed or collected.
2. Machine Data: The result or output of a specific program, system or technology
considered as machine data. It consists of data related to a user's interaction with the
system like the user's logged-in session data. , specific search records, user
engagement such as comments, likes and shares etc
3. Spatiotemporal Data: The data which contains information related to geographical
location and time is considered as spatiotemporal data. It records the location through
GPS and time-stamped data where the event is captured or data is collected.
4. Open Data: It is freely available data for everyone. Anyone can reuse this kind of data.
5. Real-time Data: The data which is available with the event is considered as real-time
data.
6. Big Data: You may hear this word most often. The data which cannot be stored by any
system or traditional data collection software like DBMS or RDBMS software can be
considered as Big data.
Data Acquisition
Data Features : type of data you want to collect.
Here two terms are associated with this:
1. Training Data: The collected data through the system is known as training data. In
other words the input given by the user in the system can be considered as training
data.
2. Testing Data: The result data set or processed data is known as testing data. In
other words, the output of the data is known as testing data.
Eg: to make an Artificially Intelligent system which can predict the
salary of any employee based on his previous salaries.
The previous salary data here is known as Training Data while the next salary
prediction data set is known as the Testing Data
For any AI project to be efficient, the training data should be authentic and
relevant to the problem statement scoped. .
Data Acquisition
Acquiring Data from reliable sources: After mentioning the Data
features, you get to know what sort of data is to be collected.
2. Sensors are very Important but very simple to understand. Sensors are the part of IoT (Internet
of things) Sensors collect the physical data and detect the changes.
3. Camera: captures the visual information and then that information which is called image is
used as a source of data. Cameras are used to capture raw visual data.
4. Observations: When we observe something carefully we get some information For ex:
Scientists Observe creatures to study them. Observations is a time consuming data source.
5. API: Application Programming interface. API is a messenger which takes requests and tells the
system about requests and gives the response.
Ex: Twitter API, Google Search API
6 Surveys: The survey is a method of gathering specific information from a sample of people.
Example, a census survey for analyzing the population.
System Maps
• System maps help us to find the relationship between the elements of the problem which we
have scoped
• A system map shows the components and boundary of a system and the components of the
environment at a point in time.
• The main use of a system map is to help structure a system and communicate the result to
others.
• It helps us in strategizing the solution for achieving the goal of our project.
• help to understand complex issues with multiple factors that affect each other
• Circles represents the elements,
• Arrows represents the relationship between the elements. Length of arrow represents time for
a change to happen. This is time delay. The arrow- head depicts the direction of the effect and
the sign (+ or -) shows their relationship. If the arrow goes from X to Y with a + sign, it means
that both are directly related to each other. If the arrow goes from X to Y with a – sign, it
means that both the elements are inversely related to each other .
• Loops represent a specific chain of causes and effects.
• To change the outcome of a system, as a change maker, either change the elements in a system
or change the relationships between elements.
System map for Water Cycle.
The major elements of this system are mentioned here.
Data Exploration
• Data Exploration refers to the techniques and tools used to visualize data
through complex statistical methods.
• Advantages of Data Visualization
❖ A better understanding of data
❖ Provides insights into data
❖ Allows user interaction
❖ Provide real-time analysis
❖ Help to make decisions
❖ Reduces complexity of data
❖ Provides the relationships and patterns contained within data
❖ Define a strategy for your data model
❖ Provides an effective way of communication among users
Bar
Line
Graph
Scatter Graph
Plot
Pie chart
Tree
Diagram
Visual
representations
Time
table
Venn
Diagrams
Brainstorm
Histogram
Types of Graphical Representation
• Bar Graph: This uses either horizontal or vertical bars to categorize and compare different
quantities. The length or height of the bar corresponds to the value it represents.
• Pie Chart: This represents data in the form of slices of a circle, where each slice represents a
category. The size of each slice is proportional to the category it represents.
• Line Graph: This shows trends over time by connecting data points with straight lines. It's
especially useful for showing changes over a period and trends.
• Pictograph: This type of graph uses pictures or icons to represent data values. Each image or
icon represents a specific number or quantity, allowing for an easy-to-understand visual
comparison.
• Histogram: This is a type of bar graph used to display frequency data. The bars are adjacent to
each other, indicating that the data is in intervals.
• Frequency Distribution: This graphical representation (usually a table or a graph) shows how
often each different value in a set of data occurs.
• Stem and Leaf Plot: This method of data representation organizes data into a semi-graphical
representation that can display large amounts of data, and allows you to see the distribution
and shape of the data set.
• Scatter Plot: This is used for displaying values for two variables for a set of data. The data is
displayed as a collection of points, each representing the value variables plotted on a
horizontal and vertical axes.
Activity: List down 5 new data visualization
techniques which you learnt from
How to select a proper graph?
1. Comparison of Values - Show periodical changes
i.e. Bar Chart
2. Comparison of Trends - Show changes
over a
period of time i.e. Line Chart
3. Distribution of Data according to
categories - Show data according to category i.e.
Histogram
4. Highlight a portion of a whole - Highlight data
according to value i.e. Pie Chart
5. Show the relationship between data - Multiple
charts can be used
Modelling
Modelling
• Artificial Intelligence, or AI refers to any technique that enables computers to mimic
human intelligence.
– An artificially intelligent machine works on algorithms and data fed to it and
gives the desired output.
• Machine Learning, or ML for short, enables machines to improve at tasks with
experience.
– The machine here learns from the new data fed to it while testing and uses it for
the next iteration. The machine learns from its mistakes and takes them into
consideration in the next execution.
– It improvises itself using its own experiences.
• Deep Learning, or DL for short, enables software to train itself to perform tasks with
vast amounts of data.
– In deep learning, the machine is trained with huge amounts of data which helps it
into training itself around the data. Such machines are intelligent enough to
develop algorithms for themselves.
Deep Learning is the most advanced form of Artificial Intelligence out of these three. Then
comes Machine Learning which is intermediately intelligent and Artificial Intelligence
AI vs ML vs DL
Artificial Intelligence Machine learning Deep Learning
AI represents ML is the practice of It is artificial neural
stimulated intelligence getting machines to network to solve
in machines. make decisions without the complex
being programmed. problems.
AI is a subset of data ML is the subset of AI DL is the subset of
science. and data science. AI , ML and data
science.
AI aims toward building ML aims to learn DL aim to build
machines that are through data to solve neural network
capable to think like problems. that automatically
humans discover patterns
for feature
detection
Modelling
• AI Modelling refers to developing algorithms, also called models which
can be trained to get intelligent outputs. That is, writing codes to make a
machine artificially intelligent.
• The graphical representation makes the data understandable for humans
as we can discover trends and patterns out of it.
• But when it comes to machine accessing and analysing data, it needs the
data in the most basic form of numbers (which is binary – 0s and 1s) and
when it comes to discovering patterns and trends in data, the machine
goes for mathematical representations of the same.
• The ability to mathematically describe the relationship between
parameters is the heart of every AI model.
• Thus, whenever we talk about developing AI models, it is the
mathematical approach towards analysing data which we refer to.
Modelling
Modelling