Question

Q4 (4 marks) (a) What is machine learning? (b) Discuss the difference between classification and clustering. Give one example

3112 1617 Q4
0 0
Add a comment Improve this question Transcribed image text
Answer #1

4 a)machine learning is a technique which enables the computer to predict outcome from the previous experience without being explicitly programmed

b)classification is a kind of machine learning algorithms in which data is classified into previously defined classes whereas in clustering algorithms there are no predefined class labels

clustering k-means is used to cluster the unlabelled data into k groups.The algorithm iteratively assigns data point to one of the k-groups based on the distance between the data point and the centroids of cluster

classification knn is classification algorithm in which when a new data point comes .The algorithm find k nearest data point to it.and assign it the label which majority of these k-data points are holding

c)knn is a classification algorithm

d)if the value of k is 1 it will find the nearest point to U and assign it the same label.As the nearest point to U is holding label orange the U will be labelled as orange

e)the two nearest neighbours of U are red and orange as there is a tie U can be assigned either of them .To deal with such situation k is usually odd

f) The 5 nearest neighbours of U are orange,red,red,violet,blue and among these majority is red so U will be classified as red.

As the HomeworkLib policy asks to answer first four parts of the question with multiple parts .but i have answered 6 question

If you have any doubt with these connect in comment section.Please do upvote.

Add a comment
Know the answer?
Add Answer to:
3112 1617 Q4 Q4 (4 marks) (a) What is machine learning? (b) Discuss the difference between classification and clustering. Give one example algorithm (6 marks) for classification and clustering r...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT