This is an NLP analysis of suicide cases in Nigeria using the BagOfWords technique.
# Suicide-Prediction-using-ML
Suicide in Nigeria has become an enigma that is slowly eating into the lives of the citizens.
In Nigeria, according to the World Health Organization, WHO, an estimated 800,000 people die by suicide every year.
Nigeria is now ranked the 10th in Africa and 67th in the world with a crude suicide rate of 9.5 per 100,000 population.
Due to the rate at which the number of suicides is growing yields the motivation for carrying out this project.
This research is carried out to predict the causes of suicide in Nigeria by using machine learning algorithms.
By identifying the root causes behind suicide, we can create awareness to prevent suicide cases and rectify the predicted causes of suicide.
In this research, we have analyzed the pattern of suicide cases and predict the causes of future suicides by using Bag of Words technique and Logistic regression for the first part of the system and XGBoost and Random Forest machine learning algorithms for the second part of the system to predict these causes.
Dataset: To explicitly investigate the triggers of suicidal behaviors, it is important to identify the attributes and characteristics present in a Dataset which contains the information of total suicide in Nigeria along with other meaningful information which is as follows:
1. Level of Education: This column depicts information like whether the victim was a student, employed, a housewife or an unemployed person.
2. Gender: The unique values in this column are male and female.
3. Age: This column shows the age of the victim.
4. Level of Education: This column depicts information regarding the level of education the victim has had. Unique values are Tertiary, Secondary, Doctorate.
5. Marital Status: This column tells whether the victim was married, single, dating.
6. Ethnicity: This shows if the victim was a westerner, easterner, northerner or southerner.
7. Parent or not: This column depicts whether the victim was a parent or not.
8. Tools/Means: Thi …