We are proud to share our inclusion in the 2024 Gartner Magic Quadrant for Data Integration Tools. We believe this recognition reflects the differentiated business outcomes CData delivers to our customers.
Get the Report →How to Seamlessly Import Cosmos DB Data into IBM SPSS Modeler
Integrate Cosmos DB data into IBM SPSS Modeler using the CData ODBC Driver for real-time insights and advanced data analysis.
IBM SPSS Modeler is a powerful data mining and predictive analytics platform that enables organizations to extract valuable insights from their data. By connecting Cosmos DB data data to SPSS Modeler via the CData ODBC Driver for Cosmos DB, you can leverage real-time access for advanced data mining, predictive modeling, and statistical analysis.
This guide takes you through the steps of connecting IBM SPSS Modeler to Cosmos DB data, enabling seamless data import, preparation, and analysis. With the CData ODBC Driver for Cosmos DB, you can unlock the full potential of your Cosmos DB data data within IBM SPSS Modeler for actionable insights.
Overview
Here is an overview of the steps:
- CONFIGURE THE ODBC DRIVER: Set up a connection to Cosmos DB data in the CData ODBC Driver for Cosmos DB by entering the required connection properties.
- SET UP ODBC CONNECTION IN SPSS MODELER: Establish the ODBC connection within IBM SPSS Modeler by selecting the configured DSN.
- IMPORT AND PROCESS DATA: Import the Cosmos DB data data into SPSS Modeler, then review, filter, transform, and prepare the data for predictive analytics and statistical modeling.
Configure the Cosmos DB DSN Using the CData ODBC Driver
To start, configure the DSN (Data Source Name) for Cosmos DB data in your system using the CData ODBC Driver. Download and install a 30-day free trial with all the features from here.
Once installed, launch the ODBC Data Source Administrator:
- On Windows: Search for ODBC Data Source Administrator in the Start menu and open the application.
- On Mac: Open Applications, go to Utilities, and select ODBC Manager.
- On Linux: Use the command line to launch ODBC Data Source Administrator or use unixODBC if installed.
![ODBC Data Source Administrator](../articles/odbc-spss-modeler-01.jpg)
Once launched, double-click on the CData Cosmos DB data Source and enter the required values to establish a connection:
To obtain the connection string needed to connect to a Cosmos DB account using the SQL API, log in to the Azure Portal, select Azure Cosmos DB, and select your account. In the Settings section, click Connection String and set the following values:
- AccountEndpoint: The Cosmos DB account URL from the Keys blade of the Cosmos DB account
- AccountKey: In the Azure portal, navigate to the Cosmos DB service and select your Azure Cosmos DB account. From the resource menu, go to the Keys page. Find the PRIMARY KEY value and set AccountKey to this value.
![Configuring ODBC DSN (Salesforce is shown)](../articles/odbc-spss-modeler-02.jpg)
Setup an ODBC Connection in IBM SPSS Modeler
After configuring the DSN, it's time to connect to it in IBM SPSS Modeler:
- Launch IBM SPSS Modeler, log in, and create a new stream.
- From the Sources palette, locate the Database node, and drag it onto the canvas.
- Double-click the Database node to open the configuration dialog. Select
, browse to select the configured DSN, then click OK. - In the Database dialog, browse to select the table(s) you’d like to import, preview the data, and click OK to finalize.
![IBM SPSS Modeler Home screen](../articles/odbc-spss-modeler-03.jpg)
![IBM SPSS Modeler Canvas](../articles/odbc-spss-modeler-04.jpg)
![IBM SPSS Modeler Database Connections (Salesforce is shown)](../articles/odbc-spss-modeler-05.jpg)
You are now ready to process and analyze the Cosmos DB data data in IBM SPSS Modeler.
Process Data: Filter, Categories, and Model
Once the tables are imported, you can refine, filter, categorize, and model your Cosmos DB data data in SPSS Modeler:
- Filtering: Double-click your Database connection, go to the Filter section, and select/deselect fields to focus on relevant data. This improves processing speed and model accuracy.
- Set Data Types and Roles: Categorize your fields and assign roles to each data type by navigating to the Types section.
- Perform a Basic Analysis: Drag and drop the Analysis node next to your Database node, connect them, and click the Play button to run the stream and analyze the data.
![IBM SPSS Modeler Data Filtering (Salesforce is shown)](../articles/odbc-spss-modeler-07.jpg)
![IBM SPSS Modeler Data Types Categorization (Salesforce is shown)](../articles/odbc-spss-modeler-08.jpg)
You have now performed a simple analysis, enabling SPSS Modeler to process and display insights from your database.
Unlock the Potential of Your Cosmos DB Data with CData
With the CData ODBC Driver for Cosmos DB, connecting Cosmos DB data data to IBM SPSS Modeler is seamless. Start your free trial today and unlock the full potential of your real-time data for advanced analytics and decision-making.