This lesson is being piloted (Beta version)

Kaggle online competition: Unsupervised Learning

Overview

Teaching: 20 min
Exercises: 0 min
Questions
  • How to participate in a Kaggle online compeition

Objectives
  • Download Kaggle data and apply some algorithm technique that you have learnt to solve the actual data

10. Kaggle online competition: Unsupervised Learning

In previous chapter, you have worked with Supervised Learning data, now in this chapter, let’s confront with another type of ML problem, which is Unsupervised Learning

https://www.kaggle.com/majyhain/height-of-male-and-female-by-country-2022

image

Project description: The metric system is used in most nations to measure height.Despite the fact that the metric system is the most widely used measurement method, we will offer average heights in both metric and imperial units for each country.To be clear, the imperial system utilises feet and inches to measure height, whereas the metric system uses metres and centimetres.Although switching between these measurement units is not difficult, countries tend to choose one over the other in order to maintain uniformity.

For simpilicity: I downloaded the data for you and put the data table here: https://raw.githubusercontent.com/vuminhtue/SMU_Data_Science_workflow_R/master/data/Heights/Height%20of%20Male%20and%20Female%20by%20Country%202022.csv

10.1 Understand the data

There is only 1 csv file: Height of Male and Female by Country 2022

The dataset contains six columns: • Rank • Country Name • Male height in Cm • Female height in Cm • Male height in Ft • Female height in Ft

Objective:

10.2 Create the Rmd format with following Data Science workflow:

Step 1: Load library, Load data


Step 2: Find the optimimum number of clusters


Step 3: Use Kmeans clustering to classify clusters


Step 4: Visualize the difference


Step 5: Knit the documentation


!> Solution

Key Points

  • Kaggle