What the Flat Layer Sees

Sequential DataEasy+10 XP+10

What the Flat Layer Sees

A sentiment classifier is built the only way this course has shown so far: a flat dense layer with a fixed-size input. To feed it text, each sentence is turned into a count vector — one slot per vocabulary word, holding how many times that word occurs in the sentence.

The vocabulary is five words, in this fixed slot order:

slot12345
wordacatchaseddogthe

The sentence

the dog chased a cat

therefore becomes the count vector [ 1, 1, 1, 1, 1 ][\,1,\ 1,\ 1,\ 1,\ 1\,][1, 1, 1, 1, 1] — each of the five words occurs exactly once.

Four new sentences arrive, all written with words from the same five-word vocabulary.

Which one does this model receive as a different input from the original?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.