Question

Related to Machine learning: Imagine that you would like to predict if your favorite table will...

Related to Machine learning:

Imagine that you would like to predict if your favorite table will be free at your favorite restau-
rant. The only additional piece of information you can collect, however, is if it is sunny or not
sunny. You collect paired samples from visit of the form (is sunny, is table free), where it is either
sunny (1) or not sunny (0) and the table is either free (1) or not free(0).


(a) [10 marks] How can this be formulated as a maximum likelihood problem? Explain what the
distributions are, what parameters need to be learned and write the (log) likelihood explicitly for
those distributions and parameters. You do not need to solve this maximum likelihood problem.


(b) [10 marks] Assume you have collected data for the last 10 days and computed the maximum
likelihood solution to the problem formulated in (a). You do not actually have to do this, just
assume that you did and now have estimated the parameter for your distribution. If it is sunny
today, how would you predict if your table will be free?

0 0
Add a comment Improve this question Transcribed image text
Answer #1


sol) collecting of paired samples from visit of the form is sunny and is table, face, we have p Gunny)=P, , P (free)= P2 P(RoNow, X+Xq Xp + X3 %9+xy log (1) - dog (og het dorg (ru) that log ou to the dog (e) ne doy ) = (x1+x2) dog le+ (*1923) dog p2Assuming collented data for Lagt to N = 10 Then Pe frais likelihood paoblem) – #sun diy Pelticis likelihood problem) = #day p

Add a comment
Know the answer?
Add Answer to:
Related to Machine learning: Imagine that you would like to predict if your favorite table will...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • machine learning problem. Suppose that the local power company wants to predict electricity demand for the...

    machine learning problem. Suppose that the local power company wants to predict electricity demand for the next 5 days. They have the data about daily demand for the last 5 years. Typically, the demand will be a number between 80 and 400. a) Describe how you could use an Multi Layer Perceptron to make the prediction. What parameters would you have to choose, and what do you think would be sensible values for them? b) If the weather forecast for...

  • Your two favorite companies are Firefox and Twitter. You feel like every year in the future...

    Your two favorite companies are Firefox and Twitter. You feel like every year in the future will be randomly either a "thumbs up" year or a "thumbs down" year, which will determine how high the annual return on your stock investment into each of these companies' stock will be, as shown in the table below: Firefox Twitter State of the economy Probability of the state of the economy 30% "Thumbs up" "Thumbs down" Return=25% Return=15% Return=10% Return=20% 70% (a) The...

  • SUPPOSE YOU HAVE A SERVICE TECHNICIAN COME TO YOUR HOME AT 10 A.M. TO LOOK AT AN ISSUE IN YOUR TELEVISION AND YOU NEED T...

    SUPPOSE YOU HAVE A SERVICE TECHNICIAN COME TO YOUR HOME AT 10 A.M. TO LOOK AT AN ISSUE IN YOUR TELEVISION AND YOU NEED TO WATCH YOUR MOVIE WITH NO INTERRUPTIONS. AFTER A QUICK INSPECTION OF THE PROBLEM, THE TECHNICIAN TELL YOU THAT HE EXPECTS THE FIX TO TAKE ABOUT 1 HOUR. SINCE WE DONT KNOW ANYTHING ELSE ABOUT THE DISTRIBUTION OF RAPAIR TIMES, ASSUME REPAIR TIMES FOLLOW AN EXPONENTIAL DISTRIBUTION. 1. IF YOUR FAVORITE FLICK STARTS AT 10:30, WHAT...

  • In a new promotional activity at Starbucks, whenever you buy a coffee, they give you fortune...

    In a new promotional activity at Starbucks, whenever you buy a coffee, they give you fortune cookie, on which there is the digit 1, 2, or 3, i.e., one of them. So whenever, you buy a coffee, you look at the number and if it is a number that you do not have it, then you collect that number. When you collect the numbers 1, 2, and 3, then Starbucks gives you a free coffee. (a) If X represents the...

  • This is related to Machine Learning Problem We have talked about the fact that the sample...

    This is related to Machine Learning Problem We have talked about the fact that the sample mean estimator X = 1 , X, is an unbiased estimator of the mean u for identically distributed X1, X2, ..., Xn: E(X) = p. The sample variance, on the other hand, is not an unbiased estimate of the true variance o2: for V = 12-1(X; - X), we get that E[V] = (1 - 02. Instead, the following bias-corrected sample variance estimator is...

  • Problem statement For this program, you are to implement a simple machine-learning algorithm that uses a...

    Problem statement For this program, you are to implement a simple machine-learning algorithm that uses a rule-based classifier to predict whether or not a particular patient has diabetes. In order to do so, you will need to first train your program, using a provided data set, to recognize a disease. Once a program is capable of doing it, you will run it on new data sets and predict the existence or absence of a disease. While solving this problem, you...

  • You own a high-tech manufacturing entity. You would like to expand your operations but to do...

    You own a high-tech manufacturing entity. You would like to expand your operations but to do so you need to either lease or buy a $1.2 million piece of equipment for the next three years. The lease payments would be $475,000 a year for the three years. If the equipment is purchased, it will be depreciated straight-line to zero over the three-year period. The equipment will have no residual value at the end of the three years. Should the equipment...

  • For this problem, assume salesperson data are stored in a database table named staff. Also assume the columns in the table are named name, carsSold, and totalSales Write a Python function named ge...

    For this problem, assume salesperson data are stored in a database table named staff. Also assume the columns in the table are named name, carsSold, and totalSales Write a Python function named getSalesSortedByNames. Your function will have 2 parameters. The first parameter is a database cursor and the second parameter is a float. Your function should start by retrieving those rows in the staff table whose totalsales field is equal to the second parameter. (The next paragraph shows the Python...

  • One-Variable Data Table Your maximum weekly production capability is 200 gallons. You would like to create...

    One-Variable Data Table Your maximum weekly production capability is 200 gallons. You would like to create a one-variable data table to measure the impact of Production Cost, Gross Profit, and Net Profit based on selling between 10 and 200 gallons of paint within a week. a. Start in cell E3. Complete the series of substitution values ranging from 10 to 200 at increments of 10 gallons vertically down column E. b. Enter references to the Total Production Cost, Gross Profit,...

  • 8) You plant some of Johnny and Jenny's offspring. Two in particular become your favorite plants...

    8) You plant some of Johnny and Jenny's offspring. Two in particular become your favorite plants and you name them Jamie and Josie. You decide to cross these two plants together (you can cross siblings in plants, but this is not really something that occurs very often in humans for various reasons!). Place the gametes that would result from meiosis in Jamie and Josie in the top row for Jamie and left column for Josie of the Punnett square. Then...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT