




























































































Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!





























































































Hello, and welcome to the course introduction to the OCI AI Foundations 2023 course. I'm Hemant Gahankari. I'm a senior principal training lead at Oracle University and will take you through this overview of the course. The course instructor for this course are Hemant Gahankari-- that is myself-- Himanshu Raj, and Nick Commisso. The content for this course has been contributed by Hemant Gahankari, Himanshu Raj, Kiran BR, Rohit Rahi, Anuradha Srinivasaraghavan, and Roshini Varghese. This course is intended for anyone who wants to begin learning about AI and ML, for example, Cloud engineers or architects, or IT professionals, or even students who want to upskill but have no prior exposure to AI/ML in the past, though familiarity with OCI or similar Cloud Services is recommended. This course is split into six modules. The first one is AI foundations. In this module, you will learn about foundational AI concepts and you will learn to differentiate between AI, ML, and DL, that is, artificial intelligence, machine learning, and deep learning. In this second module, you will dive deeper into machine learning and learn about supervised, unsupervised, and reinforcement learning. In the third module, you will learn about a variety of neural network architectures, like artificial neural network, convolutional neural network, recurrent neural network, and long-/short-term memory targeted at solving problems that need using complex data like images, videos, audio, or even text. In the fourth module, we will explore generative AI and LLMs. In this module, you will learn about basics of LLMs, that is, large language models, and transformers. You will also learn about prompt engineering and fine-tuning of LLMs. In the fifth module, you will get an overview of OCI AI stack, following which, you will learn about OCI ML service data science, OCI AI infrastructure, and also about trustworthy and responsible AI principles. In the sixth module, you will learn about OCI AI services. In this module, you will learn about OCI AI services for a variety of uses. You will get to know about OCI language, vision, speech, document understanding, and anomaly detection.
Before you move on to the next modules, make sure you complete the skill checks that we have provided to test your knowledge and reinforce your understanding of the topics covered. At any point in time, if you have a specific question about the course material or need extra help, fill out our Ask Your Instructor form. Our expert instructors will get back to you as soon as possible with personalized support. We also want you to get the most out of your learning experience, which is why we have created this community space where you can connect with the other learners and subject matter experts. If you have any questions or want to start a discussion on a particular topic, this is a place to do it. So don't be shy. Join the OU community today and start collaborating with your fellow learners. We can't wait to see what you will bring to the table. Some of the best practices to maximize the learning from this course are, go to the entire content of the course, including video lectures, demos, and skill checks. After every lecture or a demo, pause and recall, what did you learn? It may be even helpful to make some notes of what you learned and any difficulty you had. Take breaks if necessary while going through this course. Completing skill checks is important. It will help you solidify your learning. Taking practice exams will help you judge how comfortable you are for taking the actual certification exam. And finally, go through the exam preparation video and take the OCI AI Foundations 2023 exam itself. We believe in you and know that you have what it takes to succeed. Keep up the excellent work, and I'll see you at the next milestone on your journey towards completing the course. Thanks for watching.
Hi, and welcome to this module on foundations. My name is Nick, and I'm a senior cloud engineer here at Oracle. And I'm so grateful that you're here. Now before we dive in, let's take a look at some of the objectives of this module. By the end of the module, you'll be able to explain AI concepts, describe common AI domains and tasks and distinguish between artificial intelligence, machine learning, and deep learning. Now, let's dive in.
AI is vital in today's world, and with the amount of data that's generated, it far exceeds the human ability to absorb, interpret, and actually make decisions based on that data. That's where AI comes in handy by enhancing the speed and effectiveness of human efforts. So here are two major reasons why we need AI. Number one, we want to eliminate or reduce the amount of routine tasks, and businesses have a lot of routine tasks that need to be done in large numbers. So things like approving a credit card or a bank loan, processing an insurance claim, recommending products to customers are just some example of routine tasks that can be handled. And second, we, as humans, need a smart friend who can create stories and poems, designs, create code and music, and have humor, just like us. So let's break it down further to explore some more benefits. Here are some AI domains and their examples. We have language for language translation; vision, like image classification; speech, like text to speech; product recommendations that can help you cross-sell products; anomaly detection, like detecting fraudulent transactions; learning by reward, like self-driven cars. You have forecasting with weather forecasting. And, of course, generating content like image from text. So we're going to be exploring some of these further in the next lesson. Thank you.
Let's focus on AI tasks and data pertaining to these three AI domains. We have language, audio and speech, and vision. Let's begin with language tasks. Language-related AI tasks can be text related or generative AI. Text-related tasks use text as input, and the output can vary depending on the task. Some examples include detecting language, extracting entities in a text, or extracting key phrases and so on.
Consider the example of translating text. There's many text translation tools where you simply type or paste your text into a given text box, choose your source and target language, and then click translate. Now, let's look at the generative AI tasks. They are generative, which means the output text is generated by a model. Some examples are creating text like stories or poems, summarizing a text, answering questions, and so on. Let's take the example of ChatGPT, the most well-known generative chat bot. These bots can create responses from their training on large language models, and they continuously grow through machine learning. Let's look at how text as data works. Text is inherently sequential, and text consists of sentences. Sentences can have multiple words, and those words need to be converted to numbers for it to be used to train language models. This is called tokenization. Now, the length of sentences can vary, and all the sentences lengths need to be made equal. This is done through padding. Words can have similarities with other words, and sentences can also be similar to other sentences. The similarity can be measured through similarity or cosine similarity. We need a way to indicate that similar words or sentences may be close by. This is done through representation called embedding. Now, let's take a look at various language AI models. Language models refer to artificial intelligence models that are specifically designed to understand process and generate natural language. These models have been trained on vast amounts of textual data that can perform various natural language processing or NLP tasks. The task that needs to be performed decides the type of input and output. The deep learning model architectures that are typically used to train models that perform language tasks are recurrent neural networks, which processes data sequentially and stores hidden states, long short-term memory, which processes data sequentially that can retain the context better through the use of gates, and transformers, which processes data in parallel. It uses the concept of self-attention to better understand the context. Speech-related AI tasks can be either audio related or generative AI. Speech- related AI tasks use audio or speech as input, and the output can vary depending on the task. For example, speech-to-text conversion or speaker recognition, voice conversion, and so on. Generative AI tasks are generative in
Images as data. Images consist of pixels, and pixels can be either grayscale or color. And we can't really make out what an image is just by looking at one pixel. The task that needs to be performed decides the type of input needed and the output produced. Various architectures have evolved to handle this wide variety of tasks and data. These deep-learning model architectures are typically used to train models that perform vision tasks-- convolutional neural networks, which detects patterns in images; learning hierarchical representations of visual features; YOLO, which is You Only Look Once, processes the image, and detects objects within the image; and then you have generative adversarial networks, which generates real-looking images. Some other AI tasks. Anomaly detection. This is time-series data, which is required for anomaly detection, and it can be a single or multivariate for fraud detection, machine failure, et cetera. Recommendations. You can recommend products using data of similar products or users. For recommendations, data of similar products or similar users is required. Forecasting. Time-series data is required for forecasting and can be used for things like weather forecasting and predicting the stock price. Thank you.
In this lesson, I'll walk you through a couple of OCI AI services. The first one, Vision AI service. Vision AI service allows us to carry out a few tasks-- image classification, object detection, text detection, and Document AI. Let us explore each one of these. So let me pick up one local file for the image analysis over here. So, as you can see, the image has been analyzed, and we have got multiple labels here. And this is the confidence score of those labels. So what it means is, for the vegetation, the AI services 99.23% sure that there is a vegetation in this image. Let's try another image. This time, let's pick up an image of a zebra. So, once again, you can see here that the Zebra has been detected, vegetation, grassland, plant, animal-- all these labels have been assigned with the confidence scores over here.
Let's pick up another image as well. Let's pick up two zebras this time and see what happens. So it recognizes zebra. It also assigned a label of an animal, vegetation, sky, and a mammal. Let's try object detection. Let's pick up one image of a traffic over here. So in the object detection, we essentially get all these kind of bounding boxes around the objects. And, as you can see here, we have got the labels also and their confidence scores. And as you can see, multiple cars have been detected. Taxi has been detected. Multiple people have been detected into this image. Let's try another one. So it's a basket of fruit, and you can see here that multiple fruits, including orange, banana, apple have been detected. Even a bowl has been detected over here. Let's try our text detection. So let's pick up an image of a bus over here. So, as you can see, this bus has a lot of text written on it. So these are all the text that has been written and extracted by the service over here. It has even detected this number plate M32HOD. It has also detect this number 45 over here, all this text here, text here, and even the text here, and smaller text blocks over here also. Even this has been detected over here. Let's take another image for our text detection. So I just picked up image of different kind of fonts and I was just curious to see if it is able to extract the text, which is written into different fonts. So this is how it goes. It basically goes line by line. So Ariel, and the next word you will see is this. Then you will see Ariel Black and the words over here. So like that, it will keep on scanning the whole-- whole image over here. Now let's try the Document AI also. So one thing about Document AI is Document AI essentially has been moved to a separate service, which is called as document understanding. But from the feature perspective, the features of the Document AI envision and the document understanding service are the same. So let's try one image over here. So I'll upload one receipt over here, and let's see how does it analyze that receipt.
and early computers. All the sentiments have been detected, their score, and whether they are negative or positive-- that has been indicated. And we also have the sentence level sentiments also, which are marked as either negative or neutral in this particular case. And the personal identifiable information has also been identified. So some of the sensitive data like World War II or dates around it, and they have been indicated as potentially could be being sensitive. So that is an indication that the service has given us. That's the-- that is about the text analysis. Moving on to the text translation. We have a block of text here, and the source language is English here but we can change it to anything depending on the text that we provide. For now, let's keep it as English. And then for the target also, we have a choice of multiple languages here. Let's try the French first. So if we click translate just in a couple of seconds, the text has been translated and then we can try some other language like Japanese also over here. So the text has been translated into Japanese language also. And then, if we go to the Overview once again, we also have the capability of training the custom models also over here. If we provide the custom data, we can train our custom models also. Thanks for watching.
AI = Inteligencia Artificial ML = Machine Learning DL = Deep Learning Hi, and welcome to this module on AI versus ML versus DL as part of OCI's 2023 AI Foundations. Let's understand the difference between Artificial Intelligence, Machine Learning, and Deep Learning with some simple examples. Let's start with artificial intelligence or AI. Imagine a self-driving car that can make decisions like a human driver, such as navigating traffic or detecting pedestrians and making safe lane changes. AI refers to the broader concept of creating machines or systems that can perform tasks that typically require human intelligence. Next, we have machine learning or ML. Visualize a spam email filter that learns to identify and move spam
emails to the spam folder, and that's based on the user's interaction and email content. Now, ML is a subset of AI that focuses on the development of algorithms that enable machines to learn from and make predictions or decisions based on data. To understand what an algorithm is in the context of machine learning, it refers to a specific set of rules, mathematical equations, or procedures that the machine learning model follows to learn from data and make predictions on. And finally, we have deep learning or DL. Think of an image recognition software that can identify specific objects or animals within images, such as recognizing cats in photos on the internet. DL is a subfield of ML that uses neural networks with many layers, deep neural networks, to learn and make sense of complex patterns in data. There are several types of machine learning, including supervised learning, unsupervised learning, and reinforcement learning. Supervised learning where the algorithm learns from labeled data, making predictions or classifications. Unsupervised learning is an algorithm that discovers patterns and structures in unlabeled data, such as clustering or dimensionality reduction. And then, you have reinforcement learning, where agents learn to make predictions and decisions by interacting with an environment and receiving rewards or punishments. Let's understand the supervised machine learning algorithm. Let's take an example of how a credit card company would approve a credit card. Once the application and documents are submitted, a verification is done, followed by a credit score check and another 10 to 15 days for approval. And how is this done? Sometimes, purely manually or by using a rules engine where you can build rules, give new data, get a decision. The drawbacks are slow. You need skilled people to build and update rules, and the rules keep changing. The good thing is that the businesses had a lot of insight as to how the decisions were made. Can we build rules by looking at the past data? Let's take a look. We all learn by examples. Past data is nothing but a set of examples. Maybe reviewing past credit card approval history can help. Through a process of training, a model can be built that will have a specific intelligence to do a specific task. The heart of training a model is an algorithm that incrementally updates the model by looking at the data samples one by one.
identify a cat or a dog in an image? Can the features and rules be extracted from the raw data, in this case, pixels? Deep learning is really useful in this situation. It's a special kind of machine learning that trains super smart computer networks with lots of layers. And these networks can learn things all by themselves from pictures, like figuring out if a picture is a cat or a dog. Let's explore what neural networks are. To make tricky things work, we use layers of neurons. Neural networks are like a bunch of connected brain cells stacked together. They're an example of a supervised machine learning algorithm that is perhaps the best understood in the context of functional approximation. Functional approximation involves estimating a hidden function by examining past or currently known data from the specific domain. Generative AI, a subset of machine learning, creates diverse content like text, audio, images, and more. These models, often powered by neural networks, learn patterns from existing data to craft fresh and creative output. For instance, ChatGPT generates text-based responses by understanding patterns in text data that it's been trained on. Generative AI plays a vital role in various AI tasks requiring content creation and innovation.
Hi. My name is Hemant, and I'm a senior principal training lead at Oracle University. I welcome you to this module. In this module, we will begin with foundational machine learning concepts. After that, we will dive into supervised learning, more specifically linear regression and logistic regression. Following that, we will also learn about unsupervised learning. And to end with, we will also explore and learn reinforcement learning. So, let's begin.
Hello, and welcome to this module on "Machine Learning Foundations," a part of OCI 2023 AI Foundations. In this lesson, we will learn what is machine learning, how does it work. And we will also discuss a few examples of machine learning as well. So let's begin. Machine learning is a subset of artificial intelligence that focuses on creating computer systems that can learn and predict outcomes from given examples without being explicitly programmed. It is powered by algorithms that incorporate intelligence into machines by automatically learning from a set of examples usually provided as data. Let us explore a few examples of machine learning to see what it can do for us. Machine learning is used by all of us in our day-to-day life. When we shop online, we get product recommendations based on our preferences and our shopping history. This is powered by machine learning. We are notified about movies recommendations on Netflix based on our viewing history and choices of other similar viewers. This too is driven by machine learning.
Unsupervised learning is generally used to reinforcement learning within a data set. Labels are not used or are not available. Reinforcement learning uses algorithms that learn from outcomes to make decisions or choices. Let us talk about some real examples of machine learning. Some of the popular applications of supervised machine learning are disease detection, weather forecasting, stock price prediction, spam detection, and credit scoring. For example, in disease detection, the patient data is input to a machine learning model, and machine learning model predicts if a patient is suffering from a disease or not. For unsupervised machine learning, some of the most common real-time applications are to detect fraudulent transactions, customer segmentation, outlier detection, and targeted marketing campaigns. So for example, given the transaction data, we can look for patterns that lead to fraudulent transactions. Most popular among reinforcement learning applications are automated robots, autonomous driving cars, and playing games. We will explore how supervised, unsupervised, and reinforcement machine learning works in the following lessons. Thanks for watching.
Hello, and welcome to this lesson on Supervised Learning, a part of OCI 2023 AI Foundations course. In this lesson, our focus will be on linear regression. Supervised learning is a machine learning model that learns from labeled data. The model learns the mapping between the input and the output. Let us talk about some typical applications that use a supervised learning model. As a house price predictor model, we input house size in square feet and model predicts the price of a house. Suppose we need to develop a machine learning model for detecting cancer, the input to the model would be the person's medical details, the output would be whether the tumor is malignant or not. If a machine learning model is developed for sentiment analysis, the input to the models would be customer reviews for products. The output would be positive, negative, or neutral sentiment labels. If a machine learning model is built for stock price prediction, the inputs would be the opening price, closing price, and volume traded. The output would be the price of the stock.