Overview of Data Science

OCI Data Science is a fully managed and serverless platform for data science teams to build, train, and manage machine learning models using Oracle Cloud Infrastructure.

The Data Science Service:

  • Model deployment as resources to deploy models as web applications (HTTP API endpoints).

  • Provides data scientists with a collaborative, project-driven workspace.

  • Enables self-service, serverless access to infrastructure for data science workloads.

  • Includes Python-centric tools, libraries, and packages developed by the open source community and the Oracle Accelerated Data Science Library, which supports the end-to-end lifecycle of predictive models:

    • Data acquisition, profiling, preparation, and visualization.

    • Feature engineering.

    • Model training (including Oracle AutoML).

    • Model evaluation, explanation, and interpretation (including Oracle MLX).

  • Integrates with the rest of the Oracle Cloud Infrastructure stack, including Functions, Data Flow, Autonomous Data Warehouse, and Object Storage.

  • Includes policies, and vaults to control access to compartments and resources.

  • Includes metrics that provide insight into the health, availability, performance, and utilization of your Data Science resources.
  • Helps data scientists concentrate on methodology and domain expertise to deliver models to production.

Data Science Concepts

Review the following concepts and terms to help you get started with Data Science.

Project

Projects are collaborative workspaces for organizing and documenting Data Science assets, such as notebook sessions and models.

Notebook Session

Data Science notebook sessions are interactive coding environments for building and training models. Notebook sessions come with many preinstalled open source and Oracle developed machine learning and data science packages.

Accelerated Data Science SDK

The Oracle Accelerated Data Science (ADS) SDK is a Python library that is included as part of the OCI Data Science service. ADS has many functions and objects that automates or simplifies the steps in the Data Science workflow, including connecting to data, exploring and visualizing data, training a model with AutoML, evaluating models, and explaining models. In addition, ADS provides a simple interface to access the Data Science service model catalog and other OCI services including Object Storage. To familiarize yourself with ADS, see the Accelerated Data Science Library.

Model

Models define a mathematical representation of your data and business process. The model catalog is a place to store, track, share, and manage models.

Model Deployment

Model deployments is a managed resource in the Data Science service that allows you to deploy models stored in the model catalog as HTTP endpoints. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way to productionized models. HTTP endpoints are flexible and can serve requests for model predictions.

You should also be familiar with the Oracle Cloud Infrastructure Key Concepts.

Ways to Access Data Science

You access Data Science using the Console, REST API, SDKs, or CLI.

Use any of the following options, based on your preference and its suitability for the task you want to complete:

  • The OCI Console is an easy-to-use, browser-based interface. To access the Console, you must use a supported browser.
  • The REST APIs provide the most functionality, but require programming expertise. API reference and endpoints provide endpoint details and links to the available API reference documents including the Data Science REST API.
  • OCI provides SDKs that interact with Data Science without the need to create a framework.
  • The CLI provides both quick access and full functionality without the need for programming.

Creating Automation Using Events

You can create automation based on state changes for your OCI resources by using the Event service types, rules, and actions.

These Data Science resources produce events:

  • Projects

  • Notebook Sessions

  • Models

  • Model Deployments

Data Science event types explains how to set up event notifications including examples.

Regions and Availability Domains

OCI services are hosted in regions and availability domains. A region  is a localized geographic area, and an availability domain  is one or more data centers located in that region.

Data Science is hosted in these regions:

  • Australia East (Sydney)

  • Australia Southeast (Melbourne)

  • Brazil East (Sao Paulo)

  • Canada Southeast (Montreal)

  • Canada Southeast (Toronto)

  • Chile (Santiago)

  • Dedicated Region Cloud@Customer (Chiyoda)

  • Germany Central (Frankfurt)

  • India South (Hyderabad)

  • India West (Mumbai)

  • Japan Central (Osaka)

  • Japan East (Tokyo)

  • Netherlands Northwest (Amsterdam)

  • Saudi Arabia West (Jeddah)

  • South Korea Central (Seoul)

  • South Korea North (Chuncheon)

  • Switzerland North (Zurich)

  • UAE East (Dubai)

  • UK South (London)

  • UK West (Newport)

  • US East (Ashburn)

  • US West (Phoenix)

  • US West (San Jose)

For more information, see Regions and Availability Domains.

Limits on Data Science Resources

When you sign up for OCI, a set of service limits is configured for your tenancy. The service limit  is the quota or allowance set on the resources.

Limits by Service includes Data Science limits and other OCI services. You can also request a service limit increase.

Note

Failed and inactive notebook sessions and models count against your service limits. Only when you fully terminate an instance or delete a model is it not counted toward your quota.
Note

GPU limits are set to zero by default so ask your system administrator to request a service limit increase to use GPUs.

Resource Identifiers

Most types of OCI resources have an Oracle assigned unique ID called an Oracle Cloud Identifier   (OCID).

The OCID is included as part of the resource's information in both the Console and API. For information about the OCID format and other ways to identify your resources, see Resource Identifiers.

Authentication and Authorization

Each service in OCI integrates with Identity and Access Management for access to cloud resources through all interfaces (the OCI Console, SDKs, REST APIs, or the CLI).

An administrator in your organization must set up groups, compartments, and policies that control who can access which services and resources and the type of access. For example, About Data Science Policies create and manage Data Science projects, or launch notebook sessions.

Your administrator can confirm which compartments you should be using.

For general information on policies, see Getting Started with Policies. For specific details about writing policies for each of the services, see Policy Reference. For common policies used to authorize Data Science users, see Common Policies. For in-depth information about policies on granting users permissions for Data Science resources, see About Data Science Policies.

Provisioning on the Oracle Cloud Infrastructure

The Data Science service offers a serverless experience for model development and deployment. When you create Data Science resources, such as notebook sessions, models, and model deployments, the underlying compute and storage infrastructure is provisioned and maintained for you.

You pay for the use of the underlying infrastructure (Block Storage, Compute, and Object Storage). You only pay for the infrastructure while you are using it with Data Science resources:

Notebook Sessions
  • Notebook sessions are serverless, and all underlying infrastructure is service-managed.
  • When creating a notebook session, you select the VM shape (the type of machine CPU or GPU, and the number of OCPU or GPUs) and amount of block storage (minimum of 50 GB).

  • While a notebook session is active, you pay for Compute and Block Storage at the standard Oracle Cloud Infrastructure rates, see Deactivating Notebook Sessions.
  • You can deactivate your notebook session, which shuts down the Compute but retains the Block Storage. In this case, you are no longer be charged for Compute, but you continue to pay for the Block Storage. You can activate your notebook session to reattach this Block Storage to new Compute, see Deactivating and Activating Notebook Sessions.
  • When you terminate a notebook session, you are no longer charged for Compute or Block Storage, see Terminating Notebook Sessions.
Models
  • When you save a model to the model catalog, you are charged for the storage of the model artifact at the standard Object Storage rates in terms of GB per month.
  • When you delete a model, you are no longer charged, see Deleting Models.
Model Deployments
  • When you deploy a model, you select the shape type and the number of replicas hosting the model servers. You can also select the load balancer bandwidth associated with your deployment.

  • When a model deployment is active, you pay for the VMs that are hosting the model servers and the load balancer at the standard OCI rates.

  • When you deactivate a model deployment, you are no longer charged for the VMs or the load balancer. You can activate a model deployment and billing resumeS for both VMs and the load balancer.

  • When you terminate a model deployment, you are no longer charged for the infrastructure associated with the model deployment.

Tip

You can use Checking Your Balance and Usage to review the costs associated with your account. Also, you can use the Oracle Cloud Infrastructure Billing and Payment Tools to analyze your Data Science usage and manage your costs.