Challenge

Unsupervised Learning - Kmeans Week 11 Challenge

Q1) How does the similarity is calculated if data is categorical in nature

and) If data is categorical in nature the simplest way to find similarity between two categorical attributes is to assign a similarity of 1 if the values are identical and a similarity of 0 if the values are not identical.

q2) solution is given 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.