Challenge

Unsupervised Learning - Kmeans Week 11 Challenge

1)

we can use label encoders or onehot encoders for converting the categorical data into numeric

or hamming distance for categorical variables for measuring distance

we can use cosθ for similarity which lies between 0 and 1 where 0 for more similarity and

more the θ lesser the similarity

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.