Machine Learning

Let’s look at some examples of Machine Learning.

Try to answer some questions

What language is this?

LanguageIdentify takes pieces of text, and identifies what human language they’re in.
Identify the language each phrase is in:
In[]:=
LanguageIdentify"thank you","merci","dar las gracias","感謝","благодарить"

What’s in this image?

Identify what an image is of:
In[]:=
ImageIdentify


What sort of sentiment does this text express?

Classifying the “sentiment” of text:
In[]:=
Classify["Sentiment","I'm so excited to be programming"]
In[]:=
Classify["Sentiment","math can be really hard"]

Reframe the questions: Is this A or B (or C or D or E)


Remember Vectors and Vector Spaces


Nearness as step to identifying


Supervised vs. Unsupervised Machine Learning

In machine learning, one often gives training that explicitly says, for example, “this is a cheetah”, “this is a lion”. This is known as “Supervised Learning”. You provide labeled examples that were created by some expert.
But one also often just wants to automatically pick out categories of things without any providing specific labels. This is “Unsupervised Learning”.

Supervised Learning

This is used to answer questions of the type:
◼
  • Is this A or B (or A or B or C or D or E)? (Classification)
  • ◼
  • How much or how many? (Regression)
  • The Task of Classification
    

    The Task of Regression
    

    Unsupervised Learning

    This is used to answer questions like:
    ◼
  • How is the data organized?
  • ◼
  • Do the samples separate into groups of some kind?
  • ◼
  • Are there samples that are very different from most of the group (outliers)?
  • The Task of Clustering
    

    Classification based on Clustering
    

    AI, Machine Learning and Neural Networks
    