You configure a strategy to identify the types of information in the data. Each strategy analyzes an input port.
In a nonreusable transformation, connect input ports to the transformation before you configure the strategy.
Open the transformation and select the
Strategies
view.
Click
New Strategy
.
The strategy creation wizard opens.
Enter a name and optional description for the strategy.
Select an input port from the Inputs field.
Verify that the input port precision value is high enough to read all fields on the input port. The port truncates the input data when it reaches the precision limit.
Select or clear the option to add score data to the strategy output.
Click
Next
.
Confirm the type of classifier operation, and click
Next
.
Select a classifier algorithm. You can select the following algorithms:
Naive Bayes
Maximum entropy
To identify the language used in the source data, select the maximum entropy algorithm.
Verify the output port.
The transformation creates a single output port for each operation in a strategy. You can edit the port name and precision.
Select a classifier model.
The wizard lists the classifier model objects in the Model repository.
Click
Next
to add another operation to the strategy. Otherwise, click