Question: kindly solve using R programming a. Family man web series was recently released in Amazon Prime. Assume that you want to find the key actor
a. Family man web series was recently released in Amazon Prime. Assume that you want to find the key actor for its success based on the screen presence of various actors in minutes across different episodes. Perform R k-means clustering by considering k=2 and initial centroids as the Row 1 and Row 2. Use only Manhattan distance. [6 M] Synthetic Data: Result Episode 1 Episode 2 Episode 2 Episode 3 Episode 4 3 Actor 1 5.1 3.5 1.9 2.2 Actor 2 5.9 3.2 1.7 2.7 Actor 2 7 3.2 2.7 2.4 Actor 2 6.4 3.2 2.5 1.5 Actor 1 5.3 3.3 2.3 2.5 Actor 1 6.8 3.7 2.1 2.9 b. Use the same data in (a), build a tree based on ID3 algorithm and Classify the actor based on the tree and verify the prediction value for the inputs 7.4, 3.5,2.3.2.5 [6 M]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
