Challenge

Unsupervised Learning - Kmeans Week 11 Challenge

1) How does similarity is calculated if data is categorical in nature.

The simplest way to find similarity b/t two categorical attributes is to assign a similarity of 1 if the value is identical and a similarity of 0 if the values are not identical. Another method involves converting the categorical data into label encoding.

2) Implement K-means for the “Car dataset” and come up with the business insights.

The Python notebook file is attached below.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.