1 / 5

Quiz Feb.04

Quiz Feb.04. 273A. 1. Bob and Alice are playing the “data compression game” to figure out how complex of a model they can afford for a particular dataset of N items. Bob proposes a model with K real valued parameters.

skah
Download Presentation

Quiz Feb.04

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Quiz Feb.04 273A

  2. 1 • Bob and Alice are playing the “data compression game” to figure out how complex of • a model they can afford for a particular dataset of N items. • Bob proposes a model with K real valued parameters. • He argues that because the parameters are real valued he needs to quantize the parameter • values into L bins. • He now argues: for fixed dataset size N, if I use more bins (larger L) then I…….: • Can also use more parameters (larger K) for the optimal compression. • Can use less parameters (smaller K) for the optimal compression. • L has no influence on K, I can simply take arbitrarily small bins.

  3. 2 • K-means is guaranteed to converge in a finite number of iterations. • (This means, there will be no more change in parameters or assignments) • True • False 3 • K-means is guaranteed to converge the global minimum of the cost function. • True • False

  4. 4 • Bagging is not expected to work well when: • The individual models are too simple. • The individual models are too complex • It always works when you use bootstrap samples.

  5. 5 • Imagine you are learning a decision tree from training data and on the current branch • you have used all the (discrete) attributes but you end up with training samples of both • classes in the same leaf node. Then: • This is not possible. You have a bug in your code. • You need to pick an attribute that is different from the last one and apply it again. • You give up: test cases that end up in that bucket will not be classified • You make make a decision on test examples based on the parent node

More Related