Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Sasan-Faraj/wealth_prediction

Domaine:

socioeconomic

Type de record:

project
Créateur:
Sas
Hôte:
As an personal extension of my previously completed extra credit assignment, I aimed to compare a random forest model and a K-nearest neighbors model in their accuracy of predicting wealth of people in Liberia # Liberia Wealth Prediction As a personal extension of my previously completed extra credit assignment (located here), I aimed to compare a random forest model and a K-nearest neighbors model in their accuracy of predicting the level of wealth of individuals in Liberia. My code for this project can be located here. ___ ## Initial Analysis A correlation matrix was not created in the primary analyses of the features or the target because neither the data did not appear to be linearly based in the previous project. In order to double check that the data seemed to be accurately distributed, a pairplot of the features was created. The features in this case were location, gender, size, education, and age. All of the features were represented as a in interger data type. The pairplot demonstrates that the data is not distributed in any abnormal ways that would require further investigation. When examining the target, it appears that the vast majority of individuals, 75%, are ranked below 3 out of 5, indicating that those who make the most money are outliers of the data set. The box plot below depicts the range of wealth from the data set. This box plot indicates that the models may have some trouble predicting the wealth because the data set has an over-representation of individuals who make relatively lower income compared to the other individuals. ___ ## K-Nearest Neighbors Because the KNN model relies on the distance between k points, an instance of the KNN model was created for three seperate standardizations of the features: no standarization (ie raw data), Standard Scaler (SS), and MinMax Scaler (MM). Forty percent of the data was made into the test data and 60 percent was made into the training data. The decision behind this split was to prevent from too high of an internal validity and limit overfitting. Graphs of the different instances were created in order to depict the varying levels of training/testing scores for different numbers of k ranging from …

Visit

github.com

Similaires

Registration of ‘Faraj’, a Hessian fly– and multiple disease–resistant durum wheat cultivar in Moroccoتطبيق نموذج تعلم عميق لتحليل ورصد التشققات في مجموعة فرج بن برقوق باستخدام بايثون Application of a Deep Learning Model for the Analysis and Detection of Cracks in the Faraj Ibn Barquq Complex Using Python

Registration of ‘Faraj’, a Hessian fly– and multiple disease–resistant durum wheat cultivar in Morocco

Abstract Durum wheat [ Triticum turgidum L. ssp. durum (Desf.)] is cultivated on nearly one mill

تطبيق نموذج تعلم عميق لتحليل ورصد التشققات في مجموعة فرج بن برقوق باستخدام بايثون Application of a Deep Learning Model for the Analysis and Detection of Cracks in the Faraj Ibn Barquq Complex Using Python

 يتناول هذا المقال البحثي، نتائج تدريب نموذج تعلم عميق لمساعدة الآثاريين في المكشف عن التشققات في ال