Professional Documents
Culture Documents
Artificial Intelligence
CU6051NP
Coursework 1
The application of artificial intelligence is increasing day by day. It has been the
integral part of our daily life. It has become the reason of the quick change in
the technology and many other fields. It also has the ability of solving the
problem which are usually done by the humans with their natural intelligence.
This reports mainly reflects about the application of machine learning which is
the subsets of artificial intelligence in the gender prediction program. Report
consists of the explanation of the problem domain of gender prediction and also
some research work on the machine learning and its application. Also, naïve
bayes algorithm is introduced in this report. Moreover, how the proposed
solution addresses the real-world problem is also discussed in the report.
Table of Contents
1. Introduction................................................................................................ 1
2. Background ............................................................................................... 4
3. Solution ..................................................................................................... 7
4. Conclusion .............................................................................................. 11
1. Introduction
Artificial intelligence commonly known as the AI is the ability of a digital
computer or computer-controlled robot that perform tasks generally associated
with intelligent beings. It is usually applied to the project of developing systems
enriched with the intellectual processes characteristics of human beings such
as the ability to reason, discover meaning, generalize of learn from the past
experience (Copeland, 2020). The need of artificial intelligence is increasing
day by day. It has been one of the most important factors for the quick change
in the technology and in the business field as well. Spam filtering, credit card
fraud detection, Recommendation system, search engines, scene classification
etc are the some of the application of artificial intelligence. It has intertwined in
all that we do, therefore it is hard to imagine life without it.
Ashutosh Sunar 1
CU6051NP Artificial Intelligence
Ashutosh Sunar 2
CU6051NP Artificial Intelligence
Therefore, with the help of gender prediction by name makes easier for any
organizations to predict whether the collected names are male or female. With
the help of this system, the company or organization can simply input the name
and the system will predict in which gender it falls either male or female.
Ashutosh Sunar 3
CU6051NP Artificial Intelligence
2. Background
This part of report includes the research works, reviews and the analysis done
for the project. The research works includes the journal related to the topic I
chose and other things that is need for development.
From this journal, I found that there has been increases interest in methods for
gender prediction based on first names which employ various open data
sources in recent years. These methods have been helpful for bibliometric
studies to customize offers for web users. Also, I found that there have been
several approaches proposed for gender prediction based on first name and
some of them are used in bibliometrics studies which were published in
prestigious scientific journals.
Ashutosh Sunar 4
CU6051NP Artificial Intelligence
From this website, I have learned that Individual’s gender is key predictor when
it comes to developing an effective predictive model, either it be in marketing or
healthcare, sports or any other domain. Almost every time, we as predictive
modelers have to face with missing info in the key variable. And we know that
gender is categorical variable with few options i.e., male, female, others or
disclosed and while using these values sometime it makes very hard to find the
missing value. So, in this situation gender prediction by name is needed.
Therefore, from this website, I learned that gender is one of the important key
factors and also learned the necessity of gender prediction by name (Acharath,
2019).
Ashutosh Sunar 5
CU6051NP Artificial Intelligence
It is one of the common tools for the gender prediction by name. This tool is
usually used by businessman or science researcher for predicting gender from
the people’s first name. This tool mostly predicts the English name’s gender
which is the main problem of this tool. This tool uses API and libraries that uses
datasets of profiles from the social networks. It Uses PHP, jQuery, Python and
Java platform. This tool provides both online and offline services (Gender API ,
2021).
From above research, I am able to understand about the predictive model and
its real use in world. The above research that I have done helps me to
understand about the importance of gender prediction. Also, I found that there
are different algorithms which have been used for gender prediction.
Ashutosh Sunar 6
CU6051NP Artificial Intelligence
3. Solution
3.1 Explanation of the proposed solution
The proposed system that I chose is gender prediction by name which
predictive modelling system. Before developing this system, I did some
research work on this topic. After doing research, I found that it is one of the
applications of machine learning which is the subsets of Artificial intelligence.
And, I started to do research about that machine learning. For that that I used
lecture slides as reference which was provide by our module leader and also, I
have read some journals and books about machine learning. While going
through these resources, I found that machine learning is computer algorithm
which learns from past experience and also found that it is of two types i.e.,
supervised and unsupervised learning. And with more research work, I came
to know that my proposed system also falls under supervised learning. After
that I learned about supervised learning and how it works.
Ashutosh Sunar 7
CU6051NP Artificial Intelligence
𝑃(𝑦│𝑐)∗𝑃(𝑐)
𝑃(𝑐|𝑦) =
𝑃(𝑦)
Where,
𝑃(𝑛𝑎𝑚𝑒|𝑔𝑒𝑛𝑑𝑒𝑟) ∗ 𝑃(𝑔𝑒𝑛𝑑𝑒𝑟)
𝑃(𝑔𝑒𝑛𝑑𝑒𝑟|𝑛𝑎𝑚𝑒) =
𝑃(𝑛𝑎𝑚𝑒)
The naïve bayes algorithm easy and fast to predict class of test data set. And
it performs well in case of categorical input variables compared to numerical
variable. Therefore, Naïve Bayes Algorithm was very suitable for my project
(Ray, 2017).
Ashutosh Sunar 8
CU6051NP Artificial Intelligence
WHILE
INPUT value
ELSE
IF value matches
DISPLAY output
ELSE
ENDIF
ENDIF
ENDWHILE
Ashutosh Sunar 9
CU6051NP Artificial Intelligence
Ashutosh Sunar 10
CU6051NP Artificial Intelligence
4. Conclusion
4.1 Analysis of the work done
The topic I chose is based on the implementation of naïve bayes algorithm to
classify gender by name. The report includes the explanation of topic and
explanation of the chosen Problem domain. To complete this project, different
kinds of research works has been carried out and review and analysis of
existing work in problem domain also has been done which are discussed in
this report. Along with the research work, the explanation of proposed solution
and algorithms used are also included in report. And the pseudocode and
flowchart of the solution are also mentioned in the report. With the help
pseudocode and flowchart, the development of the project was done. The
project is consoled based program which developed in python programming
language and visual studio code IDE.
The coursework helps us to know about the machine learning and its
application and also about the supervised learning and naïve bayes algorithm.
Ashutosh Sunar 11
CU6051NP Artificial Intelligence
While collecting the survey form, there would be the huge amount of data. The
data provided in survey form can have name of the provider but it is not sure
that he/she would provide his/her name because most of the people do not
want to disclose their gender. If the gender is not given then the data that is
need would be incomplete. And the data collected will be wasted and this
would-be loss for the company. So, with the help of gender prediction by name
makes easier for any organizations to predict whether the collected names are
male or female and can make use of this data for other purposes.
Ashutosh Sunar 12
CU6051NP Artificial Intelligence
1. Development of program
2. Testing of Program
3. Final documentation of the project.
Ashutosh Sunar 13