Introduction
Why Machine Learning? Why would you want to understand Machine Learning? How does it matter to your life? If you're not a master of it, why do you at least need to understand the basics of Machine Learning? The answer to all these questions is very simple. It’s because Machine Learning on a day to day basis is becoming bigger and it is knowingly or unknowingly part of our life and so it is important to know what it is. We’ll try to answer all the basic questions related to machine learning in this and the following articles on Machine Learning and at least know what Machine learning is and what could be achieved with Machine Learning.
Series
We’ll try to cover the topic and Machine learning concepts including terminology in a form of a series. This being the first article of the series we will focus on high level machine learning concepts that could be followed by understanding machine learning in detail with how it works. Following are the articles that we’ll follow to know about machine learning.
- Introduction to Machine Learning
- Machine learning processes and scenarios
- Machine learning: Deep dive
Machine Learning
So, what is machine learning? To be honest, there is no definition of machine learning that everyone knows, but it is a concept and there are more core concepts related to this. The one important area where we could apply machine learning is to find patterns in data. Then those patterns are used to predict the future and make decisions. For e.g. on a Learning Management System(L.M.S.) one can identify, what chapter, content, or image a learner or reader spent more time reading and what interests an individual as a reader, or what quizzes, courses etc interest a reader most. One can apply machine learning concepts to identify each and every action and the time spent by the reader on the learning content, and accordingly, the content creator will know which area of the content people are more interested in, and what has to be improved or should be focused on. Another such example could be to detect an internet banking fraud.
If there is a continuous fraud happening with the funds transfer via internet banking and we have the complete data, we could find out the pattern involved through which we can identify where are the loop holes or hack prone areas of the application. So it’s all about patterns and predicting the results and future on the basis of those patterns. As a conclusion to the definition we can say that machine learning plays an important role in data mining, image processing and language processing. Machine learning cannot always provide a correct analysis or cannot always provide an accurate result based on the analysis but it gives a predictive model based on historical data to make decisions. The more data the more result oriented predictions could be made.
Patterns
Let’s take a simple example of reading and learning. We learn by reading, but how do we read? We read by identifying patterns, we identify the letters, the patterns of the alphabets to form words. Then we get adapted to that pattern by seeing it again and again, therefore we learn to read and eventually read to learn. Now coming onto the net banking fraud that I mentioned, suppose we have data for the transactions that happened through net banking, we can create a predictive analysis model and try to know the future. Let’s suppose we have 5 records for transactions.
![Machine Learning]()
As shown in the above image, we have the data of customer name, amount and the fraudulent transactions.
When we see the data and try to identify the pattern, we could not really get anything out except from the conclusion that all those customers whose name starts with “J” have fraudulent transactions. But this is not something on which we can rely upon as this is kind of a vague prediction. So the limitation here for us to identify the correct pattern is data or one can say limited/less data. We cannot conclude why the two transactions are likely to be fraudulent. Now suppose we have more data as shown below.
![Machine Learning]()
So, we have almost 16 transaction records with us now with more details like the location of the transaction and the age of the customer as well. If we closely consider the data and try to find out a pattern, we find that all the fraudulent transactions have been made in China, the age group of the customers who fall in fraudulent transactions is between 20 to 25 and the amount for which fraud has been detected is always more than $20000. So we can say that we found a pattern here, but again, can we rely on this analysis and make a prediction? Do we have enough data for the analysis? Maybe not. We need more and more transaction data to actually predict the behavior based on patterns. But when it comes to millions of transaction records, it would then be cumbersome for us to find the right pattern with the naked eye or manually. There we need software to do all the analysis, and so machine learning comes into the picture.
Machine Learning: High Level View
At a high level, Machine Learning could be understood in a way as shown in the following diagram.
![Machine Learning]()
We initially start with the lots of data, the data that contains patterns. That data gets inside machine learning logic and algorithm to find the pattern or patterns. A predictive model is the outcome of the machine learning algorithm process. A model is typically the business logic that identifies the probable patterns with new data. Application is used to supply data to model to know if the model identifies the known pattern with the new data. In the case that we took, new data could be data of more transactions. Probable patterns mean that a model should come up with predictive patterns to check if the transactions are really fraudulent.
Machine Learning: The Buzz
We see machine learning picking up the pace and is very popular nowadays. The question is why, but there are a lot of reasons to answer this question. Firstly, if we see machine learning process we figure out that to correctly do machine learning; we need to feed it with lots of data. The data could be structured or un-structured, and the good thing is that we have that data. In this era of Big Data we not only have a lot of data but we also have the computation power to process that data. Not only this, we talk about cloud computing which requires operative and implied machine learning algorithms, which we also have. All these things were not available earlier as they are now to us. Another question is who does machine learning interest? Who are the people who actually care about machine learning? The people in a nut shell could be divided into three major groups. First is business owners, they always need solutions to solve their business needs and business problems. For example to check the fraudulent transactions, to check how likely their customers are to switch to other providers. Machine learning thus adds value to the business by providing better solutions and accurate predictions. The bigger an organization is, the better and faster business they own and therefore the need of those business solutions always persists. The best thing is that the business owners are also ready to pay for the business solutions. So, we see machine learning is already beyond limitations.
Another group is software developers. They care about machine learning so that they can build good applications to solve business problems. The applications as we saw in the machine learning model are dependent upon predictive models created out of machine learning algorithms to make better predictions. So software developers do not actually need to worry about the models or they do not have to really be an expert on models, using machine learning they can build smart applications which just use those models.
The third group of people is data scientists who actually need effective and handy tools. Data scientists are the people who really care and have a deep knowledge of statistics, machine learning tools/software, who know well how to code and who really are domain experts. Data scientists are very limited and expensive because again they help business to grow by solving business problems and growing business means saving and earning more money. So data scientists in themselves are a value to any business, as they are a complete package of knowledge, statistics, problem domain and machine learning. There is another group that we did not talk about, and that is vendors who make machine learning offerings and services.
Since machine learning is referred to many times as predictive analysis, there are vendors who offer analytics, there is SAAS, RapidMiner and others too who are the part of this space.
Machine learning is more of an added value on to conventional analytics of data mining in most ways. That’s the reason why companies like SAP, Oracle, Microsoft and IBM offer such machine learning products because they know that a big money is involved in this space, and they know that this is in and part of growing market. On the other hand when we see the companies like Amazon and Microsoft providing cloud offerings, we see the machine learning offering already living there.
R Programming
“R” is a programming language an environment, the beauty is that it is an open source programming language. Following is the definition from r-project
R is a language and environment for statistical computing and graphics. It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues. R can be considered as a different implementation of S. There are some important differences, but much code written for S runs unaltered under R.
R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, …) and graphical techniques, and is highly extensible. The S language is often the vehicle of choice for research in statistical methodology, and R provides an Open Source route to participation in that activity.
The definition is self-explanatory about this language, R, supports machine learning, statistics computation and a lot more. It contains packages to solve various sorts of machine learning problems. R is supported by a lot of commercial machine learning offerings. R is not alone, but Python also is equally popular in this area and also contains packages more or less similar to R to solve business problems.
Conclusion
To handle an intelligent conversation and to have a high level knowledge of machine learning, we acquired theoretically a good knowledge. We can say that using machine learning we can find patterns, and then create a model that recognizes those patterns with new iterative data, and last but not least, machine learning can really help any organization to grow.
References