[Swift] Machine Learning – Supervised Learning

Nowadays you should hear about Big data, machine learning, and etc.

Machine learning is your program is getting know what is input and it will response automatically without specific coding about the process.

 

1.Machine Learning type - Supervised Learning
There are two types of ML are there, one is Supervised and Unsupervised Learning.

 

2. Classification
Supervised learning is that you will be a teacher of your program.

For instance, you put a lot of cat images into your program then your program will distinguish cat images, however, it will not know when you give a dog image and it will answer "it isn't a cat image"

3. Spam Mail

This is basic status of your gmail's spam mail function and it will distinguish a spam mail by how many links are in the mail.

As far as you know that some time regular mails are going into the spam mail or does happened in opposite way.

Getting more and more time it learning, it's accuracy should be higher and higher.

 

4. Discrete vs. Continuous Data

As I already explained above, classification has two types of data, discrete or continuous.

Discrete data is blocked data such as grade, A+, A,  A-, B+, and etc.

Continuous data is like a ruler. there are so many lines are there.

 

5. Regression

Regression Data

In the regression line graph, what could you see in your human eyes?

Red dots are data, and blue line is trend and your brain estimates draw a blue line via red dots trend.

machine learning working like that. it will make trend line through so many data set, such as red dots.

 

This is one of the way of machine learning, next post I will explain unsupervised learning. Don't you expected?

 

Leave a Comment

en_USEnglish