{"id":2890,"date":"2021-01-20T16:36:58","date_gmt":"2021-01-20T16:36:58","guid":{"rendered":"https:\/\/www.biconnector.com\/blog\/?p=2890"},"modified":"2021-08-10T14:46:44","modified_gmt":"2021-08-10T14:46:44","slug":"artificial-intelligence-ai-and-machine-learning-ml-explained-with-examples","status":"publish","type":"post","link":"https:\/\/www.biconnector.com\/blog\/artificial-intelligence-ai-and-machine-learning-ml-explained-with-examples\/","title":{"rendered":"Artificial Intelligence (AI) and Machine Learning (ML): How do they differ?"},"content":{"rendered":"\n

Introduction<\/h2>\n\n\n\n

In this blog post, we\u2019ll see the basic differences between Artificial Intelligence (AI) and Machine Learning (ML) with examples.<\/p>\n\n\n\n

Though the terminologies, AI, and ML are usually used interchangeably in the business world by the non-technical folks, they both are slightly different from each other indeed. <\/p>\n\n\n\n

If you\u2019re new to AI and ML technologies, you might even wonder how a preprogrammed solution is different from an AI solution. No worries! We\u2019ll also cover how a preprogrammed app differs from an AI-driven solution.<\/p>\n\n\n

\n
\n

How to Leverage Snowflake For Data Lake Analytics? >><\/a>
\n<\/b><\/p>\n<\/div>\n<\/div>\n

<\/p>\n\n\n

In short, we\u2019ve created this piece as simple as possible, specifically for a non-techie to clearly understand and differentiate a preprogrammed app, AI solution, and ML solution from each other.<\/p>\n\n\n\n

Ok, let\u2019s break the ice!<\/p>\n\n\n\n

What\u2019s Artificial Intelligence (AI)<\/h2>\n\n\n\n

Artificial Intelligence is the field of programming machines to make decisions based on dynamic, real-world scenarios. An AI solution is unlike an app for anticipated scenarios, where the decision is coded within the program itself.<\/p>\n\n\n\n

Before we see the examples for AI, let\u2019s first take a quick look at how an AI solution differs from a preprogrammed solution with a simple example!<\/p>\n\n\n\n

Artificial Intelligence vs Preprogrammed solution<\/h3>\n\n\n\n

A flight ticket booking system is an example of a preprogrammed solution, where the program is developed to take the users through a predefined, fixed set of processes. <\/p>\n\n\n\n

The possible scenarios are all foreseen and the corresponding decisions are all implemented within the program. There is no scope for the program to rely on inputs from the real-world to make a decision by itself. 
<\/p>\n\n\n\n

\"Flight<\/figure>\n\n\n\n

From a technical perspective, the app just interacts with a database to check if flight(s) are available between the from and to cities you entered on the selected date. <\/p>\n\n\n\n

If no, it displays a message as flight not available on the selected date. <\/p>\n\n\n\n

If yes, it then checks if the number of seats you requested in the selected class is available, and displays the list of flights meeting the condition. Then you\u2019re taken through the process of entering the travelers\u2019 details and making the payment. <\/p>\n\n\n

\n
\n

[Beyond Dashboards] 4 Ways to Level Up Analytics >><\/a>
\n<\/b><\/p>\n<\/div>\n<\/div>\n

<\/p>\n\n\n

The decisions for the \u2018Yes\u2019 and \u2018No\u2019 conditions for the different use-cases of this flight booking app are all foreseeable and predictable. Hence the decisions to all these foreseen conditions are preprogrammed within the app, and the app doesn\u2019t rely on real-world inputs to make a decision. <\/p>\n\n\n\n

Artificial Intelligence (AI) Solution Examples<\/h3>\n\n\n\n

In this section, we\u2019ll see 2 examples of AI applications.<\/p>\n\n\n\n

  1. Cab riding app, say Uber<\/li>
  2. e-Commerce app, say Amazon<\/li><\/ol>\n\n\n\n

    The examples provided below about how AI could be used by Uber and Amazon will help you understand AI better.<\/p>\n\n\n\n

    AI applications in Uber<\/h4>\n\n\n\n

    Uber was one of the early adopters of AI. This Forbes article<\/a> lists the different ways Uber leveraged AI back in 2018! It\u2019s quite evident that Uber is leveraging AI much more now.<\/p>\n\n\n\n

    When you open the Uber app<\/strong>, you see the different cab options listed, with the time taken by each of them to reach the pickup spot you entered. When you enter the destination, you can see the drop-off ETA as well for each of these cab options.<\/p>\n\n\n\n

    \"Artificial<\/figure>\n\n\n\n

    This time taken is calculated by an AI solution, based on the shortest route for a cab available nearby your pickup spot. In calculating the time taken to reach your pickup spot via a route, the AI takes the traffic, one-way paths as well into account to arrive at the final numbers.<\/p>\n\n\n

    \n
    \n

    [Step-by-Step Guide] Row Level Security (RLS) Setup in Power BI >><\/a>
    \n<\/b><\/p>\n<\/div>\n<\/div>\n

    <\/p>\n\n\n

    During the ride, if the driver deviates from the suggested route, you may have noticed the route getting updated accordingly to guide the driver to your desired destination. This is because the route optimization is done by an AI solution, based on the real-world scenario.<\/p>\n\n\n\n

    AI Application in Amazon<\/h4>\n\n\n\n

    In the case of Amazon, when you see a product in the app, you can also see the estimated time for the product delivery to your location. This time estimation, if preprogrammed, can only be based on the distance between the product\u2019s geographic location and your location. <\/p>\n\n\n\n

    \"AI<\/figure>\n\n\n\n

    However, the AI estimates this time (with x % accuracy rate, we think the x should be more than 90) based on several real-world factors that may include:<\/p>\n\n\n

    \n
    \n

    OAC vs OAS – When to Choose What? >><\/a>
    \n<\/b><\/p>\n<\/div>\n<\/div>\n

    <\/p>\n\n\n