Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Machine Learning is Conquering Explicit Programming
Machine Learning

Machine Learning is Conquering Explicit Programming

Last Updated on July 30, 2020 by Editorial Team

Author(s): Vaibhav Khandelwal

Machine Learning, Opinion

Are machines better thanΒ humans?

Photo by Lukas onΒ Unsplash

Before we proceed further to this post let us first understand what is a binary classification. So let’s understand this by a very simple instance. You are at home and it’s lunchtime, your mom comes to you and asks if you are hungry and want to have your lunch, your answer will be either β€œyes” or β€œno”. You only have two options to reply i.e. binary options. Let’s take another example of a student who has just received his result of grade 12 the result will be β€œpassed” or β€œfailed”. These two examples fall under the binary classification as they have two options. Now let’s see how expert systems or rule-based systems are used for Binary Classification.

The expert system in Binary Classification:

The task of the machine is to check whether the image given to a machine contains text orΒ not?

To understand this let’s see how Humans make decisions?

Consider the Health domain: Suppose a doctor is examining the patient and he needs to check whether the patient has Dengue orΒ not?

The doctor is looking at several factors like Skin rash, fever, headache, cold cough, vomiting, and decides whether the person has dengue orΒ not.

Factors Looked up by Doctors- Image byΒ Author

The doctor checked one of the patients with the shown symptoms and did not find theΒ dengue.

Symptoms of a patient with no Dengue- Image byΒ Author

The doctor then checked another patient and found most of the symptoms were there which were enough for the doctor to declare the patient hasΒ Dengue.

Symptoms of a patient with Dengue- Image byΒ Author

So now the question arises how the doctor is making all such decisions??

The answer to this is historical data. The doctor had encountered several patients and based on his experience he is now making all such decisions whether a patient has dengue orΒ not.

The below-shown image contains the historical data of four patients.

Historical records of patients- Image byΒ Author

As machines understand only the numbers so let’s take β€˜CROSS’ as β€˜0’ and β€˜TICK’ as β€˜1’, so the historical data will appear asΒ follow:

Historical data in numerical form for Machine Understanding- Image byΒ Author

So what are the Semantics of decision making byΒ doctors?

2 things that play the role there: Feature andΒ Rules.

Features are the inputs or symptoms that we are taking- Skin rash, fever, headache, cold cough and vomiting.

Rules are the permutations of symptoms going on in the head of the doctor which decides whether dengue is there i.e suppose if 2 or more symptoms are positive or 3 or more are positive then the person hasΒ dengue.

Features and Rules- Image byΒ Author

Now we want to outsource these rules to a machine in the form of a program so that the machine can execute the program by taking some input and give us the output. We’ll write an if-else condition and based on the conditions the program will give theΒ output.

Outsourcing the rules to the machine through program- Image byΒ Author

Limitations of an expertΒ system:

Let’s take a situation here: Suppose you have a company named Data Science Arena and your company is to hire a person for aΒ job.

So for hiring someone, the hiring manager is going to look at various parameters like- 10th marks, 12th marks, if he/she is a graduate, what was the CGPA, what all projects have been done, and some other parameters. The hiring manager will make different permutations of tasks in his/her mind and then he’ll decide whether to select or reject a candidate.

Hiring Scenario- Image byΒ Author

But if the tasks of hiring are comparatively large then it would be very difficult for any human to make the permutations of the tasks and the company will prepare a program to be fed to the machine to make it process and give theΒ output.

Thus comes the first limitation– If the number of features (tasks here) are more then it won’t be possible to come up with the different permutation easily and thus difficult to bring out an if-else programΒ easily.

Also as there would be a large number of historical data of the employees who had been hired and also the ones who have left the company. So looking at the different scenarios out of the large historical data it won’t be easily possible for a human to write a program out ofΒ it.

The data appears to be asΒ follows:

Historical data of 4 Employees- Image byΒ Author

Looking at the data one can see that the rules for forming the permutations would be tooΒ complex.

Thus comes the second limitation– Even if anyhow you came up with the rules but it won’t be possible to remember all the rules as the rules would be too muchΒ complex.

Also sometimes the rules are inexpressible i.e. suppose the hiring manager hired a person based on his honesty. So how can we express this as aΒ rule?

As honesty can’t be expressed in any quantitative form thus making it as the third limitation.

So to solve the above limitations we use machine learning. It takes the inputs and forms a function f(x1, x2, … xn) that includes all our permutations and based on the input provided, gives us the output. The function formed can be a linear or of any degree based on theΒ inputs.

Thanks for reading. Hope this blog gave you some insights about how machine learning is conquering the explicit programming. πŸ˜ƒ


Machine Learning is Conquering Explicit Programming was originally published in Towards AIβ€Šβ€”β€ŠMultidisciplinary Science Journal on Medium, where people are continuing the conversation by highlighting and responding to this story.

Published via Towards AI

Feedback ↓