Question: The accuracy score reported should be around 7 1 % ( 0 . 7 1 ) . This means that approximately 2 9 % of
The accuracy score reported should be around This means that approximately of the countries in the test set had their regions mispredicted. While that doesn't sound great, it could be that the WHR numerical data are not always completely predictive of region. One could imagine some countries that are "outliers" in a particular region, and more closely resemble other regions based on the WHR indicators.
In the below code cell, please loop over all the predicted and true values in the test set, and prints out the country name and predicted region when the prediction is incorrect. An output line like: Sri Lanka : South Asia SubSaharan Africa means that Sri Lanka is actually part of the South Asia region but was predicted to be part of SubSaharan Africa.
python code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
