Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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=[[01; 00; 11; 00; 11; 10; 10; 11; 20; 21]] Y=[[1; 1; 1; 1; 1; 0; 0; 0; 0; 0]]
(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 e i g or s v d 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

Students also viewed these Databases questions

Question

Why does sin 2x + cos2x =1 ?

Answered: 1 week ago

Question

What are DNA and RNA and what is the difference between them?

Answered: 1 week ago

Question

Why do living creatures die? Can it be proved that they are reborn?

Answered: 1 week ago

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago

Question

e. What do you know about your ethnic background?

Answered: 1 week ago