Which of the following statements is true about linear regression when applied to…
- User
Which of the following statements is true about linear regression when applied to classification? Select all that apply.
Option:
a. If the training set satisfies 0<=y(i)<=1 for every training example (x(i), y(i)), then linear regression's prediction will also satisfy 0<=h_(x)<=1 for all values of x.
b. To perform classification, linear regression model (h(x)) predicts y=1 when h(x) >= 0.5, and predicts y=0 when h(x) <= 0.5.
c. Linear regression can perform equally well in both continuous-value prediction and discrete-valued classification.
d. Linear regression is not applicable to discrete-valued classification because it is prone to outliers.
e. Linear regression is not suitable for classification that is modeled by a non-linear function.
Assistant
The true statements about linear regression when applied to classification are:
b. To perform classification, linear regression model (h(x)) predicts y=1 when h(x) >= 0.5, and predicts y=0 when h(x) <= 0.5.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.