Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Transform the following 1-D data using a Kerel function so that the data points of class label 1 (denoted with circles) and class label

image text in transcribed

1. Transform the following 1-D data using a Kerel function so that the data points of class label 1 (denoted with circles) and class label -1 (denoted with diamonds) could be classified through linear support vector machine (SVM). You have to show the Kernel function as well as the transformed data in 2-D scatter plot. Afterwards, estimate the weight vector w and bias b of the SVM hyperplane to successfully classify the data points. Finally, draw the hyperplane and show the support vectors. 0 2 4 6 8 10 2. Apply K-Nearest Neighbor (K-NN) algorithm to determine the health status of 'subject 5'. Use the cosine similarity function to determine the nearest neighbors and consider the value of K=3. BMI Subject 1 Subject 2 Subject 3 Subject 4 Sunbect 5 Body-fat 24 45 27 15 28 Health Status 23 Healthy 34 Unhealthy 22 Unhealty 25 Healthy 24 ?? 3. Apply K-medoids clustering algorithm to partition the following points into 3 optimal clusters: A(2, 10), B(2,5), C(8,4), D(5,8), E(7,5), F(6, 4), G(1, 2), H(4,9) Consider the points A(2, 10), D(5, 8) and G(1, 2) as the Initial Medoids. Use the Euclidean distance function to measure the dissimilarities. Finally, show the 3 optimal clusters in a scatter plot of the points

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How could assessment be used in an employee development program?

Answered: 1 week ago