A Quick Walkthrough to Machine Learning


What is intelligence? 

Intelligence is a human’s ability to learn from experience, adapt to new situations, use knowledge to manipulate one’s environment, and lastly understand and handle abstract concepts.

So, how to create an artificial intelligence?

There are many definitions of artificial intelligence, but here we will talk about 4 approaches to artificial intelligence from Russel & Norvig in their book, Artificial Intelligence, a modern approach, third edition.

First approach is thinking rationally, this approach use the law of thought by Aristotele, in his syllogisms, a form of reasoning processes that provided patterns for argument structures that always yielded correct conclusions when given correct premises. Second approach is thinking humanly, the objective is to imitate the actual workings of human minds, for example communication between neurons when we got a stimulus. Third approach is acting rationally, we used the rational agent approach, the objective of rational agent is to achieve the best outcome, or the best expected outcome when there is uncertainty. Fourth approach is acting humanly, to call a machine acting humanly, the machine should pass the Turing Test, when a human interrogator can’t tell whether the responses come from a person or from a machine. There are some capabilities to passed the Turing test, first is natural language processing to enable the machine to communicate like a human, knowledge representation to store what is knows or hears, automated reasoning to use the stored information to answer questions and draw new conclusions, and lastly machine learning to adapt to new circumstances and to detect and extrapolate pattern.

We have mentioned machine learning earlier as an ability of machines to adapt to new circumstances and to detect and extrapolate patterns. There are 3 types of machine learning, 1st is supervised learning, 2nd is unsupervised learning, and 3rd is reinforcement learning. So, for supervised learning, here we have data in the table, there are 4 columns here, sky, air temperature, humidity, wind, and play (fig 1). Assume we want to predict the value of the column “play”, whether yes or no based on the value in other columns. So, we called column “play” as target and other columns as a predictor. And we call this table as training data. Next, we use the training data as input in the learning process to build a trained model. We call this process training. After we get the trained model, we can make a prediction of the target from the testing data. The 2nd type of machine learning is unsupervised learning, the difference between data in supervised and unsupervised learning is we don’t have a target in our data. Look at these points, we have x axis and y axis as our attributes, what we do in clustering is make a categorization of these data based on their similarity and difference. This is the example if we make a categorization based on x and y values, we have 3 classes, the blue one, the red one, and the green one(fig 2). Last is reinforcement learning, assume the biggest rectangle is our environment, inside this environment we have our agent in a state.

Pelajari lebih lengkap di JIWA Learning.

    Your Cart
    Your cart is empty