Random Forest in Income per Person
Random Forest in Income per Person Introduction In gap minder data, Income per person is analyzed with the relation of oil consumption, Co2 emission, internet user rate an so on. Because these features are related social welfare, there might be some correlation with income per person. Getting and Preparing Data incomeperperson : Gross Domestic Product per capita oilperperson: O il Consumption per capita co2emissions: CO2 consumtion internetuserate : Internet users (per 100 people) lifeexpectancy : life expectancy at birth (years) polityscore : subtracting an autocracy score from a democracy score. relectricperperson: residential electricity consumption per person urbanrate : urban population employrate : Percentage of total population, age above 15, that has been employed The target data is converted to 12 category and change its data type to string for tree classification. Data Modelling Target data is income per person and th...