题目
题目
单项选择题

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: \beta = (-\ln(2), \ln(5), -\ln (7)). You then receive a new document x_* = (1,-1,-1). Compute P(y_*=0|x_*).

题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
To begin, restate the setup: we have a logistic regression model with weight vector β = (-ln(2), ln(5), -ln(7)) and a new document x* = (1, -1, -1). We are asked to compute P(y* = 0 | x*). Compute the linear predictor z = β^T x* = (-ln 2)*1 + (ln 5)*(-1) + (-ln 7)*(-1). This simplifies to z = -ln 2 - ln 5 + ln 7 = ln 7 - ln 2 - ln 5......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!