Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Calculating Probabilities Please use your knowledge of Data Manipulation with Pandas to extract the required probabilities: 1. (1 pt) What is the probability that a
Calculating Probabilities Please use your knowledge of Data Manipulation with Pandas to extract the required probabilities: 1. (1 pt) What is the probability that a tweet contains the clining beer mug) emoji? 2. (1 pt) What is the probability that a tweet contains both clining beer mug) and (hamburger) emojis? 3. (1 pt) Given that a tweet contains the clining beer mug) emoji, what is the probability that the tweet also contains the emoji? 4. (1 pt) Given that a tweet contains the clining beer mug) emoji, which other emoji does this tweet most likely contains? 5. (bonus 0.2 pt) Based on this dataset, are "using emoji" and "using hashtag" independent from each other? Why or why not? Please show your calculation. 0 RT @CalorieFixess: 0 400 Calories https://t... 1 RT @1_F_I_R_S_T: _0') Grow your account fast! 2 RT @LegendDeols: DOGT Ready to dance &&&RRR 3 @britch_x Hubby's friend bought us Wendy's-che... 4 RT @DAILYPUPPIES: Workout partner o https://... 9953 #1stTest Brilliant Tension #England need 2wks ... 9954 9955 RT @Thabang92416252: "@PinexAnd Applex: 80 @Emt... @nuttysteph84 Steph!! OSOQAX I'm heading to a wedding. Weekend session afoo... Bubbles time https://t.co/7UTOBRIVeb 9956 9957 tweets_df.head() text emojis 0 RT @Calorie Fixess: 400 Calories https://t. 1 RT @1_F_I_R_S_T: _0') Grow your account fast! 2 RT @LegendDeols or GET Ready to dance # &&&&R 3 @britch_x Hubby's friend bought us Wendy's-che... 4 RT @DAILYPUPPIES: Workout partner ol https://... 10] emoji_matrix.head() 2 O 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 | oO o o 1 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1 0 0 0 o oo 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 o o o o o 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 rows x 105 columns Calculating Probabilities Please use your knowledge of Data Manipulation with Pandas to extract the required probabilities: 1. (1 pt) What is the probability that a tweet contains the clining beer mug) emoji? 2. (1 pt) What is the probability that a tweet contains both clining beer mug) and (hamburger) emojis? 3. (1 pt) Given that a tweet contains the clining beer mug) emoji, what is the probability that the tweet also contains the emoji? 4. (1 pt) Given that a tweet contains the clining beer mug) emoji, which other emoji does this tweet most likely contains? 5. (bonus 0.2 pt) Based on this dataset, are "using emoji" and "using hashtag" independent from each other? Why or why not? Please show your calculation. 0 RT @CalorieFixess: 0 400 Calories https://t... 1 RT @1_F_I_R_S_T: _0') Grow your account fast! 2 RT @LegendDeols: DOGT Ready to dance &&&RRR 3 @britch_x Hubby's friend bought us Wendy's-che... 4 RT @DAILYPUPPIES: Workout partner o https://... 9953 #1stTest Brilliant Tension #England need 2wks ... 9954 9955 RT @Thabang92416252: "@PinexAnd Applex: 80 @Emt... @nuttysteph84 Steph!! OSOQAX I'm heading to a wedding. Weekend session afoo... Bubbles time https://t.co/7UTOBRIVeb 9956 9957 tweets_df.head() text emojis 0 RT @Calorie Fixess: 400 Calories https://t. 1 RT @1_F_I_R_S_T: _0') Grow your account fast! 2 RT @LegendDeols or GET Ready to dance # &&&&R 3 @britch_x Hubby's friend bought us Wendy's-che... 4 RT @DAILYPUPPIES: Workout partner ol https://... 10] emoji_matrix.head() 2 O 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 | oO o o 1 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1 0 0 0 o oo 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 o o o o o 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 4 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 rows x 105 columns
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started