Elaborazione del linguaggio naturale

Capire il Machine Learning

Sara Billen

Curriculum Manager at DataCamp

Natural Language Processing (NLP)

La capacità dei computer di capire il significato del linguaggio umano

Capire il Machine Learning

Bag of words

Bag of Words

Capire il Machine Learning

Bag of words

"U2 is a great band"

Parola Conteggio
U2 1
Queen 0
is 1
a 1
great 1
band 1

"Queen is a great band"

Parola Conteggio
U2 0
Queen 1
is 1
a 1
great 1
band 1
Capire il Machine Learning

Bag of words: n-grammi

"That book is not great"

Parola Conteggio
That 1
book 1
is 1
not 1
great 1

2-gram (bi-gram)

Parole Conteggio
That book 1
book is 1
is not 1
not great 1
Capire il Machine Learning

Bag of words: limiti

  • I conteggi di parole non considerano i sinonimi
  • Esempio: "blue"
    • "sky-blue"
    • "aqua"
    • "cerulean"
  • Vorremmo raggrupparle in un'unica feature

blu

Capire il Machine Learning

Word embeddings

Word embeddings

  • Creano feature che raggruppano parole simili
  • Le feature hanno un significato matematico:

$$

king - man + woman = queen

Capire il Machine Learning

Traduzione automatica

Traduzione con rete neurale

Capire il Machine Learning

Applicazioni

  • Traduzione automatica
  • Chatbot
  • Assistenti personali
  • Analisi del sentiment
  • ...

Uomo che chatta con un chatbot sullo smartphone

Capire il Machine Learning

Deep learning

  • Due tipi di problemi
    • Computer vision
    • Natural language processing
  • Perché deep learning?
    • Problemi complessi
    • Estrazione automatica delle feature
    • Tanti dati

Capire il Machine Learning

Ayo berlatih!

Capire il Machine Learning

Preparing Video For Download...