Classifies the number of rows of an input CSV to be either small, medium, or large. Binary classification between small and medium is supported also.
Version | 1.1 |
---|---|
Bundle | tools |
Categories | Network Control |
Authors | Marko Laakso (Marko.Laakso@Helsinki.FI) |
Issue tracker | View/Report issues |
Source files | component.xml |
Usage | Example with default values |
Name | Type | Mandatory | Description |
---|---|---|---|
relation | CSV | Mandatory |
Name | Type | Description |
---|---|---|
dimensions | Properties | Row and column counts for the input file. The names of these properties are defined using rowProp and colProp parameters. |
category | TextFile | Value large if rows is greater than limit2, value medium if rows is greater than limit1 and smaller than limit2, val small if rows is less than limit1. |
Name | Type | Default | Description |
---|---|---|---|
colProp | string | "" | Property name for the column count. Empty string refers to componentName+'.cols' |
limit1 | int | 1 | Row limit between categories small and medium. Small is selected only if the row count is less than this limit. |
limit2 | int | -100 | Row limit between categories medium and large. Negative values can be used to use medium category for all values greater than limit1. |
rowProp | string | "" | Property name for the row count. Empty string refers to componentName+'.rows' |
Test case | Parameters▼ | IN relation |
OUT dimensions |
OUT category |
||
---|---|---|---|---|---|---|
case1 | properties | relation | dimensions | (missing) | ||
limit1=3, |
||||||
case2 | properties | relation | dimensions | (missing) | ||
colProp = columnCount, |