AI project cycle
AI project cycle
AI project cycle is the process of converting the real-life problem into an AI-based model.
1. Problem Scoping: The first step is problem scoping which involves identifying a problem and having a
vision to solve it.
2. Data Acquisition: The second step is data acquisition in which every Al system needs to be trained using
the past data.
3. Data Exploration: The third step is data exploration in which we need to start visualising the data in a
way so that it could be used to analyse trends.
4. Modelling: The fourth step is modelling which refers to developing algorithms, also called models which
can be trained to get intelligent outputs. It involves writing codes to make a machine artificially
intelligent.
5. Evaluation: The last and the final stage is evaluation and deployment in which the Al model is tested and
4W’s Problem Canvas-
To understand step by step how problem scoping is done we, 4Ws Problem Canvas is used.
Who?- The Who block helps in analysing the people getting affected directly or indirectly because of it.
Under this, we find out who the 'stakeholders' are and what we know about them.
What? - Under the What block, we need to look into what is the actual problem. At this stage, we need to
determine the nature of the problem: what is the problem, and how do we know that it is a problem?
Where?-This block will help us look into the situation in which the problem arises, the context of the
problem and the location where it is prominent.
Why?- In the why canvas we think about the benefits which the stakeholders would get from the solution
and how would it benefit them as well as the society.
Python
What is Python?-
Python is a general-purpose, object-oriented, easy-to-learn and high-level programming language. Guido
van Rossum designed Python and released it in 1991. He wanted to give a unique name to it so he named it
after the famous BBC comedy TV show "Monty Python's Flying Circus". Python as a language supports
simple English-like statements making it easy for the programmers to learn and maintain. This is one
important reason for its popularity.
FEATURES OF PYTHON
Some features of Python programming language are as follows:
Python is a simple language: Learning and using Python is easy as it uses simple English words and is not
very rigid.
Python is platform-independent: A platform is the hardware or software environment in which a program
runs. Python can be run on different platforms such as Linux, Windows, Mac 0S, etc.
Python is an object-oriented language: Python follows object-oriented approach and uses the concept of
classes and objects.
Python is extensible and integrated: Python has the flexibility of code written in other languages such as
C/C++ to be incorporated in it. We can merge the code written in these languages in our Python programs
and can run them.
Python is free and an open source language: Python is available on the internet free of cost and can easily
be downloaded from Python's official website.
Python is an interpreted language: Python uses interpreter to run programs. Interpreter translates the
program line-by-line which makes the process of debugging easy.
Python has an inbuilt IDLE: Python has an inbuilt IDLE (Integrated Development and Learning
Environment) using which Python programs can be easily written, debugged and run within
the same window.
LIMITATIONS OF PYTHON
Although Python is an easy to learn and a very popular object-oriented language, it still has some
limitations. Let us learn about these limitations.
Slow in speed: The execution speed of a program is slower in Python as compared to other object-oriented
programming languages like C++ or Java.
Not suitable for mobile applications: Python is not considered efficient or suitable enough for developing
applications to be run on mobile phones.
High memory consumption: Python data-types occupy more memory space, thus Python is not considered
as a good option for developing intensive memory-related applications.
Restricted database access: Python has limitations while working with database applications. Its database
access layer is somewhat underdeveloped and primitive.
Extension of python file- .py
IDLE- Integrated Development and Learning Environment.
Working in Python
We can interact with Python in two different modes:
Interactive Mode (Python IDLE-Shell Mode): In this mode, you type one command at a time in front of the
Python command prompt (>>>) and Python gives you the result based on the command given. It means
you run code directly on shell mode accessed through the terminal of an operating system.
Script Mode (Editor): In this mode, you save all your commands together in any text editor with the
extension .py. When we run this text [Link] then the output of the commands will be displayed in Shell
mode. Click on the Run → Run Module or press F5 key to run the program in script mode.
Comments in python
Single line comment #
Multiline comments ‘’’… ‘’’
Arithmetic Operators in python
Operator Name use
+ Addition To add
- Subtraction To subtract
* Multiplication To multiply
/ Division To divide
** Exponential To raise exponent
// Floor division To get quotient
% Modulus To get remainder
****