Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) (8 points) Suppose we have 5 data points in a 2-dimensional Euclidean space: x1= [12]T,x2=[7376]T,x3=[36]T,x4=[56512]T,x5=[320340]T. What are the first and second principal components? (Please

image text in transcribed

(a) (8 points) Suppose we have 5 data points in a 2-dimensional Euclidean space: x1= [12]T,x2=[7376]T,x3=[36]T,x4=[56512]T,x5=[320340]T. What are the first and second principal components? (Please do not use code to solve this sub-problem.) (b) (12 points) Consider a dataset of automobiles' information (file: automobile.csv 2 ), we will analyze it through PCA. Use these five feature columns: curb-weight, horsepower, city-mpg, highway-mpg, price to obtain a subdataset, and answer the following question: what are the first principal component and second principal component of this subdataset? If you want to use Python for this problem, please note that only standard Python library such as Numpy, Scikit-learn, Pandas are allowed. Your source code is required to be submitted and please make sure it is bug-free

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 Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

1 What theories are implicit in these reward systems?

Answered: 1 week ago