<?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[A Guide to Oracle Cloud AI - Medium]]></title>
        <description><![CDATA[Blogs intended to help introduce other professionals to Oracle Cloud and Oracle AI services. - Medium]]></description>
        <link>https://medium.com/a-guide-to-oracle-cloud-ai?source=rss----963d22997391---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>A Guide to Oracle Cloud AI - Medium</title>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai?source=rss----963d22997391---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 15:03:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/a-guide-to-oracle-cloud-ai" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Quick Guide to Managing Oracle Cloud]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/quick-guide-to-managing-oracle-cloud-f4ad438f5b2f?source=rss----963d22997391---4"><img src="https://cdn-images-1.medium.com/max/600/1*C2VDouBS5HsBvSZMUwghEg.jpeg" width="600"></a></p><p class="medium-feed-snippet">This guide will give you a quick introduction to performing administration on Oracle Cloud.</p><p class="medium-feed-link"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/quick-guide-to-managing-oracle-cloud-f4ad438f5b2f?source=rss----963d22997391---4">Continue reading on A Guide to Oracle Cloud AI »</a></p></div>]]></description>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/quick-guide-to-managing-oracle-cloud-f4ad438f5b2f?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/f4ad438f5b2f</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Fri, 24 May 2024 17:04:19 GMT</pubDate>
            <atom:updated>2024-05-24T17:37:51.256Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Get Generate Data From Open AI Or Cohere AI]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/get-generate-data-from-open-ai-or-cohere-ai-1e5d52c594ba?source=rss----963d22997391---4"><img src="https://cdn-images-1.medium.com/max/2600/1*ZUBEhsRhrJRxWS1bd4dj-A.png" width="2734"></a></p><p class="medium-feed-snippet">Select AI has the potential to enable wider adoption of AI and greater access to complex data.</p><p class="medium-feed-link"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/get-generate-data-from-open-ai-or-cohere-ai-1e5d52c594ba?source=rss----963d22997391---4">Continue reading on A Guide to Oracle Cloud AI »</a></p></div>]]></description>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/get-generate-data-from-open-ai-or-cohere-ai-1e5d52c594ba?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/1e5d52c594ba</guid>
            <category><![CDATA[select-ai]]></category>
            <category><![CDATA[ai-services]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[generative-ai]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Mon, 08 Jan 2024 22:14:26 GMT</pubDate>
            <atom:updated>2024-01-17T16:27:14.383Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Loading Data For Analytics Into Autonomous Data Warehouse —  Using Data Studio]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/loading-data-for-analytics-into-autonomous-data-warehouse-using-data-studio-fad53e2e95e3?source=rss----963d22997391---4"><img src="https://cdn-images-1.medium.com/max/600/1*nCVJoiS-YUNd-QHVzX-QcQ.png" width="600"></a></p><p class="medium-feed-snippet">Autonomous Data Warehouse is a critical technology for building data centric AI</p><p class="medium-feed-link"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/loading-data-for-analytics-into-autonomous-data-warehouse-using-data-studio-fad53e2e95e3?source=rss----963d22997391---4">Continue reading on A Guide to Oracle Cloud AI »</a></p></div>]]></description>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/loading-data-for-analytics-into-autonomous-data-warehouse-using-data-studio-fad53e2e95e3?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/fad53e2e95e3</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai-services]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[data-warehouse-solutions]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Mon, 08 Jan 2024 18:34:40 GMT</pubDate>
            <atom:updated>2024-01-08T19:00:36.752Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[A Data Warehouse Built For Intelligence Analysts]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/a-data-warehouse-built-for-intelligence-analysts-c1de3f6beb10?source=rss----963d22997391---4"><img src="https://cdn-images-1.medium.com/max/600/1*IXxCRT71rkskAyFQrJCc6A.jpeg" width="600"></a></p><p class="medium-feed-snippet">Every intelligence analyst needs an autonomous data warehouse.</p><p class="medium-feed-link"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/a-data-warehouse-built-for-intelligence-analysts-c1de3f6beb10?source=rss----963d22997391---4">Continue reading on A Guide to Oracle Cloud AI »</a></p></div>]]></description>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/a-data-warehouse-built-for-intelligence-analysts-c1de3f6beb10?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/c1de3f6beb10</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[oracle-cloud]]></category>
            <category><![CDATA[ai-services]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Fri, 05 Jan 2024 21:39:59 GMT</pubDate>
            <atom:updated>2024-01-08T19:01:36.204Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Determine Proximity Using Spatial Studio]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/determine-proximity-using-spatial-studio-4d1055302a56?source=rss----963d22997391---4"><img src="https://cdn-images-1.medium.com/max/727/1*0myHmXma9xNwEoixOb0ACA.png" width="727"></a></p><p class="medium-feed-link"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/determine-proximity-using-spatial-studio-4d1055302a56?source=rss----963d22997391---4">Continue reading on A Guide to Oracle Cloud AI »</a></p></div>]]></description>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/determine-proximity-using-spatial-studio-4d1055302a56?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/4d1055302a56</guid>
            <category><![CDATA[spatial-analysis]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[example]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Tue, 05 Dec 2023 01:32:06 GMT</pubDate>
            <atom:updated>2023-12-05T01:31:53.453Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Data Management for Critical Infrastructure Analysis]]></title>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/data-management-for-critical-infrastructure-analysis-f830cab313f7?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/f830cab313f7</guid>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[example]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[spatial-analysis]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Tue, 05 Dec 2023 01:29:38 GMT</pubDate>
            <atom:updated>2023-12-05T01:28:57.966Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Data Management for Critical Infrastructure Analysis</strong></p><p><strong>Introduction</strong></p><p>Protecting critical infrastructure is significant for national security. There are 16 critical infrastructure sectors. Information about the sectors is on the <a href="https://www.cisa.gov/critical-infrastructure-sectors">Cybersecurity &amp; Infrastructure Security Agency</a> webpage. This data contains spatial attributes, which National security analysts need to visualize quickly.</p><p><strong>Quick Introduction to Oracle Autonomous Database</strong></p><p>Here is a quick introduction to Oracle’s Autonomous Database. Oracle Autonomous Database (ADB) is a converged database that provides a data management platform that can handle all types of data and includes in-database analytics. It is a good database for professionals that are not database engineers by trade. The autonomous database manages itself. Analysts do not have to learn how to perform complex database operations like migration, security patching, upgrades, etc. The analyst needs to understand how to get data into the database and access it, which Oracle makes easy with intuitive workflows and tools. Another highlight that I find attractive with Oracle ADB is that it has machine learning algorithms, graph algorithms, and spatial functions built into the database. I can perform data exploration and run my analytics all in-database. In this article, I am demonstrating the use of data in an Oracle ADB with Oracle Spatial Studio.</p><p><strong>Database Structure for Critical Infrastructure Analysis</strong></p><p>I recommend storing data in a single converged database using separate schemas for each data category. For example, there may be separate schemas for infrastructure and operational data. Schemas will keep the data categories separate but in one database. With 16 different infrastructure sectors, it may make sense to have a schema for each sector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yi4gcBkEtPfJgknGtipLug.png" /><figcaption>Using converged database for analysis</figcaption></figure><p>For this example, I stored all my data in one schema because there are only two datasets. The datasets are the <a href="https://www.start.umd.edu/gtd/">Global Terrorism Database</a> and a US Airports data set from <a href="https://hifld-geoplatform.opendata.arcgis.com/">Homeland Infrastructure Foundation-Level Data (HIFLD)</a>.</p><p><strong>Step 1: Create or Access an Autonomous Database</strong></p><p>The first thing to do is create a new ADB. You can do this by selecting the ‘Oracle Database’ tab in the console menu. Then select autonomous data warehouse (ADW). Once the page opens, you can click the blue button to create a new ADB. You need to check that you are in the correct compartment before creating a database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oF_Q6qNcqOZQGb-__ltafQ.png" /><figcaption>Create an ADB</figcaption></figure><p>Creating a new database is fast. Once this is complete, select the newly created database. Selecting the database should open the database details page, where you want to click the option to Service Console. In the future, you can choose Database Actions. Note: Your initial user is Admin. You will need to create a new database user for working purposes. You can do this under the Administration tab. Once you create your new user, log back into the database using that profile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SOFkt-QahBYFYGzFiWFhUQ.png" /><figcaption>Database details</figcaption></figure><p>You should now see the database launchpad. The launchpad is where we can begin doing work. I am using Data Load and SQL Developer Web, which I highlighted with red squares in the image below. I put an arrow on the image below to highlight where to create and manage database users if you need to add a new user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m9-2Aw0lALsaMSzQSvT25Q.png" /><figcaption>Database launchpad</figcaption></figure><p><strong>Step 2: Load Data into the ADW</strong></p><p>To load data into the database, select the tool called Data Load from the menu. The Data Load Tool will open a new page that will walk through a two-step workflow for loading data. You can choose to load data from a local file, another database, or cloud storage. In my example, I selected to load data from a local file. Selecting the next button will be able to drag and drop your dataset onto the webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bbBjW75uCMeQVnbEVCkl2A.png" /><figcaption>Setting the location of the data you want to load</figcaption></figure><p>I am loading the Global Terrorism Database to my ADW. Once I drag the CSV onto the webpage, I can push the green run button to execute loading the data. The amount of time it takes to load the data will depend on the size of the file and your network bandwidth. Once this is complete, you will receive a notice that the process has finished. You can then retrieve the data from your ADW.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3lgjIeA_p3NthdqNeYiIfw.png" /><figcaption>Loading Data</figcaption></figure><p>If you download the Airport data as a CSV, repeat this process. If you download the data as a shapefile, load it into the database using Spatial Studio.</p><p><strong>Step3: Launch SQL Developer Web</strong></p><p>Now that we have loaded data into the ADW, launch SQL Developer Web. Once in SQL Developer, all the data tables granted to your user will be available. The image below shows the GTD dataset available in my database. I can run a quick SELECT query by dragging the table onto a blank worksheet in SQL Developer. The output of the SELECT query will print in the Result window. SELECT is a helpful way of quickly reviewing your data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N5oDpa-bWdAPZ3eshijwYw.png" /><figcaption>SQL Developer Web interface</figcaption></figure><p><strong>Step 4: Explore and Analyze Data</strong></p><p>SQL is a powerful language for analytics. Analysts can quickly answer questions about their data by executing repeatable SQL queries. For example, I can quickly perform a filter on the GTD table using a SELECT query. I demonstrate how to select all GTD events labeled successful terrorist attacks in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g3PqruD5vxORBJtiKhi2NA.png" /><figcaption>Filter on non-spatial attributes</figcaption></figure><p>In practice, it’s unlikely that an analyst would need to return this many columns from the table. I can shorten the SQL statement by excluding all unnecessary columns. In the image below, I use only the SUCCESS column and only values that equal 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X_XXo2mKoS2pDHvBM4NTyg.png" /><figcaption>Customizing SELECT query</figcaption></figure><p>Finally, here is an example of running a buffer operation on a dataset in the database. Below I show an example of running a 20-mile buffer around the United States airports table in the database. I can also add this table to the map for visualization or use it to create a new data table with any GTD events that fall within the 20-mile buffer of the airports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kB0YPQHbU0mBPZs3wtux4w.png" /><figcaption>Performing a buffer using SQL</figcaption></figure><p><strong>Step 5: Visualize Data in Spatial Studio</strong></p><p>The last part of my example is to take the data we have loaded in the database and visualize it in Spatial Studio. There are a few steps to perform in Spatial Studio. First, establish a connection from Spatial Studio to the autonomous data warehouse using the database wallet (download the wallet from the database details page). Once there is a database connection, create a dataset and add it to a project for visualization. The image below shows the created GTD dataset in Spatial Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hQdg8XrP8EePnpVZrLhiYw.png" /><figcaption>Creating dataset in Spatial Studio</figcaption></figure><p>Finally, you can add the data to a project for visualization. When working within a project analysts can layer their data on a map for visualization. They can also perform analytics right in the project. Below is an example of adding the GTD data to a project for visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tkrv_R4cg-q9mz_UrrF2pA.png" /><figcaption>Visualizing GTD data</figcaption></figure><p>Here is a final example that shows the GTD events that fall within a 20-mile around airports in the United States.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KkAwvV1doLElaFjenSqJlQ.png" /><figcaption>GTD events near airports</figcaption></figure><p><strong>Conclusion:</strong></p><p>I hope this brief example is helpful. I have skipped over many things to make this a short article. I want to wrap back to the beginning and stress that good data management is critical for large data projects. In this example, I showed how infrastructure data could be stored in an autonomous database and then visualized for spatial analysis.</p><p>You can find the presentation for this here: <a href="https://medium.com/@ntoscano01/data-management-for-critical-infrastructure-analysis-f830cab313f7">Github</a></p><p><strong><em>Disclaimer: </em></strong><em>The views expressed on this document are my own and do not necessarily reflect the views of Oracle.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f830cab313f7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a-guide-to-oracle-cloud-ai/data-management-for-critical-infrastructure-analysis-f830cab313f7">Data Management for Critical Infrastructure Analysis</a> was originally published in <a href="https://medium.com/a-guide-to-oracle-cloud-ai">A Guide to Oracle Cloud AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Oracle Spatial Studio]]></title>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/exploring-oracle-spatial-studio-289348c91d87?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/289348c91d87</guid>
            <category><![CDATA[no-code]]></category>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[spatialdata]]></category>
            <category><![CDATA[spatial-analysis]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Tue, 05 Dec 2023 01:26:53 GMT</pubDate>
            <atom:updated>2023-12-03T18:28:34.242Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Exploring Oracle Spatial Studio</strong></p><p>Spatial Studio is a web application for visualizing and exploring geographic data in Oracle Database or Oracle Autonomous Database. Spatial Studio provides a visual complement to Oracle Spatial Database, but it also has built-in functions for rapid data exploration. Spatial Studio is a tool for business analysts to develop an awareness of their data. With that said, Spatial Studio is not a replacement for a Geographic Information System (GIS).</p><p>I have used GIS systems in various roles, including a military intelligence officer, a national intelligence analyst, and academia. There are several features I like about Spatial Studio. First, it provides a quick workflow for exploring spatial data in Oracle’s enterprise database system. Many times, analysts need to quickly answer basic questions, such as “is one feature in proximity to another feature?”. Spatial Studio can enable this quickly on static or real-time data. A second feature I like about Spatial Studio is that I can work with enterprise data without having to pull the data out of a performant and secure system, like a database. This means I can query and explore the whole body of data without being responsible for storing, securing, and managing it elsewhere. A third feature involves the ability to write more complex queries on my data at the database level using Oracle Spatial. This enables me to push complex queries or analyses to the database rather than the application level. A fourth feature that I like is the openness of the Oracle Database. GIS systems like ArcGIS can leverage Oracle database connections. If I find data that requires more robust analysis, I can engage with a GIS system.</p><p><strong>About the data:</strong></p><p>I have loaded the <a href="https://www.kaggle.com/datasets/START-UMD/gtd">Global Terrorism Database (GTD)</a> into an autonomous database. The dataset provided on Kaggle provides over 180,000 events from 1970 to 2017.</p><p>The workflow on Spatial Studio is fast. It involves the following steps: Connect to a data source, create a dataset, and create a project. The rest of the work is all done within the project workspace. Here is a quick graphical walkthrough.</p><p><strong><em>Step 1: Establish connection to database</em></strong></p><p>You can either establish a connection to Oracle Database or Oracle Autonomous Database. You can have many database connections, but I find it best to work with one or two databases at a time. Because Oracle Databases are converged databases, you don’t have to create single purpose databases any longer and can minimize the number of databases you are managing. This means you can manage all your data in one place. This is a big win for analysts!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXhmEQINz6rTFKQTiUsGEA.png" /><figcaption>Connect to a data source</figcaption></figure><p><strong><em>Step 2: Pick your data</em></strong></p><p>You can select as many datasets as you need. There are 3 choices for selecting data: 1. Load data from a file, 2. Choose a table or view from the database, 3. Choose a 3D tile (which includes batched or point cloud). Many times, I find myself using a combination of data from a database and file. This enables me to use enterprise data, but also add unique data that I have created. You can load the following file formats: spreadsheet, shapefile, kml, csv, GeoJSON.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKcrskFs7xNCRruP_okEAQ.png" /><figcaption>Create a dataset</figcaption></figure><p><strong><em>Step 3: Create a workspace</em></strong></p><p>Projects contain workspaces. To open a project, click on the representative tile. You can also create new projects. To create a new project, select the blue ‘Create Project’ button. You can also view shared projects on this page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMPjTaURNzlj_26W8g-Ung.png" /><figcaption>Create a project</figcaption></figure><p><strong>Let’s Talk Maps and Map Operations:</strong></p><p>Below is an image of a dataset added to a map. You can work with point, line, or polygon on data. GTD is point data, so I have visualized them as red dots on the map. I can add as many layers as needed. Since my base map shows administrative boundaries, there is no need for me to clutter the map with additional data. I can turn off the boundary layer or remove it altogether.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*owg0NiRqJSxiQ-PskqmNxg.png" /><figcaption>Global Terrorism Data on a map</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jBJWl4pXqP4xuogaTnGrzA.png" /><figcaption>Global Terrorism Data with Administrative Boundaries</figcaption></figure><p><strong>Adding Data to the Map:</strong></p><p>Adding data to the map for visualization is easy in Spatial Studio. Select the plus sign on the right side of Data Elements and choose to add a dataset. An added dataset will appear under the list of datasets. You can then interact with the data by doing additional spatial analysis, removing the data, viewing properties, and expanding the data to view the attributes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ztSt-SSSA6niVbB2YJfkA.png" /><figcaption>Adding data elements to the workspace</figcaption></figure><p>Once the dataset is available, you can drag the data onto the map for visualization. This will automatically create a layer under the layers list and add a legend to the map. You can adjust the way the data looks through the layer settings. Click the hamburger menu next to the layer menu to find the settings option. I am using red circles here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v2uiAV-oYOsnW5y18xlzAA.png" /><figcaption>Working with layer settings</figcaption></figure><p>You can zoom the map to different views and the data will scale automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ng272pIYtkL886XJtekoWA.png" /><figcaption>Zooming map</figcaption></figure><p><strong>Symbolizing Data:</strong></p><p>There are several options to symbolize data on the fly with Spatial Studio: circle, symbol, heatmap, cluster. You can see these in the first image below. Spatial Studio includes a library of map symbols that you can use for your data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xQbcSBseX-3bPuhZAexSIA.png" /><figcaption>Symbolizing data</figcaption></figure><p>For this map I am choosing a circle and setting the size of the circle to 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*73mRm83ZfqPYLUGQPOEyWA.png" /><figcaption>Setting the color of data points</figcaption></figure><p><strong>Filtering Data:</strong></p><p>Filtering is also very accessible. You can filter data in a couple of places in Spatial Studio. One is to choose a filtering tool from the spatial analysis operations menu. Another way is to filter directly on the layer using the layer settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hcl6NdV7Pzjg8ASUH4MEww.png" /><figcaption>Filtering data on the layer</figcaption></figure><p><strong>Spatial Analysis:</strong></p><p>Spatial Studio version 21.3.0 has 28 spatial analysis tools and 25 advanced analysis tools. Oracle calls these spatial analysis operations. You might think this is not very significant, given the amount of deep spatial analysis tools a geographic information system might have. Remember, Spatial Studio is not a GIS replacement. One benefit of having a smaller set of tools is that it requires less training and decision-making on the analyst’s part. Most people do not use all the analytic tools a GIS provides. Here the analyst only needs to familiarize themself with 53 options.</p><p>Let’s face it, analysts are time-constrained people and don’t always have time to dig through multitudes of deep analytic tools. In some situations, having less can be more beneficial. Because Spatial Studio is an extension of the database, the analyst or data engineer can define additional analytics at the database level and pull those into Spatial Studio. You can get to the spatial tools in 3 ways: from the data layer, from the dataset, or choosing to create a new analysis from the data elements menu. When you open spatial analysis, you will see the following menu with available spatial tools and analytics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*28C8PNrA9pFbSJo-XAUIcg.png" /><figcaption>Spatial analysis tools</figcaption></figure><p>I am not going to take up screen space by scrolling through them in this article. You can find out more about the tools in the Oracle documentation for <a href="https://docs.oracle.com/en/database/oracle/spatial-studio/21.3/index.html">Spatial Studio</a>.</p><p><strong><em>Return Shapes That are Within Inside Another Shape</em></strong></p><p>There are many times that analysts need to reduce large dataset down to more localized areas. In this example, we will reduce the GTD data down to just USA. I am using a country layer that I pulled from <a href="https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html">Tigerline</a>. The first thing I need to do is isolate the USA administrative boundary. I do this using the tool called ‘Return elements filtered by non-spatial rules’. I set my rule to equal USA only and add the resulting dataset to the map as a layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZYCQjVDSJ2EkSkdbkXOD2A.png" /><figcaption>Creating non-spatial rules</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HU2CnxqPdODN62SOpYd5MA.png" /><figcaption>USA boundary</figcaption></figure><p>Next we use the ‘Return Shapes That are Within Inside Another’ tool. We are going to return GTD datasets that fall within the US boundary. Easy enough. Below is a screen shot of the tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r2bjnUUjdp7tTwWM42R02w.png" /><figcaption>Clipping data by boundary lines</figcaption></figure><p>Here is a screen shot of the final layer. This takes seconds to run. An analyst can continue to clip or reduce this data down by states and even counties.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iFh5fdzZ5Xu7k0fyTMWPhg.png" /><figcaption>GTD in the US</figcaption></figure><p><strong><em>Add a Buffer of a Specified Distance</em></strong></p><p>A commonly used spatial tool if buffering. Buffering is used to determine the area covered within a specific location. For example, you may buffer school locations to visualize the areas within 1000′ feet of a school. I am adding an Airports layer pulled from <a href="https://hifld-geoplatform.opendata.arcgis.com/">HIFLD Open Data</a>, that we will buffer to see if any GTD data is within proximity. We can do the buffer directly from the dataset menu and add the result to the map to save time.</p><p>Select the buffering tool from the spatial analysis operations menu. Add a 20-mile buffer around all airports. This airports layer has individual 940 features to buffer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XyShNfoYHZ5KmYqi8QWIXQ.png" /><figcaption>Prepare a buffer operation</figcaption></figure><p>Here is a zoomed in shot of buffers applied to the airport features provided in California. This is just to show you the buffer result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RXp66LMYLH2v1mKcR5puUg.png" /><figcaption>View the buffered data</figcaption></figure><p>This is not too helpful. Let’s remove the layer from the map. Next, we will run the ‘Return Shapes That are Within Inside Another’ tool to see if any terrorist attacks fall within the buffer. This process will return any GTD features within the buffered Airports layer. My result came back with 2650 GTD incidents within 20 miles of an airport. Now analysts can work with this data to conduct any further analysis required. Below is an image of the results. I am not showing airports because it is too cluttered at this scale. As a next step, the analyst might add the airport data back onto the map and begin to work at a more local scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RwyVhouwkbDtYIsIVVae0g.png" /><figcaption>GTD data within 20 miles of airports</figcaption></figure><p><strong>Conclusion:</strong></p><p>Spatial Studio is a tool for exploring geographic data in Oracle Database. It gives analysts a fast and simple workflow to explore spatial attributes. Many other spatial tools require pulling the data out of the secure and performant environment of the database to visualize and perform spatial queries and analysis. Spatial Studio works with data without removing it from the database. Keeping it in the database makes the analyst’s job easier.</p><p><strong><em>Disclaimer: </em></strong><em>The views expressed on this document are my own and do not necessarily reflect the views of Oracle.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=289348c91d87" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a-guide-to-oracle-cloud-ai/exploring-oracle-spatial-studio-289348c91d87">Exploring Oracle Spatial Studio</a> was originally published in <a href="https://medium.com/a-guide-to-oracle-cloud-ai">A Guide to Oracle Cloud AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create A Config File For Oracle Date a Science]]></title>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/create-a-config-file-for-oracle-date-a-science-1bf91e1a76e6?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/1bf91e1a76e6</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[oracle-data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Sat, 02 Dec 2023 04:00:29 GMT</pubDate>
            <atom:updated>2026-05-11T16:15:43.971Z</atom:updated>
            <content:encoded><![CDATA[<h3>Create A Config File For Oracle Data Science</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i8vNxRoRrqjfbPQSqs9hrg.png" /></figure><p>If you are using cloud services from the Oracle Data Science notebook you need to have API signing keys and a config file. This is super easy to do!</p><p>This is well documented, but I will provide the delta for data science.</p><p><strong>Step 1: Create .oci directory to store your config file in.</strong></p><p>Open a new terminal in your notebook. Make sure you are in the /home/datascience directory. If you are not, then cd to it. List files in the directory to see if there is a .config folder already. If there is not create one.</p><p>See the commands below:</p><pre>$ ls -a<br>$ mkdir ~/.oci </pre><p>Your terminal output should look like this now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aclGdrw40iX3ZMfYMEbbqQ.png" /></figure><p>Guess what? You are almost done!</p><p><strong>Step 2: Upload your key file to .oci directory or generate one.</strong></p><p>There are a couple options that you can do here. I use the same keys and config file across all my notebooks. This is mostly due to limits I have on the number of APIs keys I can have.</p><p>If you don’t have API signing keys already, then choose one of the following methods:</p><ol><li>Create new keys through the cloud console. You can find the option for this under Identity &gt; Users &gt; User Details &gt; API Keys. Click on Add API Key and generate key pair. Then download the private and public keys. Don’t forget to change the file permissions on the keys. For step-by-step, follow the instructions provided in the documentation: <a href="https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#apisigningkey_topic_How_to_Generate_an_API_Signing_Key_Console">Generating an API Signing Key (Console)</a>.</li><li>Open up a fresh terminal in the data science notebook and generate API signing keys. The RSA key pair needs to be in PEM format (minimum 2048 bits). For step-by-step, follow the instructions provided in the documentation: <a href="https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#apisigningkey_topic_How_to_Generate_an_API_Signing_Key_Console">Generating an API Signing Key (Console)</a>. Once signing keys are created you need to copy the public key. Go back to the API Keys page on the Cloud Console. Select Add API Key and paste the copied key.</li></ol><p><strong>Step 3: Get the information for the config file.</strong></p><p>Once you have created your keys you can view the details. The details will give you all the information for the config file in proper format. Highlight the information and click copy. For more information about this go to <a href="https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm">SDK and CLI Configuration File</a>.</p><p>See the image below for a visual:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f6FeVIg6wwal0HLcltaO7w.png" /></figure><p><strong>Step 4: Create the config file in the Oracle Data Science notebook.</strong></p><p>Now you can finish this up. Go back to the data science notebook terminal. Change to the .oci directory. Create a new file called config using the command below:</p><pre>$ vi config</pre><p>Paste the information you copied from the console page into the document. You may need to hit <strong>ESC </strong>and then <strong>i </strong>to paste in the contents. Finally, hit<strong> ESC</strong> and then<strong> colon</strong> and <strong>wq </strong>to exit vi.</p><p><strong>At this point you should be good to go!</strong></p><p><strong>Fast Track to Generate API Signing Keys (excerpt from documentation):</strong></p><p>If you don’t want to read the full documentation, here is how to generate API Signing Keys in the data science terminal. Note: Oracle Data Science is using Linux.</p><p>Step 1: Create an .ssh directory to store the credentials:</p><pre>mkdir ~/.ssh </pre><p>Step 2: Generate the private key with one of the following commands.</p><ul><li>To generate the key, encrypted with a passphrase you provide when prompted:</li></ul><pre>openssl genrsa -out ~/.oci/oci_api_key.pem -aes128 2048    </pre><ul><li>To generate the key with no passphrase:</li></ul><pre>openssl genrsa -out ~/.oci/oci_api_key.pem 2048 </pre><p>Step 3. Change the file permission to ensure that only you can read the private key file:</p><pre>chmod go-rwx ~/.oci/oci_api_key.pem</pre><p>Step 4. Generate the public key from your new private key:</p><pre>openssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem</pre><p>Step 5. Copy the contents of the public key to the clipboard (you’ll need to paste the value into the Console later).</p><pre>cat ~/.oci/oci_api_key_public.pem</pre><p><strong>Oracle documentation explaining all of this in detail is provided below:</strong></p><ul><li><a href="https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm">SDK and CLI Configuration File</a></li><li><a href="https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm#apisigningkey_topic_How_to_Generate_an_API_Signing_Key_Console">Required Keys and OCIDs</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bf91e1a76e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/a-guide-to-oracle-cloud-ai/create-a-config-file-for-oracle-date-a-science-1bf91e1a76e6">Create A Config File For Oracle Date a Science</a> was originally published in <a href="https://medium.com/a-guide-to-oracle-cloud-ai">A Guide to Oracle Cloud AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connect OCI Data Science Notebook To GitHub Repository]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/connect-oci-data-science-notebook-to-github-repository-6287d7f673bc?source=rss----963d22997391---4"><img src="https://cdn-images-1.medium.com/max/1200/1*FikKExhmljEtNvyUgMouiA.jpeg" width="1200"></a></p><p class="medium-feed-snippet">Versioning your code is essential. This guide will show you connect to your GitHub repository from Oracle Data Science Notebook.</p><p class="medium-feed-link"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/connect-oci-data-science-notebook-to-github-repository-6287d7f673bc?source=rss----963d22997391---4">Continue reading on A Guide to Oracle Cloud AI »</a></p></div>]]></description>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/connect-oci-data-science-notebook-to-github-repository-6287d7f673bc?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/6287d7f673bc</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[oracle-data-science]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 02:42:28 GMT</pubDate>
            <atom:updated>2023-12-01T02:42:10.827Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Change Compute Shape on OCI Data Science Service]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/change-compute-shape-on-oci-data-science-service-fdb64380edc5?source=rss----963d22997391---4"><img src="https://cdn-images-1.medium.com/max/1400/1*agpLLeUpZhJ1zghlWMXN1A.jpeg" width="1400"></a></p><p class="medium-feed-snippet">Learn how to change from CPU to GPU after your notebook is created.</p><p class="medium-feed-link"><a href="https://medium.com/a-guide-to-oracle-cloud-ai/change-compute-shape-on-oci-data-science-service-fdb64380edc5?source=rss----963d22997391---4">Continue reading on A Guide to Oracle Cloud AI »</a></p></div>]]></description>
            <link>https://medium.com/a-guide-to-oracle-cloud-ai/change-compute-shape-on-oci-data-science-service-fdb64380edc5?source=rss----963d22997391---4</link>
            <guid isPermaLink="false">https://medium.com/p/fdb64380edc5</guid>
            <category><![CDATA[oracle-data-science]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Johnny Gold]]></dc:creator>
            <pubDate>Sun, 12 Nov 2023 16:50:40 GMT</pubDate>
            <atom:updated>2023-11-12T16:50:40.906Z</atom:updated>
        </item>
    </channel>
</rss>