class |
AbstractConversionFromString |
Ancestor for conversion schemes that convert strings into other objects.
|
class |
AbstractConversionToString |
Ancestor for conversion schemes that convert objects into strings.
|
class |
AbstractImageToByteArray |
Converts an image into a byte array.
|
class |
AbstractInPlaceSpreadSheetConversion |
Ancestor for spreadsheet conversion that allow working on the incoming data
rather than on a copy (to conserve memory).
|
class |
AbstractMatchWekaInstanceAgainstHeader |
Ancestor for classes that match Instance objects against Instances headers.
|
class |
AbstractMatrixToSpreadSheet |
Ancestor for conversions that turn a matrix of some type into a spreadsheet.
|
class |
AbstractObjectToJson |
Converts the Map into a JSON object.
|
class |
AbstractScript |
Ancestor for conversion scripts.
|
class |
AbstractScriptedConversion |
Abstract ancestor for actors that execute external scripts.
|
class |
AbstractSpreadSheetColumnConverter<T> |
Ancestor for column converter schemes.
|
class |
AbstractSpreadSheetConversion |
Ancestor for conversion schemes that transform one spreadsheet into another
one.
|
class |
AbstractSpreadSheetToMatrix<T> |
Ancestor for conversions that turn a spreadsheet into a matrix of some
data type.
|
class |
AbstractStringConversion |
Ancestor for string conversion schemes.
|
class |
AbstractSwapObject |
Ancestor for classes that swap all occurrences of one object for another.
|
class |
AbstractValidateString |
Ancestor for string conversions that ensure a string only contains valid
characters according to some rules.
|
class |
AdamsInstanceToWekaInstance |
Converts adams.data.instance.Instance objects into weka.core.Instance ones.
|
class |
AnyImageToByteArray |
Turns any image container into a byte array.
|
class |
AnyImageToOpenCV |
Turns an Image container into an OpenCV container.
|
class |
AnyToCommandline |
Generates a commandline string from any object.
|
class |
AnyToString |
Turns any object into a String, using its 'toString()' method.
|
class |
ArrayToCollection |
Deprecated.
|
class |
ArrayToJsonArray |
Turns an object array into a JSON array.
|
class |
ArrayToReport |
Turns an array into a report.
|
class |
ArrayToYamlString |
Converts the object array into a YAML string.
|
class |
BackQuote |
Backquotes, i.e., escapes with a backslash, characters like quotes (single and double), new lines, tabs.
See also:
adams.data.conversion.Quote
adams.data.conversion.UnQuote
adams.data.conversion.UnBackQuote
Valid options are:
|
class |
Base64ToByteArray |
Decodes a base64 string into a byte array.
|
class |
Base64ToString |
Decodes a base64 string.
|
class |
BaseDateTimeMsecToString |
Turns a BaseDateTimeMsec format string into a String, evaluted using user-supplied start and end dates (ignored if future INF dates).
Example: 2015-12-01 07:13:12.034 +3 MINUTE
(<date>|NOW|-INF|+INF|START|END) [expr (MILLISECOND|SECOND|MINUTE|HOUR|DAY|BUSINESSDAY|WEEK|MONTH|YEAR)]*
expr ::= ( expr )
| - expr
| + expr
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr % expr
| expr ^ expr
| abs ( expr )
| sqrt ( expr )
| log ( expr )
| exp ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| NUMBER
|
class |
BaseDateTimeToString |
Turns a BaseDateTime format string into a String, evaluted using user-supplied start and end dates (ignored if future INF dates).
Example: 2015-12-01 07:13:12 +3 MINUTE
(<date>|NOW|-INF|+INF|START|END) [expr (SECOND|MINUTE|HOUR|DAY|BUSINESSDAY|WEEK|MONTH|YEAR)]*
expr ::= ( expr )
| - expr
| + expr
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr % expr
| expr ^ expr
| abs ( expr )
| sqrt ( expr )
| log ( expr )
| exp ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| NUMBER
|
class |
BaseDateToString |
Turns a BaseDate format string into a String, evaluted using user-supplied start and end dates (ignored if future INF dates).
Example: 2015-12-01 +3 DAY
(<date>|NOW|-INF|+INF|START|END) [expr (DAY|BUSINESSDAY|WEEK|MONTH|YEAR)]*
expr ::= ( expr )
| - expr
| + expr
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr % expr
| expr ^ expr
| abs ( expr )
| sqrt ( expr )
| log ( expr )
| exp ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| NUMBER
|
class |
BaseTimeToString |
Turns a BaseTime format string into a String, evaluted using user-supplied start and end times (ignored if future INF times).
Example: 07:13:12 +3 MINUTE
(<date>|NOW|-INF|+INF|START|END) [expr (SECOND|MINUTE|HOUR)]*
expr ::= ( expr )
| - expr
| + expr
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr % expr
| expr ^ expr
| abs ( expr )
| sqrt ( expr )
| log ( expr )
| exp ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| NUMBER
|
class |
BlobContainerToByteArray |
Obtains the byte array content of a adams.data.blob.BlobContainer and forwards that.
|
class |
BoofCVToBufferedImage |
Turns a BoofCV container into a BufferedImage one.
|
class |
BooleanToString |
Turns a Boolean into a String.
|
class |
BreakUpString |
Breaks up a string into multiple lines if wider than the specified number of columns.
|
class |
BufferedImageBitmaskContainerToBufferedImages |
Turns the bitmask container back into an array of containers for BufferedImage objects, with the image being the first and the bitmasks the other elements.
The incoming report gets cloned into all of the outgoing containers.
|
class |
BufferedImagesToBufferedImageBitmaskContainer |
Turns the BufferedImage containers into a container with image (index=0) and bitmasks (index>=1).
Only the report from the first container is transferred.
|
class |
BufferedImageSupporterToBufferedImageContainer |
Converts a adams.data.image.BufferedImageSupporter to a adams.data.image.BufferedImageContainer
|
class |
BufferedImageToBoofCV |
Turns a BufferedImage container into a BoofCV one.
|
class |
BufferedImageToBufferedImage |
Dummy conversion, performs no conversion at all.
|
class |
BufferedImageToByteArray |
Turns a BufferedImage object into a byte array.
|
class |
ByteArrayToBase64 |
Encodes a byte array as base64 string.
|
class |
ByteArrayToBlobContainer |
Wraps the byte array in a adams.data.blob.BlobContainer, which allows the storage of meta-data using the attached report and/or notes.
|
class |
ByteArrayToBufferedImage |
Converts the byte array representating a binary image (e.g., JPG or PNG) into a BufferedImage container.
|
class |
ByteArrayToImageContainer |
class |
ByteArrayToJavaObject |
Deserializes a Java object from the byte array.
|
class |
ByteArrayToPrimitiveArray |
Turns a byte array (IEE754) into a primitive array.
|
class |
ByteArrayToString |
Turns a byte array into a String.
|
class |
ByteToHex |
Turns a Byte into a hexadecimal string.
|
class |
ByteToInt |
Turns a Byte into an Integer.
|
class |
ByteToString |
Turns a Byte into a String.
|
class |
CharArrayToString |
Turns a char array into a String.
|
class |
CollectionToArray |
Turns a collection into an array.
|
class |
ColorToHex |
Turns a color object into its hexa-decimal representation, e.g., '#ffffff'.
|
class |
CommandlineToAny |
Turns a command-line into an object.
|
class |
ContainerToSpreadSheet |
Converts any container into a SpreadSheet object.
|
class |
ConvertDateTimeType |
Turns instances of the specified input date/time type into instances of the specified output date/time type.
|
class |
ConvertSpreadSheetRows |
Converts the rows in the spreadsheet into a new format.
|
class |
DateTimeTypeToString |
Turns instances of the specified date/time type into a string using the specified format.
|
class |
DOMNodeListToArray |
Turns a DOM org.w3c.dom.NodeList into an array of org.w3c.dom.Node.
|
class |
DOMNodeToString |
Turns a org.w3c.dom.Node DOM object into a String.
|
class |
DOMToProperties |
Flattens a DOM object (or node) into a Properties object.
|
class |
DOMToString |
Turns a org.w3c.dom.Node or org.w3c.dom.Document DOM object into a String.
In case of org.w3c.dom.Node objects, the owner document is converted to String.
|
class |
DoubleMatrixToBufferedImage |
Turns a matrix of double values into a BufferedImage.
|
class |
DoubleMatrixToMat5Array |
Turns a double matrix into a 2-dimensional Matlab matrix array.
|
class |
DoubleMatrixToSpreadSheet |
Converts a double matrix into a SpreadSheet object.
|
class |
DoubleToFloat |
Turns a Double into a Float.
|
class |
DoubleToInt |
Turns a Double into an Integer.
|
class |
DoubleToLong |
Turns a Double into a Long.
|
class |
DoubleToString |
Turns a Double into a String.
|
class |
EmailToPlainText |
Turns an Email object into a plain text string.
|
class |
ExcelDoubleColumnToDate |
Converts the specified double column to a date column.
|
class |
ExcelDoubleColumnToDateTime |
Converts the specified double column to a date/time column.
|
class |
ExtractDateTimeField |
Extracts the specified field from a date/time type.
A custom format string can be used with field CUSTOM.
|
class |
ExtractSimpleContainerContent |
Obtains the content of a adams.data.container.AbstractSimpleContainer derived class and forwards that.
|
class |
FieldToString |
Turns a Field object into a String.
|
class |
FileToString |
Turns a File object into a String.
|
class |
FloatToDouble |
Turns a Float into a Double.
|
class |
Groovy |
A conversion that uses a Groovy script for processing the data.
|
class |
HashCode |
Generates the hash code of an arbitrary object, using the object's hashcode() method.
|
class |
HexToByte |
Turns a hexadecimal string into a Byte.
|
class |
HexToColor |
Turns a hexa-decimal representation of a color, e.g., '#ffffff' into a color object again.
|
class |
HexToInt |
Turns a hexadecimal string into an Integer.
|
class |
HtmlCharacterEntitiesToString |
Turns HTML character entities like '<' into their character representations like '<'.
|
class |
ImageContainerToByteArray |
class |
ImageContainerToSpreadSheet |
Turns the image of an image container into a spreadsheet for viewing the pixel values.
|
class |
InformativeStatistic |
Turns the statistics obtained from a adams.data.statistics.InformativeStatisticSupporter into a spreadsheet.
|
class |
IntToByte |
Turns an Integer into a Byte.
|
class |
IntToDouble |
Turns an Integer into a Double.
|
class |
IntToHex |
Turns an Integer into a hexadecimal string.
|
class |
IntToLong |
Turns an Integer into a Long.
|
class |
IntToRoman |
Converts an integer (1-3999) into a roman numeral string (eg 'MCM').
|
class |
IntToString |
Turns an Integer into a String.
Can be optionally formatted using a byte format string.
|
class |
JavaObjectToByteArray |
Serializes the Java Object into a byte array.
|
class |
JoinOptions |
Assumes the string array to be an option array and joins them into a single string.
|
class |
JsonArrayToArray |
Turns a JSON array into an object array.
|
class |
JsonArrayToList |
class |
JsonObjectToMap |
Turns a JSON object into a map.
|
class |
JsonToReport |
Turns a JSON string into a report.
Input format:
{
"Sample ID": "someid",
"GLV2": 1.123,
"valid": true
}
|
class |
JsonToSpreadSheet |
Turns a JSON object into a spreadsheet, essentially flattening it.
|
class |
JsonToString |
Turns a JSON object/array into a string.
|
class |
LeftPad |
Left pads a string up to a maximum number of characters.
|
class |
ListToJson |
Converts the java.util.List into a JSON object.
|
class |
ListToJsonArray |
Turns a Java list into a JSON array.
|
class |
ListToYamlString |
Converts the java.util.List object into a YAML string.
|
class |
LocatedObjectsToReport |
Converts the array of LocatedObject instances to a report.
|
class |
LocatedObjectToRectangle |
Converts a adams.flow.transformer.locateobjects.LocatedObject to a rectangle.
|
class |
LongToDouble |
Turns a Long into a Double.
|
class |
LongToInt |
Turns a Long into an Integer.
|
class |
LongToString |
Turns a Long into a String.
Can be optionally formatted using a byte format string.
|
class |
LowerCase |
Turns a String into a lowercase String.
|
class |
MapToJson |
Converts the java.util.Map into a JSON object.
|
class |
MapToKeyValuePairs |
Converts the java.util.Map into key-value pairs.
|
class |
MapToMat5File |
Converts a map into a Matlab file object.
Supported nested elements:
- java.util.Map
- Matlab array/struct
- spreadsheet
- Double matrix
|
class |
MapToMat5Struct |
Converts a map into a Matlab struct object.
Supported nested elements:
- java.util.Map
- Matlab array/struct
- spreadsheet
- Double matrix
|
class |
MapToReport |
Turns a map object into a report.
|
class |
MapToSpreadSheet |
Turns a java.util.Map object into a SpreadSheet object.
|
class |
MapToString |
Turns a map object into a simple string.
When encountering date objects as values, they get turned into a string using: yyyy-MM-dd HH:mm:ss
Output format:
<key>:
<value>
|
class |
MapToWekaInstance |
Converts a map into a Weka Instance, using the provided storage object (Instances) as template.
|
class |
MapToYamlString |
Converts the java.util.Map object into a YAML string.
|
class |
Mat5ArrayToDoubleMatrix |
Converts a 2-dimensional Matlab array into a double matrix.
|
class |
Mat5ArrayToSpreadSheet |
Turns the Matlab array into a spreadsheet.
|
class |
Mat5ArrayToString |
Converts matrices into a textual representation, otherwise just outputs the dimensions.
|
class |
Mat5CharToString |
class |
Mat5FileToMap |
Turns the Mat5File data structure into a nested map.
|
class |
Mat5StructToMap |
Turns the Matlab struct into a map.
In case of multi-dimensional (outermost) structs, an index can be supplied to retrieve just a single element instead of all of them.
|
class |
MatchWekaInstanceAgainstFileHeader |
Matches an Instance against a dataset header loaded from a file, i.e., it automatically converts STRING attributes into NOMINAL ones and vice versa.
The file can be any format that WEKA recognizes.
|
class |
MatchWekaInstanceAgainstStorageHeader |
Matches an Instance against a dataset header from storage, i.e., it automatically converts STRING attributes into NOMINAL ones and vice versa.
|
class |
MathExpression |
Evaluates a mathematical expression.
The input value (double or integer) can be accessed via 'X'.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| has ( variable )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] ) (find 'search' in 'expr', return 1-based position)
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
| str ( expr )
| str ( expr , numdecimals )
| str ( expr , decimalformat )
| ext ( file_str ) (extracts extension from file)
| replaceext ( file_str, ext_str ) (replaces the extension of the file with the new one)
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'.
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.
|
class |
Maximum |
If the numbers passing through get above the defined maximum, the maximum is returned instead.
|
class |
Minimum |
If the numbers passing through fall below the defined minimum, the minimum is returned instead.
|
class |
MovingAverage |
Computes the average on a window of numbers that have passed through and outputs the average.
|
class |
MultiConversion |
Meta-conversion that allows the chaining of multiple conversions.
|
class |
NotesSubset |
Generates a subset of a adams.data.Notes object.
|
class |
NotesToSpreadSheet |
Turns an adams.data.Notes object into a SpreadSheet object.
|
class |
NotesToString |
Turns an adams.data.Notes object into a string.
|
class |
NumberToByte |
Turns an Number into a Byte.
|
class |
NumberToDouble |
Turns an Number into a Double.
|
class |
NumberToFloat |
Turns an Number into a Float.
|
class |
NumberToInt |
Turns an Number into a Int.
|
class |
NumberToLong |
Turns an Number into a Long.
|
class |
ObjectAnnotationsToImageSegmentationLayers |
Converts the annotations to image segmentation layers.
|
class |
ObjectArrayToPrimitiveArray |
Converts an object array to its primitive counterpart.
|
class |
ObjectContainerToObject |
Obtains the object content of a adams.data.container.ObjectContainer and forwards that.
|
class |
ObjectToObject |
Dummy converter, does not perform any conversion.
|
class |
ObjectToObjectContainer |
Wraps the object in a adams.data.container.ObjectContainer, which allows the storage of meta-data using the attached report and/or notes.
|
class |
OpenCVToBufferedImage |
Turns an OpenCV container into a BufferedImage one.
|
class |
PathSplit |
Splits the path into its individual parts.
Handles forward slashes and backslashes.
Drive letters and servers from UNC paths are handled as separate part.
|
class |
Point2DToString |
Turns a java.awt.geom.Point2D into a string of the format 'x y'.
|
class |
PrettyPrintXML |
Turns the XML string into a pretty-printed XML string.
See also:
adams.data.conversion.XMLToDOM
adams.data.conversion.DOMToString
|
class |
PrimitiveArrayToByteArray |
Turns a primitive array into a byte array (IEE754).
|
class |
PrimitiveArrayToObjectArray |
Converts a primitive array to its object counterpart.
|
class |
PropertiesToKeyValuePairs |
Converts the java.util.Properties into key-value pairs.
|
class |
PropertiesToMap |
Turns a Properties object into a java.util.Map.
|
class |
PropertiesToSpreadSheet |
Turns a properties object into a spreadsheet with two columns, one for the key and one for the value.
|
class |
PropertiesToString |
Turns a Properties object into a String.
|
class |
QuadrilateralLocationCenter |
Determines the center of the quadrilateral object and returns them as a java.awt.geom.Point2D.
|
class |
QuadrilateralLocationToString |
Turns a quadrilateral object into a string of the format 'A.x A.y B.x B.y C.x C.y D.x D.y'.
|
class |
Quote |
Surrounds a string with quotes (single or double), if necessary due to blanks or other characters (new line, tab) in the string.
However, you can also 'force' the quoting.
See also:
adams.data.conversion.UnQuote
adams.data.conversion.BackQuote
adams.data.conversion.UnBackQuote
|
class |
RectangleCenter |
Determines the center of the rectangle and returns them as a java.awt.geom.Point2D.
|
class |
RectangleToString |
Turns a rectangle into a string of the format 'x y w h' or 'x0 y0 x1 y1'.
|
class |
RemoteCommandToString |
Turns a remote command into a string.
|
class |
RenameSpreadSheet |
Renames the spreadsheet.
|
class |
RenameSpreadSheetColumn |
Renames a single column in a spreadsheet.
|
class |
ReplaceFileExtension |
Interprets the string as file name and replaces its extension with the provided one.
|
class |
ReportArrayToMap |
Converts the incoming report array into a map using the sample ID as key.
|
class |
ReportToJson |
Turns a report into a JSON string.
Output format:
{
"Sample ID": "someid",
"GLV2": 1.123,
"valid": true
}
|
class |
ReportToMap |
Turns a Report object into a java.util.Map.
|
class |
ReportToSpreadSheet |
Turns a report into a spreadsheet.
|
class |
ReportToString |
Generates a string representation from the report using the specified report writer.
|
class |
ReportToWekaInstance |
Converts a report into a weka.core.Instance objects.
|
class |
RightPad |
Right pads a string up to a maximum number of characters.
|
class |
RomanToInt |
Converts a roman numeral string (eg 'MCM') into an integer (eg 1900).
|
class |
Round |
Rounds double values and turns them into integers..
|
class |
RowArrayToSpreadSheet |
Converts a an array of spreadsheet rows into a single spreadsheet.
|
class |
Scripted |
A conversion that uses any scripting handler for processing the data with a script located in the specified file.
|
class |
SideBySideDiffToString |
Turns a side-by-side diff object into a string.
|
class |
SimpleAsciiToUnicode |
Turns an ASCII string into a Unicode one, by replacing hexadecimal unicode character representations like '\xf3' with their unicode characters.
For instance, "D'\xe1'cil" becomes "Dácil".
|
class |
SimpleUnicodeToAscii |
Turns a Unicode string into an ASCII one, by replacing the Unicode characters with something like '\xf3' (including the single quotes).
For instance, "Dácil" becomes "D'\xe1'cil".
|
class |
SplitOptions |
Assumes the string to be an option string and splits it into its individual elements.
|
class |
SpreadSheetAddFormulaColumn |
Adds a column with a user-supploed formula for the specified rows.
|
class |
SpreadSheetAddFormulaRow |
Adds a row with a user-supplied formula for the specified columns.
|
class |
SpreadSheetAddRowID |
Adds an ID column to the spreadsheet, using the row index as value.
|
class |
SpreadSheetAddSumColumn |
Adds a column with 'sum' formulas for the specified rows.
|
class |
SpreadSheetAddSumRow |
Adds a row with 'sum' formulas for the specified columns.
|
class |
SpreadSheetAnyColumnToString |
Converts the specified spreadsheet column from any type to string.
|
class |
SpreadSheetBinarize |
Binarizes the non-numeric columns in the selected column range by creating a new column for each of the labels.
|
class |
SpreadSheetCellFinderToPositions |
Deprecated.
|
class |
SpreadSheetCellLocationToCoordinates |
Turns the cell location obtained from a cell finder into an integer array with the 1-based coordinates (row/column).
|
class |
SpreadSheetCellLocationToPosition |
Turns the cell location obtained from a cell finder into a position (like 'A2').
|
class |
SpreadSheetColumnFinderToRange |
Turns the columns that the specified column finder locates into a 1-based range string.
|
class |
SpreadSheetColumnsToReport |
Turns spreadsheet columns into reports.
|
class |
SpreadSheetDoubleColumnToLong |
Converts the specified spreadsheet column from double to long.
Simply uses the Double's 'longValue()' method.
|
class |
SpreadSheetDoubleColumnToString |
Converts the specified spreadsheet double column to string.
|
class |
SpreadSheetEscapeColumnName |
Escapes a column name (if necessary) to be used in a column range expression.
|
class |
SpreadSheetHeaderToMat5Array |
Converts the spreadsheet header with the column names into a Matlab array.
|
class |
SpreadSheetInsertCellLocation |
Replaces the specified placeholder with a cell location generated from the user-supplied row and column.
|
class |
SpreadSheetInsertColumnPosition |
Replaces the specified placeholder with a column string (e.g., BG) generated from the user-supplied column.
|
class |
SpreadSheetJoinColumns |
Merges two or more columns in a spreadsheet into a single column.
Columns can be out-of-order.
|
class |
SpreadSheetLongColumnToDouble |
Converts the specified spreadsheet column from long to double.
Simply uses the cell's 'toDouble()' method.
|
class |
SpreadSheetMaterializeFormulas |
Finds cells with formulas in a spreadsheet and replaces the cell content with the value calculated by the formula.
|
class |
SpreadSheetObjectColumnToString |
Converts the specified spreadsheet column from the object type to string.
|
class |
SpreadSheetRowFinderToRange |
Turns the rows that the specified row finder locates into a 1-based range string.
|
class |
SpreadSheetRowsToReport |
Turns spreadsheet rows into report.
|
class |
SpreadSheetSplitColumn |
Splits the string representation of the cells of a column into multiple columns using a regular expression.
|
class |
SpreadSheetStringColumnToBoolean |
Converts the specified spreadsheet column from string to boolean.
|
class |
SpreadSheetStringColumnToDate |
Converts the specified spreadsheet column from string to date, according to the provided format.
For more information on the format, see Javadoc of 'java.text.SimpleDateFormat' class:
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
Valid options are:
|
class |
SpreadSheetStringColumnToDateTime |
Converts the specified spreadsheet column from string to date/time, according to the provided format.
For more information on the format, see Javadoc of 'java.text.SimpleDateFormat' class:
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
Valid options are:
|
class |
SpreadSheetStringColumnToDateTimeMsec |
Converts the specified spreadsheet column from string to date/time/msec, according to the provided format.
For more information on the format, see Javadoc of 'java.text.SimpleDateFormat' class:
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
Valid options are:
|
class |
SpreadSheetStringColumnToDouble |
Converts the specified spreadsheet column from string to double, according to the provided format.
For more information on the format, see Javadoc of 'java.text.DecimalFormat' class:
http://docs.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html
Valid options are:
|
class |
SpreadSheetStringColumnToLong |
Converts the specified spreadsheet column from string to long, according to the provided format.
For more information on the format, see Javadoc of 'java.text.DecimalFormat' class:
http://docs.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html
Valid options are:
|
class |
SpreadSheetStringColumnToObject |
Converts the specified spreadsheet column from string to an object, using the specified handler.
|
class |
SpreadSheetStringColumnToTime |
Converts the specified spreadsheet column from string to time, according to the provided format.
For more information on the format, see Javadoc of 'java.text.SimpleTimeFormat' class:
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
|
class |
SpreadSheetStringColumnToTimeMsec |
Converts the specified spreadsheet column from string to time/msec, according to the provided format.
For more information on the format, see Javadoc of 'java.text.SimpleTimeFormat' class:
http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
|
class |
SpreadSheetSupporterToSpreadSheet |
class |
SpreadSheetToCreateTableStatement |
Turns a spreadsheet into a SQL 'CREATE TABLE' statement.
Requires two columns: column names, SQL column types.
An optional 3rd column can be used to indicate whether a column is to be used as an index (boolean).
|
class |
SpreadSheetToDataset |
Turns a spreadsheet object into a dataset object.
|
class |
SpreadSheetToDoubleMatrix |
Turns a spreadsheet into a double matrix, using only the numeric columns.
|
class |
SpreadSheetToJson |
Turns a spreadsheet into a JSON array.
|
class |
SpreadSheetToMap |
Turns two columns (key and value) of a spreadsheet into a map object of the specified type.
|
class |
SpreadSheetToMat5Array |
Converts a spreadsheet to a Matlab array (either matrix or a cell array)
|
class |
SpreadSheetToNumeric |
Turns a spreadsheet into a purely numeric one.
Missing cells can get replaced with a specified value or skipped.
Booleans gets turned into 0/1 (false/true).
Date/time types get turned into numeric ones by using their Java epoch.
Strings (per column) get a 0-based index assigned in the order they appear.
Any other cell type get flagged as missing or, if provided, set to the unhandled value.
|
class |
SpreadSheetToRowArray |
Converts a spreadsheet into an array of spreadsheet rows.
|
class |
SpreadSheetToString |
Turns a spreadsheet into a string using the specified spreadsheet writer.
|
class |
SpreadSheetToStringMatrix |
Turns a spreadsheet into a string matrix.
|
class |
SpreadSheetToTimeseries |
Turns a SpreadSheet object into a Timeseries.
|
class |
SpreadSheetToWekaInstances |
Generates a weka.core.Instances object from a SpreadSheet object.
If there are too many unique lables for a NOMINAL attribute, it gets turned into a STRING attribute (see 'maxLabels' property).
|
class |
SpreadSheetUnescapeColumnName |
Unescapes a column name (if necessary) that was to be used in a column range expression.
|
class |
SpreadSheetUniqueColumnNames |
Ensures that column names are unique.
|
class |
SpreadSheetUseRowAsHeader |
Uses the values of the specified data row for the header.
|
class |
StringArrayToURLParameters |
Turns a string array into parameters of a URL, e.g., '?k1=v1&k2=v2' (uses java.net.URLEncoder).
|
class |
StringExpression |
Evaluates a string expression.
Variables are supported as well, e.g.: pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
The following grammar is used for the expressions:
expr_list ::= '=' expr_list expr_part | expr_part ;
expr_part ::= expr ;
expr ::= ( expr )
# data types
| number
| string
| boolean
| date
# constants
| true
| false
| pi
| e
| now()
| today()
# negating numeric value
| -expr
# comparisons
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr (or: expr <> expr)
# boolean operations
| ! expr (or: not expr)
| expr & expr (or: expr and expr)
| expr | expr (or: expr or expr)
| if[else] ( expr , expr (if true) , expr (if false) )
| ifmissing ( variable , expr (default value if variable is missing) )
| has ( variable )
| isNaN ( expr )
# arithmetics
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr ^ expr (power of)
| expr % expr (modulo)
;
# numeric functions
| abs ( expr )
| sqrt ( expr )
| cbrt ( expr )
| log ( expr )
| log10 ( expr )
| exp ( expr )
| sin ( expr )
| sinh ( expr )
| cos ( expr )
| cosh ( expr )
| tan ( expr )
| tanh ( expr )
| atan ( expr )
| atan2 ( exprY , exprX )
| hypot ( exprX , exprY )
| signum ( expr )
| rint ( expr )
| floor ( expr )
| pow[er] ( expr , expr )
| ceil ( expr )
| min ( expr1 , expr2 )
| max ( expr1 , expr2 )
| year ( expr )
| month ( expr )
| day ( expr )
| hour ( expr )
| minute ( expr )
| second ( expr )
| weekday ( expr )
| weeknum ( expr )
# string functions
| substr ( expr , start [, end] )
| left ( expr , len )
| mid ( expr , start , len )
| right ( expr , len )
| rept ( expr , count )
| concatenate ( expr1 , expr2 [, expr3-5] )
| lower[case] ( expr )
| upper[case] ( expr )
| trim ( expr )
| matches ( expr , regexp )
| trim ( expr )
| len[gth] ( str )
| find ( search , expr [, pos] ) (find 'search' in 'expr', return 1-based position)
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
| str ( expr )
| str ( expr , numdecimals )
| str ( expr , decimalformat )
| ext ( file_str ) (extracts extension from file)
| replaceext ( file_str, ext_str ) (replaces the extension of the file with the new one)
# array functions
| len[gth] ( array )
| get ( array , index )
;
Notes:
- Variables are either all upper case letters (e.g., "ABC") or any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]").
- 'start' and 'end' for function 'substr' are indices that start at 1.
- 'index' for function 'get' starts at 1.
- Index 'end' for function 'substr' is excluded (like Java's 'String.substring(int,int)' method)
- Line comments start with '#'
- Semi-colons (';') or commas (',') can be used as separator in the formulas,
e.g., 'pow(2,2)' is equivalent to 'pow(2;2)'
- dates have to be of format 'yyyy-MM-dd' or 'yyyy-MM-dd HH:mm:ss'
- times have to be of format 'HH:mm:ss' or 'yyyy-MM-dd HH:mm:ss'
- the characters in square brackets in function names are optional:
e.g.
|
class |
StringMatrixToSpreadSheet |
Converts a string matrix into a SpreadSheet object.
|
class |
StringToBase64 |
Encodes a string as base64.
|
class |
StringToBoolean |
Turns a String into a Boolean, ie any string regardless of case that matches 'true' returns true otherwise false.
|
class |
StringToByte |
Turns a String into a Byte.
|
class |
StringToByteArray |
Converts a string into a byte array.
|
class |
StringToCharArray |
Converts a string into a char array.
|
class |
StringToCustomStringRepresentation |
Turns a String into an object of a class with an associated object editor that has implements adams.gui.goe.CustomStringRepresentationHandler.
|
class |
StringToDateTimeType |
Parses a string and turns it into an instance of the specified date/time type.
|
class |
StringToDouble |
Turns a String into a Double.
|
class |
StringToField |
Turns a String into a Field object.
|
class |
StringToFile |
Turns a String into a File object.
|
class |
StringToHtmlCharacterEntities |
Turns a string into valid HTML, replacing characters like '<', '>' etc with their character entities.
|
class |
StringToInt |
Turns a String into an Integer.
|
class |
StringToJson |
Turns a string into a JSON object or array.
|
class |
StringToLong |
Turns a String into a Long.
|
class |
StringToMat5Array |
Converts a string like '[1, 2; 3, 4]' into a Matlab matrix.
|
class |
StringToPoint2D |
class |
StringToProperties |
Turns a String into a Properties object.
|
class |
StringToQuadrilateralLocation |
Converts a string into a adams.core.base.QuadrilateralLocation object.
|
class |
StringToRectangle |
Converts a string into a adams.core.base.BaseRectangle object, using 'x y w h' or 'x0 y0 x1 y1'.
|
class |
StringToRemoteCommand |
Parses the String and turns it into a RemoteCommand object.
|
class |
StringToReport |
Reads the report from the incoming string using the specified report reader.
|
class |
StringToSpreadSheet |
Turns a string representation of a spreadsheet into a SpreadSheet object, using the specified reader setup.
|
class |
StringToString |
Dummy converter, does not perform any conversion.
|
class |
StringToTextContainer |
Wraps the String in a adams.data.text.TextContainer, which allows the storage of meta-data using the attached report and/or notes.
|
class |
StringToURL |
Turns a String into a URL object.
|
class |
StringToValidFileName |
Turns any string into a valid file name.
|
class |
StringToValidStorageName |
Turns any string into a valid storage name.
|
class |
StringToValidVariableName |
Turns any string into a valid variable name.
|
class |
SwapObjects |
Swaps all occurrences of one object with another one.
|
class |
SwapPLS |
Swaps one PLS filter for another.
|
class |
TextContainerToString |
Obtains the string content of a adams.data.text.TextContainer and forwards that.
|
class |
TextRenderer |
Turns incoming objects into their textual representation, either automatic detection based on their data type or by explicitly specifying a renderer.
See also:
adams.flow.transformer.TextRenderer
|
class |
TimeseriesToArray |
Turns the values of a timeseries into a Double array.
|
class |
TimeseriesToSpreadSheet |
Turns a timeseries into a SpreadSheet object.
|
class |
TimeseriesToWekaInstances |
Turns a timeseries into a WEKA Instances object.
|
class |
TimeToString |
Turns a number representing milli-seconds since 1970 (Java date) into a String.
For more information on formatting the date, see:
Javadoc.
|
class |
TransposeSpreadSheet |
Transposes a spreadsheet, i.e., swaps columns with rows.
|
class |
UnBackQuote |
Reverses backquoting, i.e., removes the escaping with backslash, restoring characters like quotes (single and double), new lines, tabs.
See also:
adams.data.conversion.Quote
adams.data.conversion.UnQuote
adams.data.conversion.BackQuote
Valid options are:
|
class |
UnknownToUnknown |
Dummy converter, does not perform any conversion.
|
class |
UnQuote |
Removes the quotes (single or double) surrounding a string.
|
class |
UpperCase |
Turns a String into an uppercase String.
|
class |
URLDecode |
Decodes the URL encoded string back to a regular string (uses java.net.URLDecoder).
|
class |
URLEncode |
Encodes the string to make it usable within a URL (uses java.net.URLEncoder).
|
class |
URLParametersToStringArray |
Turns URL parameters like '...?k1=v1&k2=v2' back into a string array (uses java.net.URLDecoder).
|
class |
URLToString |
Turns a URL object into a String.
|
class |
UseForwardSlashes |
Converts backslashes in file names to forward slashes.
Does not touch the '\\' prefix of UNC paths.
|
class |
WekaCapabilitiesToInstances |
Turns a weka.core.Capabilities object into a Weka dataset filled with random data that is compatible with these capabilities.
|
class |
WekaCapabilitiesToSpreadSheet |
Turns a weka.core.Capabilities object into a spreadsheet, listing all individual capabilities and whether they are supported.
|
class |
WekaCommandToCode |
Applies a commandline converter to the incoming commandline to generate code.
Uses the following project:
https://github.com/fracpete/command-to-code-weka-package
|
class |
WekaDrawableToString |
Extracts the string representation of a weka.core.Drawable object, e.g., the tree representation of a decision tree or the graph of a BayesNet.
|
class |
WekaEvaluationToCostCurve |
Generates cost-curve data from a WEKA Evaluation object.
|
class |
WekaEvaluationToMarginCurve |
Generates margin-curve data from a WEKA Evaluation object.
|
class |
WekaEvaluationToThresholdCurve |
Generates threshold-curve data from a WEKA Evaluation object.
|
class |
WekaForecastContainerToArray |
Turns a series of predictions of a adams.flow.container.WekaForecastContainer container into a Double array.
|
class |
WekaForecastContainerToTimeseries |
Turns a series of predictions of a adams.flow.container.WekaForecastContainer container into a adams.data.timeseries.Timeseries.
|
class |
WekaInstancesToSpreadSheet |
Generates a spreadsheet from a weka.core.Instances object.
|
class |
WekaInstancesToTimeseries |
Turns a WEKA Instances object into a Timeseries.
|
class |
WekaInstanceToAdamsInstance |
Converts weka.core.Instance objects into adams.data.instance.Instance ones.
|
class |
WekaInstanceToMap |
Turns the Weka Instance into a Map, with the attribute names the keys.
|
class |
WekaPackageToMap |
Turns the Weka Package into a Map.
|
class |
WekaPredictionContainerToSpreadSheet |
Turns a WEKA prediction container into a SpreadSheet object.
|
class |
XMLToDOM |
Turns an XML string into a org.w3c.dom.Document DOM object.
|
class |
YamlStringToList |
Converts the YAML string into a java.util.Map object.
|
class |
YamlStringToMap |
Converts the YAML string into a java.util.Map object.
|