Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning with R Quick Start Guide

You're reading from  Machine Learning with R Quick Start Guide

Product type Book
Published in Mar 2019
Publisher Packt
ISBN-13 9781838644338
Pages 250 pages
Edition 1st Edition
Languages
Author (1):
Iván Pastor Sanz Iván Pastor Sanz
Profile icon Iván Pastor Sanz
Toc

Clustering countries based on macroeconomic imbalances

In this section, we will develop an unsupervised model to visually detect macroeconomic problems in countries and also understand a little more about the main drivers of credit ratings. We will start by creating a cluster of the countries with macroeconomic problems. In the next chapter, we will move on to predicting the credit ratings based on these clusters.

Throughout this chapter, I've tried to make an effort to reiterate the code from the previous chapters.

Let's get started!

Data collection

As in the previous model, we need to collect the largest amount of data possible. First, we need the macroeconomic indicators of countries to analyze the macroeconomic...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}