Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider the following supervised dataset consisting of 10 observations, each with two features (observable data is in X) and an associated label in

 

1. Consider the following supervised dataset consisting of 10 observations, each with two features (observable data is in X) and an associated label in Y: X= 0 1 00 1 1 00 1 1 10 1 0 1 1 20 2 1 Y 11 (a) Compute the average weighted entropy of the class label in the subsets created by splitting the dataset based on the value of the first feature. You may assume that the features are categoricial (5pts). (b) Now make the same computation, but as if we created subsets using the second feature! (5pts). (c) Which feature is more discriminating based on results in Part (a)? That is, which feature provides better class separation (2pts)? (d) What are the principle components of the observed data X? For this (and the next) part you may assume that the features are continuous and therefore should zscore them. Make sure your final principle components are all unit length. You MAY use a utility function like eig or sud to determine these (5pts). (e) In your own words, describe these axis in terms of a conventional 2D Cartesian Coordinate system (3pts). (f) If we were to project our data down to 1-D using the principle component, what would the new data matrix X be (5pts).

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

Applied Regression Analysis And Other Multivariable Methods

Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg

5th Edition

1285051084, 978-1285963754, 128596375X, 978-1285051086

More Books

Students also viewed these Databases questions