Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are working for the data science team of Twitter that needs to classify people's tweets as y1= hate-speech or y0= not-hate-speech. You have access

image text in transcribed

You are working for the data science team of Twitter that needs to classify people's tweets as y1= "hate-speech" or y0= "not-hate-speech". You have access to a dataset of thousands of tweets each represented as a sequence of words x and the true label y. A. (5 points) Assuming that all words came from an vocabulary of sizer V, suggest a way to map the i-th word of the tweet text into a vector xi. B. (15 points) Draw and dimension a CNN-based architecture that that will successfully predict accurately the label of the tweet yhat. Please note that all explanations of the choices you have done, such as dimensions of all tensors involved, must be shown to get full credit and its up to you to define the number of layers of the network. C. (10 points) The vast majority of the posts are "not hate speech" but a much smaller fraction are. Define a loss function that will address the imbalance of such binary classifier

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

the various levels of products or services;

Answered: 1 week ago

Question

Draw the resonance structure for the following 3

Answered: 1 week ago