Skip to content
ml-recall

#logistic-regression

5 questions from ML Fundamentals, Classification, Neural Network Basics

Timed test

5 questions · 5 min · score and explanations at the end

Take a test
Q 1 / 5Score 0 / 0

Question 1: Short answer

hardAI-checkedML Fundamentals

To correct covariate shift, you train logistic regression to distinguish training inputs (label −1-1) from equally many test inputs (label +1+1). For a training example xi\mathbf{x}_i the classifier outputs P(z=1∣xi)=0.75P(z{=}1 \mid \mathbf{x}_i) = 0.75. Which importance weight βi=p(xi)/q(xi)\beta_i = p(\mathbf{x}_i)/q(\mathbf{x}_i) should that example get in weighted empirical risk minimization, where pp is the test and qq the training input distribution?

a number