题目
单项选择题
Your dataset consists of documents, each of which may be represented as a 3 dimensional feature vector. You decide to fit a logistic regression to the data, and derive the following estimates for your weight vector: [math: β=(−ln(2),ln(5),−ln(7))]\beta = (-\ln(2), \ln(5), -\ln (7)). You then receive a new document [math: x∗=(1,−1,−1)]x_* = (1,-1,-1). Compute [math: P(y∗=0|x∗)]P(y_*=0|x_*).
选项
A.a. 0.6814
B.b. 0.3343
C.c. 0.3453
D.d. 0.5882

查看解析
标准答案
Please login to view
思路分析
We start by restating the problem and the given quantities to ensure clarity: the weight vector is β = (-ln(2), ln(5), -ln(7)) and the new feature vector is x* = (1, -1, -1). The logistic model gives P(y=1|x) = sigmoid(β^T x) where sigmoid(z) = 1 / (1 + exp(-z)). We need P(y* = 0 | x*) which is 1 - P(y* = 1 | x*) = 1 - sigmoid(β^T x*). So our first step is to compute the inner product ......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
True or False: The greatest benefit of a logistic regression model with the outcome of ln(probability of disease/(1-probability of disease)) is that it is the most direct way to calculate a cumulative incidence difference.
True or False : Regression models can be used to predict binary outcomes.
The table below shows the output from a logistic regression model evaluating the relationship between age (in years), educational attainment (less than high school, completed high school, or at least some college) and the outcome of death over a 3-year follow-up period. Based on this output, what is the odds ratio for the association between a 10 year increment in age and death within three years after adjusting for educational attainment?
The table below shows the output from a logistic regression model evaluating the relationship between age (in years), educational attainment (less than high school, completed high school, or at least some college) and the outcome of death over a 3-year follow-up period. Based on this output, what is the odds ratio for the association between having at least some college education and death within three years after adjusting for age at entry into the cohort?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!