Question: Python Concept 1.You have an image with 100 pure blue pixels and 100 pure red pixels. What color will be the centroid if you use

Python Concept

1.You have an image with 100 pure blue pixels and 100 pure red pixels. What color will be the centroid if you use 1 cluster.

a.Name the color (a shade of green, a shade of blue etc.)

b.What is its numeric RGB value?

2.You have data that consists of 500 movies with 3 features. The features are the duration of the movie, its budget, and its average rating.

a.What similarity measure would you use to find similar movies?

b.What will be the shape (dimensions) of the similarity matrix?

3.This question is about the matrix in problem 2 above. Let us say the similarity matrix is called sim_matrix. Is sim_matrix[0][1] equal to sim_matrix[1][0]? Why?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!