Importing an SPSS Modeler stream

You can import a stream (.str) that was created in SPSS Modeler Subscription or SPSS Modeler client.

  1. From your project, under Modeler flows, click New modeler flow.
  2. Select From File, select the .str file you want to import, and click Create.

If the imported stream contains one or more source (import) or export nodes, you'll be prompted to convert the nodes. Watson Studio will walk you through the migration process.

Watch the following video for an example of this easy process:
Figure 1. Importing a stream
Video: Importing a stream
https://youtube.com/embed/0GBMTaZYXWU

If the stream contains multiple import nodes that use the same data file, then you must first add that file to your project as a data asset before migrating because the conversion can't upload the same file to more than one import node. After adding the data asset to your project, reopen the flow and proceed with the migration using the new data asset. Nodes with the same name will be automatically mapped to project assets.

Configure export nodes to export to your project or to a connection. The following export nodes are supported:

Table 1. Export nodes that can be migrated
Supported SPSS Modeler export nodes
Analytic Server
Database
Flat File
Statistics Export
Data Collection
Excel
IBM Cognos Analytics Export
TM1 Export
SAS
XML Export
Notes: Keep the following information in mind when migrating nodes.
  • When migrating export nodes, you're converting node types that don't exist in Watson Studio. The nodes are converted to Data Asset export nodes or a connection. Due to a current limitation for automatically migrating nodes, only existing project assets or connections can be selected as export targets. These assets will be overwritten during export when the flow runs.
  • To preserve any type or filter information, when an import node is replaced with Data Asset nodes, they're converted to a supernode.
  • After migration, you can go back later and use the Convert button if you want to migrate a node that you skipped previously.
  • If the stream you imported uses scripting, you may encounter an error when you run the flow even after completing a migration. This could be due to the flow script containing a reference to an unsupported import or export node. To avoid such errors, you must remove the scripting code that references the unsupported node.
  • If the stream you're importing contains unsupported data file types, you need to convert them to a supported type (CSV, Excel, or SPSS Statistics .sav).