Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Analyze the income in different groups of people. Read the data from the txt file people.txt , perform some data preprocessing steps ( e

Analyze the income in different groups of people.
Read the data from the txt file "people.txt", perform some data preprocessing steps (e.g. data normalization, string encoding, etc.), and save the preprocessed data as a new txt file "my_data.txt".
Read the data from the txt file "my_data.txt", and delete the last column (i.e. "Income"). Then, please apply K-means algorithm to cluster the data, and find out the approriate value of K.
Read the data from the txt file "my_data.txt", use the last column (i.e. "Income") as the class label (or the ground truth value), and randomly partition the data into training set (70%) and testing set (30%). Then, please build the support vection machine (SVM) model using training set, and applied this established model to predict the class label of each data point in testing set.
image text in transcribed

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

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

8.1 Differentiate between onboarding and training.

Answered: 1 week ago

Question

8.3 Describe special considerations for onboarding.

Answered: 1 week ago