School of Information Technology Management
Course: ITM 618 – Business Analytics and Intelligence – Second Midterm
Student name:
Student number:
- [2 points] In the following text, list all 1-grams, 2-grams, and 3-grams.
fast orange dog runs
-
[5 points] (Clustering)
- Explain the definition of a centroid in k-means.
- The following is a set of one-dimensional points: 1; 1; 2; 3; 5; 8; 13; 21; 33; 54. Perform two iterations of k-means on these points using the two initial center points 0 and 11.
- [5 points] Assume the following model predicts whether a customer churns or not:
Given the following 6 instances as a test set, first, build the confusion matrix based on what the model predicts for the instances and what the actual target values are. Second, find the following values using the confusion matrix that you build in the first step:
- Accuracy?
- True Positive?
- False Positive?
- Recall?
- Precision?
| Instance Number | Amount of Debt | Actual Target Value |
| 1 | High | Yes |
| 2 | Low | Yes |
| 3 | High | Yes |
| 4 | High | No |
| 5 | Low | No |
| 6 | High | No |
- [3 points] A company wants to apply k-NN to find out whether new customers response to its marketing campaign or not. We have data of six existing customers and their response. In the table below, we list their response and their distances to two new customers (Jack and Colleen).
| Customer | Response | Distance to Jack | Distance to Colleen |
| Janet | Yes | 1.7 | 1.3 |
| Adam | Yes | 1.6 | 1.3 |
| Tom | No | 3.8 | 0.9 |
| Sarah | Yes | 2.4 | 1.2 |
| Nancy | No | 3.7 | 0.9 |
| Joseph | No | 2.5 | 1.5 |
What will be the predicted responses of Jack and Colleen using k-NN when k is set to the following values? Justify your answer.
- k = 1
- k = 3
- k = 5
The post ITM 618 – Business Analytics and Intelligence appeared first on My Assignment Online.
Plagiarism Free Assignment Help
Expert Help With This Assignment — On Your Terms
✓ Native UK, USA & Australia writers
✓ Deadline from 3 hours
✓ 100% Plagiarism-Free — Turnitin included
✓ Unlimited free revisions
✓ Free to submit — compare quotes