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

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 13:00, masonbitterman7488
Mary had at least an 80% on her test write an inequality to represent this situation
Answers: 2
image
Mathematics, 21.06.2019 17:00, daeshawnc14
Jamie went to home depot. she bought 25 bags of soil that cost $9 per bag. she bought 15 pots at $8 each, and she bought 23 bags of pebbles at $15 each. she used a coupon that gave her $5 off for every 100 dollars she spent. how much did jamie pay at the end?
Answers: 1
image
Mathematics, 21.06.2019 19:50, Sourcandy
Organic apples are on special for $1.50 per pound. does total cost vary inversely or directly with the number of pounds purchased? find the cost of 3.4 pounds of apples. a. inversely: $5.10 b. directly; $5.10 c. inversely: $2.27 d. directly; $2.27
Answers: 1
image
Mathematics, 21.06.2019 21:30, francescanajar5
Your friend uses c=50p to find the total cost, c, for the people, p, entering a local amusement park is the cost of admission proportional to the amount of people entering the amusement park? explain.
Answers: 2
You know the right answer?
Consider a classification problem where we are building a logistic regression classifier. The task i...

Questions in other subjects: