Visualization is an important aspect of any kind of exploratory analysis. Suppose that we had no additional information on the customer's history and we merely know that there were 700 good loans out of thousand sanctioned. In this case, the prediction for the next customer to have a good loan payment would have a probability 0.7. When the variable of interest is a numeric variable, we can plot histograms, boxplots, and so on, to get a good understanding of the problem. Here, the output good_bad is a factor variable and such a plot won't make any sense. A simple understanding of the distribution of the factor variable can be obtained using the bar plot where we would have two bars with the length reflecting the proportionate frequency. However, a bar plot is a one-dimensional plot in the sense that the x-axis labels as good and bad won&apos...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia