Classifier (HD)
Uses any input classification model to apply a classification prediction to the input data set.
Information at a Glance
|
Parameter |
Description |
|---|---|
| Category | Predict |
| Data source type | HD |
| Send output to other operators | Yes |
| Data processing tool | MapReduce |
Algorithm
The TIBCO Data Science – Team Studio Classifier operator is used to predict the probability of the occurrence of the event based on the model generated by the training of Alpine Forest, Decision Tree, K-Means (Hadoop), Logistic Regression, Naive Bayes, Neural Network, or SVM Classification operator models.
Input
The input data set must contain the columns such that the names are the same as the columns in the data set selected for model training with the exception of the dependent column.
The Classifier operator must have both of the following.
- an input Classification model.
- an input data set against which the model is applied.
The model preceding the Classifier operator can be any of the following. The Classifier operator can take multiple models from the preceding operators, not just one.
- Alpine Forest
- Decision Tree
- K-Means
- Logistic Regression
- Naive Bayes,
- SVM Classification
Configuration
| Parameter | Description |
|---|---|
| Notes | Notes or helpful information about this operator's parameter settings. When you enter content in the Notes field, a yellow asterisk appears on the operator. |
| Store Results? | Specifies whether to store the results.
|
| Results Location | The HDFS directory where the results of the operator are stored. This is the main directory, the sub-directory of which is specified in Results Name. Click Choose File to open the Hadoop File Explorer dialog and browse to the storage location. Do not edit the text directly. |
| Results Name | The name of the file in which to store the results. |
| Overwrite | Specifies whether to delete existing data at that path and file name.
|
| Compression | Select the type of compression for the output.
Available Parquet compression options are the following.
Available Avro compression options are the following.
|
Output
The Classifier outputs its prediction columns with the columns of the input data set into a prediction table location specified by user.
The data rows of the output table/view displayed (up to 2000 rows of the data).
For example, the output for a dependent column, srsdlqncy, might look like the following.
The Classifier operator outputs the following standardized three prediction columns:
- P_dependent_column_name: The predicted value which should be one of the possible returning values of the dependent column.
- C_dependent_column: The confidence of obtaining the result being the P_dependent_column_name predicted value.
- C_dependent_column_details: The confidence values associated with the dependent column's possible values.
Example