subject
Mathematics, 26.02.2020 00:33 kovachb11

Consider a classification problem where we are building a logistic regression classifier. The task is to predict if a given city has a risk of a disease epidemic or not. The data is defined using two input features or variables -
(1) logarithm of size of the city
(2) distance to the nearest city with epidemic
The target is a binary (0 - no risk and 1 - risk). Consider the following training data set

City # Log Size of City Distance Risk?
1 2.18 0.01 1
2 1.09 18.30 1
3 -0.37 3.00 0
4 0.00 4.10 1
5 -0.42 9.00 0
6 0.09 7.20 0
7 -0.48 10.00 0
8 0.62 2.70 0
9 0.57 2.80 1
10 0.44 0.01 1

Assume that a bias term is added in the beginning. Consider the following weight vector for logistic regression: w0 = 1.05, w1 = -.52, w2 = 0.85. Answer the following:
(a) The classifier labels 5 cities at risk
(b) The classifier is over 90% confident for 3 cities only
(c) The classifier's most confident correct prediction is for city #2
(d) The classifier makes 4 mistakes

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 17:20
Which of these equations, when solved, gives a different value of x than the other three? a9.1 = -0.2x + 10 b10 = 9.1 + 0.2x c10 – 0.2x = 9.1 d9.1 – 10 = 0.2x
Answers: 1
question
Mathematics, 21.06.2019 19:00
Ineed i been stuck on this question since yesterday
Answers: 1
question
Mathematics, 21.06.2019 19:00
Marina baked cookies. she gave 3/4 of the cookies to the scout bake sale. she shared the remaining 6 cookies with her friends. how many cookies did marina bake?
Answers: 3
question
Mathematics, 21.06.2019 19:10
How many different three-digit numbers can be formed using the digits 1 comma 2 comma 9 comma 6 comma 4 comma 3 comma and 8 without repetition? for example, 664 is not allowed.
Answers: 1
You know the right answer?
Consider a classification problem where we are building a logistic regression classifier. The task i...
Questions
question
History, 20.08.2021 22:00
question
Mathematics, 20.08.2021 22:10