└── Intro Machine Learning
└── Intro.md
/Intro Machine Learning/Intro.md:
--------------------------------------------------------------------------------
1 | # Learn the Underlying Techniques and Basics of Machine Learning in Python
2 |
3 |
4 |
5 |
6 | ---
7 |
8 | Machine learning is an application of artificial intelligence (AI) that provides systems the ability to automatically learn and improve from experience without being explicitly programmed. Machine learning focuses on the development of computer programs that can access data and use it to learn for themselves.
9 |
10 | In this article, we’re going to learn some important techniques and tools that will help you properly use machine learning in the right way.
11 |
12 | ---
13 |
14 | ## What You Will Learn in This Article:
15 | - History of machine learning
16 | - Machine learning itself
17 | - Types of Machine learning
18 | - Applications of Machine learning
19 | - Conclusion
20 |
21 | ---
22 |
23 | ## Brief History of Machine Learning
24 |
25 |
26 |
27 | This shows that there is a deep correlation between Artificial intelligence, Machine learning, and deep learning.
28 |
29 | Machine Learning (ML) is an important aspect of modern business and research. It uses algorithms and neural network models to assist computer systems in progressively improving their performance.
30 |
31 | Machine Learning algorithms automatically build a mathematical model using sample data — also known as “training data” — to make decisions without being specifically programmed to make those decisions.
32 |
33 | In this post, I will be giving a brief history of machine learning. Let’s get into the real deal.
34 |
35 | ---
36 |
37 | ### The Evolution
38 |
39 | In 1950, Alan Turing founded the “Turing Test” to determine if a computer has real intelligence. To pass the test, a computer must be able to tease a human into believing it is also human. In 1952, Arthur Samuel wrote the first computer learning program.
40 |
41 | The program was the game of checkers, and the IBM computer improved at the game the more it played, studying which moves made up winning strategies and incorporating those moves into its program. In 1957, Frank Rosenblatt designed the first neural network for computers (the perceptron), which simulate the thought processes of the human brain. In 1967, The “nearest neighbor” algorithm was written, allowing computers to begin using very basic pattern recognition.
42 |
43 | This could be used to map a route for traveling salesmen, starting at a random city but ensuring they visit all cities during a short tour. In 1979, Students at Stanford University invent the “Stanford Cart” which can navigate obstacles in a room on its own. In 1981, Gerald Dejong introduces the concept of Explanation Based Learning (EBL), in which a computer analyses training data and creates a general rule it can follow by discarding unimportant data. But 2016, Google’s artificial intelligence algorithm beats a professional player at the Chinese board game Go, which is considered the world’s most complex board game and is many times harder than chess.
44 |
45 | The AlphaGo algorithm developed by Google DeepMind managed to win five games out of five in the Go competition.
46 |
47 | ---
48 |
49 | ## Machine Learning Itself
50 |
51 | ### What is Machine Learning?
52 |
53 | Now that we understand what machine learning is, let’s go straight into the definition aspect of this article.
54 |
55 | Machine learning (ML) is the study of computer algorithms that improve automatically through experience. It is seen as a subset of artificial intelligence. Machine learning algorithms build a model based on sample data, known as “training data”, in order to make predictions or decisions without being explicitly programmed to do so.
56 |
57 | According to McKinsey, he defined Machine learning as the:
58 | “algorithms that can learn from data without relying on rules-based programming.”
59 |
60 | According to Arthur Samuel, he said:
61 | Machine learning is the ability of a computer to perform task itself without being explicitly programmed.
62 |
63 | ---
64 |
65 | ## Types of Machine Learning
66 |
67 |
68 |
69 | Machine learning can be classified into 4 types of algorithms.
70 |
71 | - Supervised learning
72 | - Unsupervised learning
73 | - Semi-supervised learning
74 | - Reinforcement learning
75 |
76 | ---
77 |
78 | ### Supervised Learning
79 |
80 |
81 |
82 | Supervised learning is the machine learning task of learning a function that maps an input to an output based on example input-output pairs. It infers a function from labeled training data consisting of a set of training examples.
83 |
84 | ---
85 |
86 | #### Types of Supervised Learning
87 |
88 | 1. **Classification:**
89 | Classification is a type of supervised learning. It specifies the class to which data elements belong to and is best used when the output has finite and discrete values. It predicts a class for an input variable as well.
90 | **Example:** Spam detection, Churn prediction, Sentiment analysis e.t.c
91 |
92 | 2. **Regression:**
93 | Regression analysis is a subfield of supervised machine learning. It aims to model the relationship between a certain number of features and a continuous target variable.
94 | **Example:** Predicting stock prices, predicting prices of homes e.t.c
95 |
96 | ---
97 |
98 | #### Supervised Machine Learning Algorithms
99 |
100 | - K-nearest Neighbors
101 | - Linear Regression
102 | - Support Vector Machines
103 | - Decision Tree
104 | - Random Forest
105 | - Neural Networks
106 |
107 | ---
108 |
109 | ### Unsupervised Learning
110 |
111 |
112 |
113 | Unsupervised learning is a type of machine learning that looks for previously undetected patterns in a data set with no pre-existing labels and with a minimum of human supervision.
114 |
115 | ---
116 |
117 | #### Types of Unsupervised Learning Algorithms
118 |
119 | 1. **Clustering [K-means]:**
120 | Clustering is a Machine Learning technique that involves the grouping of data points. In theory, data points that are in the same group should have similar properties and/or features, while data points in different groups should have highly dissimilar properties and/or features.
121 | **Example:** Identification of Cancer Cells e.t.c
122 |
123 | 2. **Association Rule Learning [Eclat]:**
124 | The ECLAT algorithm stands for Equivalence Class Clustering and bottom-up Lattice Traversal. It is one of the popular methods of Association Rule mining. This vertical approach of the ECLAT algorithm makes it a faster algorithm than the Apriori algorithm.
125 | **Example:** Indication of how frequently the item set appears in the database.
126 |
127 | 3. **Visualization and Dimensionality Reduction [Principal Component Analysis (PCA)]:**
128 | In machine learning, however, too much data can be a bad thing. Specifically, we will discuss the Principal Component Analysis (PCA) algorithm. Now, using a custom plot decision regions function, we will visualize the decision regions.
129 |
130 | ---
131 |
132 | ### Semi-supervised Learning
133 |
134 |
135 |
136 | Semi-supervised learning is an approach to machine learning that combines a small amount of labeled data with a large amount of unlabeled data during training. Semi-supervised learning falls between unsupervised learning (with no labeled training data) and supervised learning (with only labeled training data).
137 |
138 | Mostly, the algorithm of supervised and unsupervised learning algorithms are combined to make semi-supervised learning.
139 |
140 | **Example:** Deep belief networks (DBNs) are based on unsupervised stack called “Restricted Boltzmann Machines (RBMs)” stacked on top of one another.
141 |
142 | ---
143 |
144 | ### Reinforcement Learning
145 |
146 |
147 | Reinforcement learning (RL) is an area of machine learning concerned with how software agents ought to take actions in an environment in order to maximize the notion of cumulative reward. Reinforcement learning is one of three basic machine learning paradigms, alongside supervised learning and unsupervised learning.
148 |
149 | As the name implies, it is somehow more difficult. The “agent” is the learning system. In this sense, it observes the environment, selects and performs actions, and sets “rewards” in turn.
150 |
151 | ---
152 |
153 | ## Applications of Machine Learning
154 |
155 | Machine learning is applied in every sector in the real world. Some of the applications are:
156 |
157 | - Image Recognition: Image recognition is one of the most common applications of machine learning
158 | - Speech Recognition
159 | - Traffic Prediction
160 | - Product Recommendations
161 | - Self-driving Cars
162 | - Email Spam and Malware Filtering
163 | - Virtual Personal Assistant
164 | - Online Fraud Detection e.t.c
165 |
166 | ---
167 |
168 | ## Conclusion
169 |
170 | As we move forward into the digital age, one of the modern innovations we’ve seen is the creation of Machine Learning. This incredible form of artificial intelligence is already being used in various industries and professions.
171 |
172 | Thanks for reading.
173 |
--------------------------------------------------------------------------------