were first introduced for images, and for images they are often easy to understand.

A filter slides over pixels and detects edges, shapes, or textures. You can read this article I wrote earlier to understand how CNNs work for images with Excel.

For text, the idea is the same.

Instead of pixels, we slide filters over words.

Instead of visual patterns, we detect linguistic patterns.

And many important patterns in text are very local. Let’s take these very simple examples:

  • “good” is positive
  • “bad” is negative
  • “not good” is negative
  • “not bad” is often positive

[In my previous article](https://towardsdatascience.com/the-machine-learning-advent-calendar-day-22-embedding…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help