Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Weighted Indexing technique Given the following Weighted term Document matrix, c

ID: 653705 • Letter: W

Question

Weighted Indexing technique

Given the following Weighted term Document matrix, calculate the new document vectors using Normalized TF (using maximum value per row to normalize), Inverse Document Frequency, and Signal. Show how you came up with the weights for the three different algorithms for each term (T1-T6). You dont have to show how you calculate each entry in the table. Treat the table as the complete database (N=5 documents) and a zero term frequency means that word does not occur in that document.

T1

T2

T3

T4

T5

T6

D1

4

2

2

1

6

0

D2

3

2

1

12

0

0

D3

0

2

0

4

2

0

D4

2

2

0

1

1

0

D5

4

2

0

8

4

2

T1

T2

T3

T4

T5

T6

D1

4

2

2

1

6

0

D2

3

2

1

12

0

0

D3

0

2

0

4

2

0

D4

2

2

0

1

1

0

D5

4

2

0

8

4

2

Explanation / Answer

INVERSE DOCUMENT FREQUENCY

T1 T2 T3 T4 T5 T6 D1 0.388 0.794 0.794 -0.380 -0.474 0.000 D2 0.291 0.794 0.397 -4.56 0.000 0.000 D3 0.000 0.794 0.000 -1.52 -0.158 0.000 D4 0.194 0.794 0.000 -0.380 -0.079 0.000 D5 0.388 0.794 0.000 -3.04 -0.316 0.794
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote