È possibile creare, modificare ed eseguire codice Python e R utilizzando i taccuini Jupyter e gli script negli editor di codice, ad esempio l'editor di taccuini o un ambiente di sviluppo integrato (IDE), come RStudio.
Notebook
Un notebook Jupyter è un ambiente basato sul web per il calcolo interattivo. È possibile utilizzare i notebook per eseguire piccole parti di codice che elaborano i dati ed è possibile visualizzare immediatamente i risultati del calcolo. I notebook includono tutti i blocchi di creazione necessari per lavorare con i dati, ovvero i dati, i calcoli di codice che elaborano i dati, le visualizzazioni dei risultati e il testo e i supporti per migliorare la comprensione.
Script
Uno script è un file che contiene una serie di comandi e commenti. Lo script può essere salvato e utilizzato successivamente per eseguire nuovamente i comandi salvati. Diversamente da un notebook, i comandi in uno script possono essere eseguiti solo in modo lineare.
Notebook
Copy link to section
Servizio richiesto
studio watsonx.ai
Autorizzazioni richieste
Ruolo Editor o Admin in un progetto
Strumenti
Editor notebook
Linguaggi di programmazione
Python e R
Formato dati
Tutti i tipi
Il supporto codice è disponibile per il caricamento e l'accesso ai dati dagli asset del progetto per:
Asset di dati, quali file CSV, JSON e .xlsx e .xls
5 GB. Se i file sono più grandi, è necessario caricare i dati in più parti.
Utilizzo dell'editor del notebook
Copy link to section
L'editor del notebook è ampiamente utilizzato per la programmazione di analisi dei dati esplorativa e interattiva e per la visualizzazione dei dati. Solo una persona può modificare un notebook alla volta. Tutti gli altri utenti possono accedere ai notebook aperti solo in modalità di visualizzazione, mentre sono bloccati.
È possibile utilizzare questi tipi di librerie:
Librerie open source preinstallate fornite con gli ambienti di runtime del notebook
Librerie IBM fornite senza costi aggiuntivi fornite con gli ambienti di runtime dei notebook
Le proprie librerie
Quando i notebook sono pronti, è possibile creare lavori per eseguire i notebook direttamente dall'editor del notebook. Le configurazioni del lavoro possono utilizzare le variabili di ambiente che vengono passate ai notebook con valori diversi quando vengono eseguiti i notebook.
Lavorare in RStudio
Copy link to section
RStudio è un ambiente di sviluppo integrato per lavorare con script R o app Shiny. Sebbene l'IDE RStudio non possa essere avviato in un runtime Spark con ambiente R, puoi utilizzare Spark nei tuoi script R e nelle tue applicazioni Shiny accedendo ai kernel Spark in modo programmatico.
Gli script R e le app Shiny possono essere creati e utilizzati solo nell'IDE RStudio. Non è possibile creare lavori per script R o distribuzioni R Shiny.
Use this interactive map to learn about the relationships between your tasks, the tools you need, the services that provide the tools, and where you use the tools.
Select any task, tool, service, or workspace
You'll learn what you need, how to get it, and where to use it.
Some tools perform the same tasks but have different features and levels of automation.
Jupyter notebook editor
Prepare data
Visualize data
Build models
Deploy assets
Create a notebook in which you run Python, R, or Scala code to prepare, visualize, and analyze data, or build a model.
AutoAI
Build models
Automatically analyze your tabular data and generate candidate model pipelines customized for your predictive modeling problem.
SPSS Modeler
Prepare data
Visualize data
Build models
Create a visual flow that uses modeling algorithms to prepare data and build and train a model, using a guided approach to machine learning that doesn’t require coding.
Decision Optimization
Build models
Visualize data
Deploy assets
Create and manage scenarios to find the best solution to your optimization problem by comparing different combinations of your model, data, and solutions.
Data Refinery
Prepare data
Visualize data
Create a flow of ordered operations to cleanse and shape data. Visualize data to identify problems and discover insights.
Orchestration Pipelines
Prepare data
Build models
Deploy assets
Automate the model lifecycle, including preparing data, training models, and creating deployments.
RStudio
Prepare data
Build models
Deploy assets
Work with R notebooks and scripts in an integrated development environment.
Federated learning
Build models
Create a federated learning experiment to train a common model on a set of remote data sources. Share training results without sharing data.
Deployments
Deploy assets
Monitor models
Deploy and run your data science and AI solutions in a test or production environment.
Catalogs
Catalog data
Governance
Find and share your data and other assets.
Metadata import
Prepare data
Catalog data
Governance
Import asset metadata from a connection into a project or a catalog.
Metadata enrichment
Prepare data
Catalog data
Governance
Enrich imported asset metadata with business context, data profiling, and quality assessment.
Data quality rules
Prepare data
Governance
Measure and monitor the quality of your data.
Masking flow
Prepare data
Create and run masking flows to prepare copies of data assets that are masked by advanced data protection rules.
Governance
Governance
Create your business vocabulary to enrich assets and rules to protect data.
Data lineage
Governance
Track data movement and usage for transparency and determining data accuracy.
AI factsheet
Governance
Monitor models
Track AI models from request to production.
DataStage flow
Prepare data
Create a flow with a set of connectors and stages to transform and integrate data. Provide enriched and tailored information for your enterprise.
Data virtualization
Prepare data
Create a virtual table to segment or combine data from one or more tables.
OpenScale
Monitor models
Measure outcomes from your AI models and help ensure the fairness, explainability, and compliance of all your models.
Data replication
Prepare data
Replicate data to target systems with low latency, transactional integrity and optimized data capture.
Master data
Prepare data
Consolidate data from the disparate sources that fuel your business and establish a single, trusted, 360-degree view of your customers.
Services you can use
Services add features and tools to the platform.
watsonx.ai Studio
Develop powerful AI solutions with an integrated collaborative studio and industry-standard APIs and SDKs. Formerly known as Watson Studio.
watsonx.ai Runtime
Quickly build, run and manage generative AI and machine learning applications with built-in performance and scalability. Formerly known as Watson Machine Learning.
IBM Knowledge Catalog
Discover, profile, catalog, and share trusted data in your organization.
DataStage
Create ETL and data pipeline services for real-time, micro-batch, and batch data orchestration.
Data Virtualization
View, access, manipulate, and analyze your data without moving it.
Watson OpenScale
Monitor your AI models for bias, fairness, and trust with added transparency on how your AI models make decisions.
Data Replication
Provide efficient change data capture and near real-time data delivery with transactional integrity.
Match360 with Watson
Improve trust in AI pipelines by identifying duplicate records and providing reliable data about your customers, suppliers, or partners.
Manta Data Lineage
Increase data pipeline transparency so you can determine data accuracy throughout your models and systems.
Where you'll work
Collaborative workspaces contain tools for specific tasks.
Project
Where you work with data.
> Projects > View all projects
Catalog
Where you find and share assets.
> Catalogs > View all catalogs
Space
Where you deploy and run assets that are ready for testing or production.
> Deployments
Categories
Where you manage governance artifacts.
> Governance > Categories
Data virtualization
Where you virtualize data.
> Data > Data virtualization
Master data
Where you consolidate data into a 360 degree view.