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 16:50
The rate of decay of a radioactive substance depends upon the amount present initially. the mass y (mg) of the radioactive substance cobalt-60 present in a sample at time t (years) is represented by the exponential equation y=50e −0.1315 t . answer the following questions in complete sentences. 1. how does the exponential equation above compare to the equation for simple interest that is compounded continuously? explain the similarities. 2. what is the initial amount of cobalt-60 in the sample? 2. how much cobalt-60 is left after 8.4 years? show your work. 3. what would be the y-intercept of the graph? what does it represent? 4. after how many years will the amount of cobalt-60 left be 6.25 mg? explain what happens to the cobalt-60 after 50 years? 5. discuss some “real-world” examples and uses of cobalt-60
Answers: 1
question
Mathematics, 21.06.2019 19:10
Angle xyz is formed by segments xy and yz on the coordinate grid below: a coordinate plane is shown. angle xyz has endpoints at 3 comma negative 1 and 6 negative 2 and 3 comma negative 3 and measures 36.87 degrees. angle xyz is rotated 270 degrees counterclockwise about the origin to form angle x′y′z′. which statement shows the measure of angle x′y′z′?
Answers: 2
question
Mathematics, 21.06.2019 22:30
60 musicians applied for a job at a music school. 14 of the musicians play both guitar and drums. what is the probability that the applicant who gets the job plays drums or guitar?
Answers: 1
question
Mathematics, 22.06.2019 00:30
If you eat 4 medium strawberries, you get 48% of your daily recommenced amount of vitamin c. what fraction of your daily amount of vitamin c do you still need?
Answers: 1
You know the right answer?
Consider a classification problem where we are building a logistic regression classifier. The task i...
Questions
question
English, 05.04.2021 22:20
question
Mathematics, 05.04.2021 22:20
question
Mathematics, 05.04.2021 22:20
question
Spanish, 05.04.2021 22:20
Questions on the website: 13722361