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

Can you help to find Probability(word==Helmet|class==Sports)= ? ID Words in Docu

ID: 2946011 • Letter: C

Question

Can you help to find Probability(word==Helmet|class==Sports)= ?

ID

Words in Document

in class=Sports

Training Set

1

Baseball Helmet Fans Strike

Yes

2

Football Helmet Touchdown

Yes

3

Hoops

Yes

4

Motorcycle Helmet Light

No

5

Helmet Ski

Yes

Test Set

6

Fans Helmet Helmet Ski

?

Pr(word==Helmet|class==Sports)= ?

ID

Words in Document

in class=Sports

Training Set

1

Baseball Helmet Fans Strike

Yes

2

Football Helmet Touchdown

Yes

3

Hoops

Yes

4

Motorcycle Helmet Light

No

5

Helmet Ski

Yes

Test Set

6

Fans Helmet Helmet Ski

?

Explanation / Answer

Different words when class = sports are

when ID = 1,2,3,5 (when values sports = Yes)

Words are,

Baseball, Helmet, Fans, Strike, Football, Helmet, Touchdown, Hoops, Helmet, Ski

Total words = 10

Count(Helmet) = 3

Thus, Pr(word==Helmet|class==Sports) = 3/10 = 0.3