A job scheduler learns a categorical model with three possible outcomes: completed, retried, and failed. Conditional on the model's probability vector, job outcomes are independent and share that vector. Its Dirichlet prior has parameters (1,2,1)(1,2,1)(1,2,1) in that order. A training log contains 9 completed jobs, 7 retried jobs, and no failed jobs.
Complete the table with the updated Dirichlet parameters and the probability of each outcome for one new job, averaged over the posterior distribution. Enter exact integers for parameters and exact decimals for probabilities. Average over parameter uncertainty rather than selecting the most probable parameter vector.
Unlock full course notes by signing up
Learn conditional rows with an unseen group
A diagnostic program learns a conditional probability table for test outcome given firmware version. Each record contains both variables, records are independent, and each version has its own unrestricted probability row. Version A has 12 passes and 8 failures; version B has 3 passes and 9 failures; version C has no training records. No prior or smoothing is used.
Complete the maximum-likelihood table. Enter exact decimal probabilities where the estimate is unique. Enter the word undetermined in a cell when multiple values maximize the likelihood.
Update a mixture using expected counts
A program models binary link-test outcomes using a two-component Bernoulli mixture. The unobserved component is A or B. Its parameters are π=P(Z=A)\pi=P(Z=A)π=P(Z=A), θA=P(X=1∣Z=A)\theta_A=P(X=1\mid Z=A)θA=P(X=1∣Z=A), and θB=P(X=1∣Z=B)\theta_B=P(X=1\mid Z=B)θB=P(X=1∣Z=B).
There are five independent records: three successes, X=1X=1X=1, and two failures, X=0X=0X=0. Starting from π=0.5\pi=0.5π=0.5, θA=0.75\theta_A=0.75θA=0.75, and θB=0.25\theta_B=0.25θB=0.25, an expectation step gives the following responsibilities, meaning each record's conditional probability of belonging to A under the current parameters.
Perform one maximum-likelihood maximization step, without a prior. Find the updated mixing probability, updated success probability for A, and updated success probability for B. Give each probability to three decimal places.
Separate fit quality from optimization guarantees
Two runs of exact maximum-likelihood EM fit the same mixture family to the same training records, starting from different parameters. Their final training log-likelihoods are −82-82−82 for fit R and −79-79−79 for fit S. On the same 20 independent validation records, their log-likelihoods are −31-31−31 and −36-36−36, respectively. These validation records were not used for parameter updates. All scores are finite and use natural logarithms.
Which statements are correct? Select all that apply.
Learn from individual and paired operation logs
A software service models each operation as an independent Bernoulli trial with the same unknown success probability ppp, where 0≤p≤10\leq p\leq10≤p≤1. Two training logs were collected under the same operating conditions:
The individual log records 20 operations, of which 12 succeeded and 8 failed.
The pair log records 20 additional, disjoint pairs of operations. A pair is recorded as successful exactly when both operations succeed. Eight pairs were successful; the other 12 pairs each contained at least one failure. Individual outcomes within these pairs were not recorded.