<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ludovic Dessemon on Medium]]></title>
        <description><![CDATA[Stories by Ludovic Dessemon on Medium]]></description>
        <link>https://medium.com/@ludovic-dessemon?source=rss-a4ece159aaa5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YkICleIRF-bOVYbIpV8NfA.jpeg</url>
            <title>Stories by Ludovic Dessemon on Medium</title>
            <link>https://medium.com/@ludovic-dessemon?source=rss-a4ece159aaa5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:34:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ludovic-dessemon/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Google Dialogflow CX Tips&Tricks #1]]></title>
            <link>https://ludovic-dessemon.medium.com/google-dialogflow-cx-tips-tricks-1-41cbb0fa44d7?source=rss-a4ece159aaa5------2</link>
            <guid isPermaLink="false">https://medium.com/p/41cbb0fa44d7</guid>
            <category><![CDATA[dialogflow]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[chatbot-platforms]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <dc:creator><![CDATA[Ludovic Dessemon]]></dc:creator>
            <pubDate>Thu, 14 Oct 2021 02:06:12 GMT</pubDate>
            <atom:updated>2021-10-14T02:17:34.758Z</atom:updated>
            <content:encoded><![CDATA[<p>Cloning an agent</p><p>I used to clone a digital assistant in Oracle Digital Assistant by simply clicking on the “clone” option.</p><p>In Google Dialogflow CX, cloning is less trivial.</p><p><strong>Step 1 </strong>: export the agent you want to clone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*paEhLlvmOtgxPFa9F7z2Mg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AzwH0tMFDExRexVm-A0-oA.png" /></figure><p>Even if you have 2 options to export your agent, Cloud storage or Local file, I’d recommend to use a Google Cloud storage to keep a backup in the cloud and to avoid an error if your agent is large.</p><p><strong>Step 2</strong> : Once you have exported your agent, create the new agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Xo8t1P0z9yr4nFMwksB4w.png" /></figure><p>Once the agent is created, click on the Agent list to view all agents</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ksauG-LCnXfw6s9mh9J0ww.png" /></figure><p>Select the “Restore” option to replace the agent’s resources with those in the export file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ahyr0i7wnTKf7aDJl18LbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uk1-OFmdoS2g2M4jOt4WHA.png" /></figure><p>Once the agent is restored, your new agent contains the resources of the exported agent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oW_fN6rawjowhuzgVnRuJg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41cbb0fa44d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is it a Cirrus or a Cumulus cloud ?]]></title>
            <link>https://ludovic-dessemon.medium.com/is-it-a-cirrus-or-a-cumulus-cloud-e13db41f9dee?source=rss-a4ece159aaa5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e13db41f9dee</guid>
            <category><![CDATA[google-vision-api]]></category>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[automl-vision]]></category>
            <dc:creator><![CDATA[Ludovic Dessemon]]></dc:creator>
            <pubDate>Mon, 27 Sep 2021 20:53:18 GMT</pubDate>
            <atom:updated>2021-09-27T20:53:18.618Z</atom:updated>
            <content:encoded><![CDATA[<h3>Is it a Cirrus or a Cumulus cloud ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTmnUNPlTeolxLGgQ2ywkw.png" /></figure><p>I hope you had a good weekend and that the weather was as nice as the one we had this weekend in Quebec.</p><p>I captured this sky while walking near my home in Montreal, and when I was looking on this sky I was remembering me the lab I did a few weeks ago on Google Cloud. It was about “Classifying Images of Clouds in the Cloud with AutoML Vision”, as part of my journey to Machine and Deep Learning in Google Cloud (a journey started a few years ago on the Oracle Cloud). I decided to answer my question using AutoML Vision starting with the initial lab and then using a Python client to get classifications from the model created.</p><p>The core pieces of a <strong>classification</strong> system are: <strong>data</strong>, the <strong>model</strong>, and <strong>infrastructure</strong> to train and serve predictions to users.</p><p>We’ll use a <strong>deep learning</strong> model to make these recommendations, a deep neural network to be exact, which is a model inspired by our own human brain : an input layer + some activated neurons + an output layer.</p><p>Globally, we have 3 AI application strategies :</p><ul><li><strong>pre-built AI</strong> : Pre-built models are offered as services, eg. chatbot Google Dialogflow</li><li><strong>pre-built AI + custom models</strong> : eg. BiqQuery ML</li><li><strong>new models</strong> : eg. TensorFlow, Google Cloud AI</li></ul><p>Let’s go back to my cloud story. FYI, there are more than 10 different types of clouds, and each type could represent different patterns of weather if you want to go further.</p><p>Here we show the image to the Vision API. After I uploaded the image to the Vision API, here are the results for the labels it inferred. The pre-trained model probably never learned to recognize cloud types at this granularity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s2WOyPuiVANWI8irj2V0Dg.png" /></figure><p>We need something a little more custom that we can train ourselves. If you want to customizing Pre-built models, you can build them with no code.</p><blockquote><em>Welcome to AutoML</em></blockquote><p>Here we will use our own labeled dataset of cloud images and train a custom model using <strong>AutoML Vision</strong> and a <strong>single-label classification dataset</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BNH7WER0WLR3dA-6JjoWZw.png" /></figure><h3>TRAIN</h3><p>Start by enabling the AutoML API .</p><p>Create a Cloud Storage bucket for your training data.</p><p>The training images are publicly available in a Cloud Storage bucket (gs://cloud-training/automl-lab-clouds). Use the gsutil command-line utility for Cloud Storage to copy the training images into your bucket.</p><p>Create an AutoML Vision training dataset.</p><ul><li>Import training images by selecting a CSV file on Cloud Storage (eg. gs://&lt;your bucket&gt;/data.csv)</li><li>Inspect the images : add new labels, assign labels and /or delete images</li></ul><blockquote>For a <strong>production model</strong>, provide <em>at least</em> 100 images per label to ensure high accuracy</blockquote><p><strong>Train your new model</strong> : You can specify your model name and your training budget. AutoML Vision handles this for you automatically, without requiring you to write any of the model code.</p><h3>EVALUATE</h3><p>After training is complete, select the <strong>Evaluate</strong> tab.</p><p>You can view the <strong>Confusion matrix </strong>and get<strong> </strong>information about <strong>Precision</strong> and <strong>Recall</strong> of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ch-jQddqTSJaCPKBCrlsVA.png" /></figure><h3>TEST</h3><p>You can test your model by uploading some images.</p><h3>DEPLOY</h3><p>After you have created (trained) a model, you must deploy the model before you can make online (or synchronous) call to the model. You can also update model deployment if you need additional online prediction capacity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q15KhBNqkxMxCsJlpGJysQ.png" /></figure><h3>USE</h3><p>With the <a href="https://cloud.google.com/vision/automl/docs/client-libraries#client-libraries-install-python">Cloud Client Libraries</a> for the Cloud AutoML API, you can develop your Python client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sxxrsnN4yzUSSd6um6Jjgg.png" /></figure><blockquote>It’s a Cirrus cloud</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e13db41f9dee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle Digital Assistant, part 1]]></title>
            <link>https://ludovic-dessemon.medium.com/oracle-digital-assistant-part-1-54d6269e991c?source=rss-a4ece159aaa5------2</link>
            <guid isPermaLink="false">https://medium.com/p/54d6269e991c</guid>
            <category><![CDATA[conversational-ai]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[oracle-digital-assistant]]></category>
            <dc:creator><![CDATA[Ludovic Dessemon]]></dc:creator>
            <pubDate>Mon, 13 Sep 2021 22:15:27 GMT</pubDate>
            <atom:updated>2021-09-13T22:15:27.941Z</atom:updated>
            <content:encoded><![CDATA[<p>A series of articles on Conversational AI — A Chatbot That Sounds Human</p><blockquote>Hello, how can I help you ?<br><strong>Hi, I came by 3 days ago and I have a problem with this product.<br></strong>Oh ok, do you have the ticket ?<br><strong>No sorry, I threw it out</strong><br>No worries, give me your name and I will try to find your purchase<br>….</blockquote><p>This conversation, in a human-to-human context, looks normal. You bought an item in your local store, and following a problem you return to the store and a natural conversation starts between you and the person who welcomes you.</p><p>In most online stores, it’s often a winding road to find a way to reach customer service, be patient while waiting for someone to answer, to retrieve an order reference, to explain the problem by phone … For most of the online store, it is the same nightmare.</p><p>This is not good for anyone. You are disappointed and will not recommend this store to your friends, and this business will probably have lost a customer.</p><p>Now, think of the online store home page as the door to your local store. You walk in and we welcome you before asking how we can help you. This virtual door is no more less than a popup that comes from a bot, with a unique mission : providing the best answer to your question, in the easiest way, offering you the best experience. And to be more efficient, this virtual door has to be accessible from any channel (website, facebook, … ), immediately and securely. Sometime a bot cannot handle the conversation and there is a need for Human Intervention and instead redirect the chat to a human agent. That is the same situation where the first person in the local store is not able to help you and redirects you to another person.</p><p>Oracle provides a bot named <a href="https://www.oracle.com/ca-en/chatbots/">Oracle Digital Assistant (ODA)</a>, an <strong>Enterprise-Ready Conversational AI</strong>, and ODA is provided by <a href="https://www.oracle.com/cloud/">Oracle Cloud Infrastructure (OCI)</a>.</p><blockquote>ODA is an <strong>Enterprise-Ready Conversational AI</strong></blockquote><p>I had the opportunity to start working on ODA a few versions ago hence this first article. By joining oXya, I also had the privilege to work on Google DialogFlow, so I will also talk about it later. And lastly, I’ve been also interested in Botkit these last few months. As a Nodejs developer I was interested to learn more about this open source developer tool for building chat bots, apps and custom integrations for major messaging platforms. There are plenty other platforms to discover, but I prefer to focus and reading more on use cases, best practices, …. Beyond the platform, the advantages to implement a chatbot are multiple.</p><blockquote>Customers must start looking at using chatbots as engagement tools connected to other platforms. Chatbots Are Quickly Emerging as a Preferred Engagement Channel. The use cases are numerous and exciting.</blockquote><p>Oracle Digital Assistant is open to any client channel or back-end app, on premises or in the cloud. Oracle provides prebuilt digital assistant skills (or chatbots) for Oracle Cloud ERP, Cloud HCM, and Cloud CX, as well as templates for on-premises apps that can easily be customized to your unique needs.</p><blockquote>It can improve your omni channel strategy.</blockquote><p>Powered by <strong>AI</strong> , Oracle Digital Assistant interprets the user’s intent, automating processes and delivering contextual responses to voice or text commands.</p><p>ODA applies deep semantic parsing (<strong>built-in machine learning</strong>) using natural language processing (<strong>NLP</strong>), natural language understanding (<strong>NLU</strong>), and custom algorithms to understand natural conversation to derive accurate <strong>intent</strong> and <strong>context</strong>.</p><p>ODA unifies single-purpose chatbots (<strong>Skills</strong>) into one <strong>digital assistant</strong> making it easy for users to interact with multiple systems from one conversation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1u4z298SDL2ww3Wn.png" /></figure><p>Try Always Free cloud services and <a href="https://www.oracle.com/th/cloud/free/">get a 30-day trial</a> to test ODA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l9Wz5Z1Kwx16TZe9WQDUbg.png" /></figure><p>Once you got your access to your tenant (paid account or trial), you can create a first ODA instance in a few minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w4wD6fk4gp2MbNjK1LviBg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hcfxc1eOGnMbCSr1YVgJ8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k3w8J6y15yS8tJ_XHikesA.png" /></figure><p><a href="https://docs.oracle.com/en/cloud/paas/digital-assistant/index.html">Get started</a> with ODA : https://docs.oracle.com/en/cloud/paas/digital-assistant/index.html</p><p>We will demonstrate an ODA typical use-case in the next part.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54d6269e991c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Housing Prices Prediction with Oracle Machine Learning for Python Release 1]]></title>
            <link>https://ludovic-dessemon.medium.com/housing-prices-prediction-with-oracle-machine-learning-for-python-release-1-35470f24698e?source=rss-a4ece159aaa5------2</link>
            <guid isPermaLink="false">https://medium.com/p/35470f24698e</guid>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[autonomous-database]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[automl]]></category>
            <dc:creator><![CDATA[Ludovic Dessemon]]></dc:creator>
            <pubDate>Tue, 23 Mar 2021 15:35:31 GMT</pubDate>
            <atom:updated>2021-03-23T15:35:31.559Z</atom:updated>
            <content:encoded><![CDATA[<p>A few weeks ago I wrote my first article on my journey to Machine Learning and Deep Learning.</p><p>My second article is about a demo I created using Oracle Machine Learning for Python (OML4Py). OML4Py delivers scalable machine learning functionality inside Oracle Autonomous Database that is a converged database that supports Spatial data, JSON, IoT, in-memory technologies for real-time analytics, and of course, traditional relational data. A Converged Database can run all sorts of workloads from IoT to Blockchain to Analytics and <strong>Machine Learning</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pu4R0oOcgE86C6Uc2wJFYQ.png" /></figure><p>I used a dataset from Kaggle : Housing Prices Competition for Kaggle Learn Users. Each entry contains 81 features that are related to house properties. This is a <strong>supervised regression</strong> problem. The goal of supervised learning is to learn a function that, given a training data and desired outputs, best approximates the relationship between input (Lot Area, Year Built, First Floor Surface, …) and output (SalePrice) observable in the data. <strong>Classification</strong> is about predicting a discrete class label and <strong>regression</strong> is about predicting a continuous quantity (eg. SalePrice)</p><blockquote>The prediction model achieved that would ranked in the TOP 2% (In position 1&#39;015 out of 61&#39;000 competitors) but using AutoML in advanced mode we should achieved better.</blockquote><p><a href="https://www.kaggle.com/c/home-data-for-ml-course">Housing Prices Competition for Kaggle Learn Users</a></p><p>OML4Py is available through the Python interpreter in Oracle Machine Learning Notebooks in your Autonomous Database service. We offer also Oracle Machine Learning for SQL (OML4SQL) that provides 2 interpreters : SQL and SCRIPT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TAdmbtLto_BLX_tukQLRkg.png" /></figure><p>OML4Py enables the open source Python programming language and environment to operate on database data at scale. Python users can run Python commands and scripts for statistical analysis and machine learning on data stored in Oracle Database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OLxWbxUJjg3VVu3OYP4zXw.png" /></figure><p>With OML4Py, you can do the following:</p><ul><li>Use a wide range of in-database machines learning algorithms</li><li>Minimize data movement</li><li>Leverage Oracle Database as a high performance compute engine for data exploration and preparation</li><li>Use AutoML for automatic algorithm selection, feature selection, and model tuning</li><li>Execute user-defined Python functions in non-parallel, data-parallel, and task-parallel fashion</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S90ZUDpeo2jBT45AveULNg.png" /></figure><p>So I decided to test OML4Py AutoML and the automated algorithm selection, feature selection, and hyperparameter tuning of Automated Machine Learning to quickly create a machine learning model to predict housing prices.</p><blockquote>It achieved an R-squared of <strong>95</strong>% on unseen data. The Root Mean Squared Error (RMSE) for my testing data was 21&#39;347.</blockquote><p><strong>RMSE</strong> can be <strong>interpreted</strong> as the standard deviation of the unexplained variance, and has the useful property of being in the same units as the response variable : <strong>Sale Price ($)</strong> in this example. Lower values of <strong>RMSE</strong> indicate better fit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d5v3Iqc2h2jCxnB8MOGGeA.png" /></figure><h3>A 5 steps process</h3><p><strong>1 Loading Data into an Autonomous Database Instance</strong><br>I have uploaded the data.csv file to my Oracle Cloud Infrastructure (OCI) Object Storage bucket, created a table (eg. HousingPricesPrediction_train), loaded data into it from file on the OCI Object Storage. For all of these operations I used OML4SQL in an Oracle Machine Learning Notebook (Apache Zeppelin<strong>) </strong>in Autonomous Database service. In the same notebook we can use 3 interpreters : SQL, SCRIPT (for PLSQL) from OML4SQL and Python from OML4Py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JfirugbsiNoAjSC_u6mu9A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6b6jy7tUNBep89pTAB0OFA.png" /></figure><p><strong>DBMS_CLOUD.create_credential </strong>stores the object store credentials in your Autonomous Database schema.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e911TTFre9ETB-gWqwQMRQ.png" /></figure><p><strong>DBMS_CLOUD.copy_data </strong>loads the specified source file to the table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Utl8Y9DMpfP9YZQ1pz8Qag.png" /></figure><p>2 <strong>Select and Split (Train and Test) the data</strong><br>In analyzing data sets, a typical operation is to randomly partition the data set into subsets for training and testing purposes, which you can do with the split method. It is used to estimate the performance of ML algorithms when they are used to make predictions on data not used to train the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*3C3YzY6ByZX14AE2hjRh9g.png" /></figure><p>A second table is used to testing the model and to creating a file in order to submitting the result on Kaggle and to getting a score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*bBYHkJ_qZIdQ5KuiO1FXVQ.png" /></figure><p>We have 4 data sets :<br>- a full dataset (training + validation) that will be passed onto AutoML, since it does its own Cross-validation to determine the best model for your problem<br>- A training dataset to fit the model<br>- A validation set to test the algorithm<br>- A test set to creating the submission file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*Q3TzKjUO2NWghhdRX-KjAw.png" /></figure><p>3 <strong>Algorithm Selection</strong><br>I used an oml.automl.AlgorithmSelection object to automatically rank the best algorithms from the set of supported Oracle Machine Learning algorithms by only using the characteristics of the data set and the task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YxmD3C_jzF9CJHqNJ2WUqg.png" /></figure><p>The best algorithm used in the next steps will be a Support Vector Machines with a Gaussian Kernel.</p><p><strong>4Feature Selection</strong><br>I used an oml.automl.FeatureSelection object to quickly identify the most relevant feature subsets for a training data set and an Oracle Machine Learning algorithm (the one selected on step 2, specified in the variable “selected_algo_reg”).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3NkVYtpAlvlK8Ey3XW1bMQ.png" /></figure><p>The Auto Feature Selection is a real time saver. That’s the most time consuming step if you do it manually. If you want to handle everything manually, you should use Data visualization that is a powerful way to get to know your data, to “get a fell” for the data and also establish the quality of the data. OML4Py provides functions for rendering graphical displays of data. OML4Py uses the matplotlib library to render the output.</p><p>Using OML4SQL and/or OML4Py you can visualize your features and trying to find the best ones to use.</p><p>OML4Py provides functions for rendering graphical displays of data. OML4Py uses the matplotlib library to render the output.</p><p>5 <strong>Model Tuning</strong><br>The oml.automl.ModelTuning object tune the hyperparameters for the specified classification or regression algorithm and training data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fd66gtYyn2V80TggVhzATQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m2zKERdrVGpS7vnoTsnzdg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BDy26c3hcK-RfHcJ63__iA.png" /><figcaption>The selected model achieved an R-squared of 95% on validation data.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T1aCp3-6FYSWd8Jwk8WM4Q.png" /></figure><p>The RMSE for my validation data is of 21&#39;347</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PWMNx2jS2VW2GUtzu8e2g.png" /></figure><h3>Conclusion</h3><p>In only 5 relatively simple steps I created a prediction model with a pretty good accuracy. I was able to predict the scores on the validation set to within $21k of the true value, which can be further improved by providing a customized hyperparameter search space and a non-default scoring metric to this black box optimizer. You might want to normalize and prepare the dataset in order to better the prediction accuracy : OML4Py offers methods to explore and prepare data.</p><p>I will continue sharing on OML4Py and on OML AutoML UI that simplifies machine learning model building, a new component of Oracle Machine Learning on Oracle Autonomous Database.<br>- makes it easy for citizen data scientists<br>- delivers significant productivity improvements for data scientists as a modeling accelerator — allowing automation to produce an initial model<br>- augment the model directly in an OML4Py Notebook using the best algorithm discovered by OML AutoML UI<br>- deploy your model</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7qRepT2D9_8XSMV-3WQyXw.png" /></figure><p><strong>Resources :</strong></p><p>OML4Py : <a href="https://docs.oracle.com/en/database/oracle/machine-learning/oml4py/1/mlpug/index.html">https://docs.oracle.com/en/database/oracle/machine-learning/oml4py/1/mlpug/index.html</a></p><p>Advantages of Oracle Machine Learning for Python <a href="https://docs.oracle.com/en/database/oracle/machine-learning/oml4py/1/mlpug/about-oml4py.html#GUID-8A0D254C-3CDE-4E21-BE2A-CA258F1F1106">://docs.oracle.com/en/database/oracle/machine-learning/oml4py/1/mlpug/about-oml4py.html#GUID-8A0D254C-3CDE-4E21-BE2A-CA258F1F1106</a></p><p>Housing Prices Competition for Kaggle Learn Users : <a href="https://www.kaggle.com/c/home-data-for-ml-course">https://www.kaggle.com/c/home-data-for-ml-course</a></p><p>Data : <a href="https://www.kaggle.com/c/home-data-for-ml-course/data">https://www.kaggle.com/c/home-data-for-ml-course/data</a></p><p>OML AutoML UI : <a href="https://blogs.oracle.com/machinelearning/introducing-oml-automl-user-interface">https://blogs.oracle.com/machinelearning/introducing-oml-automl-user-interface</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35470f24698e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A journey into Machine and Deep Learning]]></title>
            <link>https://ludovic-dessemon.medium.com/a-journey-into-machine-and-deep-learning-4bbf45956bd6?source=rss-a4ece159aaa5------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bbf45956bd6</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <dc:creator><![CDATA[Ludovic Dessemon]]></dc:creator>
            <pubDate>Fri, 19 Feb 2021 16:05:04 GMT</pubDate>
            <atom:updated>2021-02-19T17:13:11.349Z</atom:updated>
            <content:encoded><![CDATA[<h3>A journey to Machine and Deep Learning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*zxcDlGQ6ML4WT_VvGGpFZA.png" /></figure><p>Last week, every day I woke up at 3:45am. Not because I was an insomniac but because I had an appointment at 4:00am for one of the most interesting classes of my career, on a subject that I have been passionate about for the past year. It had been a while since I had taken such a motivating course. It’s a nice feeling to learn something new. This course was “Implement Machine Learning for Data Science using Python” (<strong>Oracle</strong> University).</p><blockquote>This is not only about My journey but that’s could be Your journey or Your next journey.</blockquote><p>The picture above is a screenshot of my Jupyter notebook on <a href="https://www.oracle.com/ca-en/data-science/cloud-infrastructure-data-science.html">Oracle OCI Data Science platform</a> I used during this training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YLeOUMIHrWc76bT5OnPwwQ.png" /><figcaption>Cloud Native Demo — L. Dessemon</figcaption></figure><p>Exactly 1 year ago the OCI Data Science Platform has been announced. For our Cloud Innovation Day in Quebec I decided to leverage my Cloud Native demo to show case this platform. That was a basic real estate management app. When our Data Science platform was announced I decided to add a price prediction feature into my app. The demo was working fine, the ML part has not been effortless and I would have preferred having a better understanding. This is how I started my journey into this field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/196/1*sx2qp0GTH375NDKK_ipSHw.jpeg" /></figure><p>I decided to read as much as I could on the subject. I started different course on Coursera. I was offered this excellent book <a href="https://www.amazon.ca/-/fr/Ian-Goodfellow/dp/0262035618/ref=sr_1_1?__mk_fr_CA=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;crid=2W1D1DMAXK3VK&amp;dchild=1&amp;keywords=goodfellow+deep+learning&amp;qid=1613746624&amp;sprefix=deep+learning+goodfell%2Cstripbooks%2C229&amp;sr=8-1"><em>Deep Learning</em></a> written by three experts in the field (Ian Goodfellow, Yoshua Bengio and Aaron Courville), and it is the only comprehensive book on the subject I wanted as a printed book. This book is also a good source to refresh/learn the mathematics behind machine learning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pOyzJ7yr3TAVc-vbB-4L6w.jpeg" /></figure><p>Imagine you have to analyze a huge volume of data (Terabytes, Petabytes, …). If you extract a few octets of Data and based your analyze on it you should probably seeing some evident rules to be applied. Rules such as <em>IF … THEN … ELSE IF … THEN …</em></p><p>With exploding volumes of data, analyzing data with predefined rules is almost mission impossible because rules will constantly be missing. That is the limit of the traditional programming.</p><p>You can think of a model (produced either by traditional programming or Machine Learning) as a template of a function with many parameters.</p><p>In traditional programming you set those parameters yourself; you also code the logic for how to combine them and produce an accurate result. With machine learning you find the values for those parameters automatically through experimentation and repetition; You also find how those parameters should be combined and what role they play into the outcome. With Deep Learning you can go a step back and discover even what those parameters should be starting from a more abstract representation. In reality with ML in many cases you don’t really have to see under the hood into all those discoveries as long as you can reason about and validate the output of the model.</p><p>That doesn’t mean that you won’t have to code anything; Your problem can be potentially split into subproblems where ML is applicable and the gluing will have to be “traditionally” coded.</p><p>Killing two birds with one stone, my journey into ML reinforces the way I explain to my customers how they can <strong>Learn from their Data</strong> using the <strong>Oracle Cloud.</strong></p><p>If you want to learn About <strong>Oracle Cloud Infrastructure Data Science</strong> and <strong>Oracle Machine Learning </strong>, and how <strong>Oracle Simplifies Machine Learning</strong>, read <a href="https://www.oracle.com/a/ocom/docs/build-machine-learning-solutions-cloud-essentials.pdf">this</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eNVOnOvopAFi-rOa_Ql02g.png" /><figcaption><a href="https://www.oracle.com/a/ocom/docs/build-machine-learning-solutions-cloud-essentials.pdf">https://www.oracle.com/a/ocom/docs/build-machine-learning-solutions-cloud-essentials.pdf</a></figcaption></figure><p>Oracle provides a <a href="https://docs.oracle.com/en/solutions/oci-curated-analysis/index.html#GUID-7FF7A024-5EB0-414B-A1A5-4718929DC7F2">Reference Architecture</a> to leverage the data for business analysis and machine learning. It is a good starting point to learn more on ingesting, transforming and curating data with Oracle Cloud. From a Business problem to its solution using a Machine Learning approach, <strong>80% of the effort are on the Data Exploration</strong>, the remaining <strong>20% are on the solution using ML</strong>. Oracle provides a complete set of cloud services to Ingest, Transform and Curate the Data. Plus the Cloud Services to Learn provides a set of tooling to prepare the Data before starting to Lear from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*TaOyYMn4stxOCAtm.png" /></figure><p>- <a href="https://www.blogger.com/blog/post/edit/5041756810449327294/3875649403715026930#">Data Integrator</a> : Oracle Cloud Infrastructure Data Integration is a fully managed, serverless, native cloud service that helps you with common extract, load, and transform (ETL) tasks such as ingesting data from different sources, cleansing, transforming, and reshaping that data, and then efficiently loading it to target data sources on Oracle Cloud Infrastructure.</p><p>- <a href="https://www.blogger.com/blog/post/edit/5041756810449327294/3875649403715026930#">GoldenGate</a> : Oracle GoldenGate provides business continuity by replicating data up to 6x faster than traditional data movement solutions for high availability, disaster recovery and zero downtime migrations.</p><p>- <a href="https://www.blogger.com/blog/post/edit/5041756810449327294/3875649403715026930#">ODI</a> : Oracle Data Integrator is a comprehensive data integration platform that covers all data integration requirements</p><p>- <a href="https://www.blogger.com/blog/post/edit/5041756810449327294/3875649403715026930#">Data Flow</a> : Oracle Cloud Infrastructure (OCI) Data Flow is a fully managed Apache Spark service to perform processing tasks on extremely large data sets without infrastructure to deploy or manage.</p><p>- <a href="https://www.blogger.com/blog/post/edit/5041756810449327294/3875649403715026930#">FastConnect Data Transfer</a> : FastConnect allows customers to connect directly to their Oracle Cloud Infrastructure (OCI) virtual cloud network via dedicated, private, high-bandwidth connections. — OCI Object Storage.</p><p>- <a href="https://www.blogger.com/blog/post/edit/5041756810449327294/3875649403715026930#">Streaming</a> : Streaming service is a real-time, serverless, Apache Kafka-compatible event streaming platform for developers and data scientists.</p><p>- <a href="https://www.blogger.com/blog/post/edit/5041756810449327294/3875649403715026930#">Kafka Connect</a> : Instead of creating a bunch of code you can use Kafka Connect and just with a settings file do a lot of connections. You can connect with JDBC, HDFS, Object Store, and many others in a simple way.</p><h3>What’s next ?</h3><p>Using the same datasets used during the training, I continue my experimentation with <a href="https://blogs.oracle.com/datascience/how-does-automl-impact-machine-learning">Oracle AutoML</a> Pipeline and <a href="https://docs.oracle.com/en-us/iaas/tools/ads-sdk/latest/index.html">Oracle Accelerated Data Science (ADS) SDK</a>.<br>Next week I am thrilled to follow a 5-day course on implementing <strong>Deep Learning</strong> for Data Science, same trainer so I am excited to continue my journey into ML/DL. 1 year later I am a bit less newbie ;-)</p><p>More articles will follow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bbf45956bd6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>