Sample Selector
This operator connects to a preceding Random Sampling operator and allows you to specify one of the sample data sets (training or testing) generated from that operator for use in succeeding operators.
Information at a Glance
|
Parameter |
Description |
|---|---|
| Category | Sample |
| Data source type | TIBCO® Data Virtualization |
| Send output to other operators | Yes |
| Data processing tool | TIBCO® DV, Apache Spark 3.2 or later |
Algorithm
This operator connects to a preceding Random Sampling operator and you can select the training or the testing data sets generated from that operator for use in succeeding operators.
Input
An input is a sample generating operator, such as the Random Sampling operator.
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. |
| Selected Sample | Select the samples as database tables or views from the preceding Random Sampling operator. |
Output
Example
The following example demonstrates the use of the Sample Selector operator to select the training and testing data sets generated by the Random Sampling operator.
- Multiple columns namely outlook, temperature, wind, humidity, and play.
- Multiple rows (14 rows).
-
Selected Sample: Sample 1 (80%)