Skip to content

Dar-rius/PopulationAnalyze

Repository files navigation

A machine model that predicts the number of humans in the world

This project uses libraries such as: pandas, scikit-learn, numpy, matplotlib and seaborn.

The first step was to analyze the data to better understand the data in the dataset. The data used comes from kaggle Kaggle with a dataset of 66.893 rows and 71 columns containing data on the growth of populations of every country, continent and organization that exists.

The data are categorized between the different age groups from 0 to 100 years and over and the sex of each population, from the years 1950 to 2100.

For the analysis of this dataset, the functions (Times Series) were used.

After loading the dataset and replacing the indexes with the Time columns.

alt text

The data of the LocID variable was displayed for the purpose of identifying the IDs of each country, continent and organization and the whole thing makes a total of 443 IDs, then the data of the Location variable to see all the countries, continents and organizations. contained in the dataset.

alt text

alt text

After all this I moved on to the population analysis, the objective was to observe the growth of populations from 0 to 100 years and over in each continent according to their sex then with the combined sexes between the years 1950 to 2100. To see the graphs some data, I invite you to open the Analyze.ipynb file.

After having analyzed the male and female populations of each continent. I compared the growth of the population of each continent.

alt text

The second stage is the modeling, after the data encoding, their standardization, I developed a model which will be able to predict the total population over several years, whose score during the evaluation is 99%.

Then I visualized the comparison between the model prediction and the target.

alt text

About

analyze the human population from a kaggle dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published