Data Quality Integration for PowerCenter Guide

Data Quality Integration for PowerCenter Guide

Probabilistic Model and Classifier Model File Locations in PowerCenter

Probabilistic Model and Classifier Model File Locations in PowerCenter

Before you run a mapping that reads a probabilistic model or a classifier model in PowerCenter, copy the model file to the PowerCenter services machine.
When you export the mapping from the Model repository, the export operation adds each model to a compressed file at a location that you specify. Extract the compressed file and find the model files that the mapping reads. Probabilistic model and classifier model data file names end in
.ner
and
.classifier
respectively. Copy the files to a directory that the PowerCenter Integration Service can read.
By default, the PowerCenter Integration Service reads the model files from the following directory:
[PowerCenter_Installation]/server/bin
If the files are not in the default location, the PowerCenter Integration Service reads the file locations from property files. You update the property files with the paths to the model files.
The following table describes the property files:
File Name
Description
CLASSIFIER.properties
Contains the
ClassifierFileLocation
property. Update the property to identify the path to the classifier model files.
NER.properties
Contains the
NERFileLocation
property. Update the property to identify the path to the probabilistic model files.
The PowerCenter Integration Service reads the property files from the following directory:
[PowerCenter_Installation]/server/bin

Rules and Guidelines for Probabilistic Model and Classifier Model Export

Consider the following rules and guidelines when you export a mapping that reads reference table data:
  • When you export a mapping that reads probabilistic model or classifier model data for use in PowerCenter, select the
    Informatica
    Export Object Metadata File
    option in the export wizard to create the compressed file.
    The export operation also exports the mapping as an XML file. You can disregard the XML file.
  • Select the option to export trained models only. A trained probabilistic model or classifier model contains the logical data that the mapping reads and does not contain the source data for the model. Copy the trained model files to the PowerCenter services machine.
  • Export the mapping from the Model repository to the PowerCenter repository in a separate operation. To export the mapping from the Model repository to the PowerCenter repository, select the
    Informatica
    PowerCenter
    option.
    When you select the
    PowerCenter
    option, the export operation can copy reference data from managed reference tables and unmanaged reference tables.
  • You can set an absolute path or a relative path to identify the model file locations in each property file. If you set a relative path, the PowerCenter Integration Service adds the path to the following directory:
    [PowerCenter_Installation]/server/bin
  • Use forward slashes to define the directory paths to the model files on all platforms.

0 COMMENTS

We’d like to hear from you!