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).Theory Questions
Consider the following supervised dataset consisting of 10 observations, each with two features
(observable data is in x) and an associated label in Y :
(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
(b) Now make the same computation, but as if we created subsets using the second feature!
(c) Which feature is more discriminating based on results in Part (a)? That is, which feature
provides better class separation
(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. Make sure your final principle
components are all unit length. You MAY use a utility function like eig or svd to
determine these
(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 (
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 And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 2 Lncs 13427

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124251, 978-3031124259

More Books

Students also viewed these Databases questions