AbstractArrayProvider |
Ancestor for transformer actors that can output items one by one or as a single
array.
|
AbstractCallableWekaClassifierEvaluator |
Ancestor for classifier evaluators that make use of a callable classifier.
|
AbstractCallableWekaClustererEvaluator |
Ancestor for clusterer evaluators that make use of a callable clusterer.
|
AbstractContainerValueExtractor |
Ancestor for transformers that extract values from a container.
|
AbstractDataContainerAdd<T extends DataContainer> |
Ancestor for transformers that superimpose the incoming data container on
one available from storage (or if not available, put the current one in
storage) and forward the combined data container.
|
AbstractDataContainerAppend<T extends DataContainer> |
Ancestor for transformers that append the incoming data container to
one available from storage (or if not available, put the current one in
storage) and forward the combined data container.
|
AbstractDataContainerDbReader<T extends DataContainer> |
Ancestor for transformers that read containers from the database.
|
AbstractDataContainerDbWriter<T extends DataContainer & DatabaseIDHandler> |
Abstract ancestor for actors that import data containers into the database.
|
AbstractDataContainerFileImport<T extends DataContainer> |
Abstract ancestor for actors that import data containers.
|
AbstractDataContainerFileReader<T extends DataContainer> |
Abstract ancestor for actors that read data containers from disk.
|
AbstractDataContainerFileWriter<T extends DataContainer> |
Abstract ancestor for transformer actors that write data containers
to disk.
|
AbstractDataContainerTransformer |
Ancestor for actors that transform data containers.
|
AbstractDataProcessor |
Abstract ancestor for classes that process data on disk.
|
AbstractDbArrayProvider |
Ancestor for array providers that use the database.
|
AbstractDbDataProcessor |
Abstract ancestor for data processors that use a database.
|
AbstractDbTransformer |
Abstract ancestor for transformers that query a database.
|
AbstractDeleteDataContainer<T extends DataContainer> |
Ancestor for transformers that delete containers from the database.
|
AbstractDeleteDbReportValue<T extends Report> |
Ancestor for transformers that delete values from a report in the database
whenever a token passes through.
|
AbstractDeleteReportValue |
Ancestor for transformers that delete values from a report.
|
AbstractDeleteReportValueByExpression |
Ancestor for transformers that delete field/value from a report if the
boolean expression evaluates to true.
|
AbstractFilter |
Ancestor for domain-specific filter transformers.
|
AbstractGetReportValue |
Ancestor for transformers that retrieve a value from a report.
|
AbstractInPlaceSpreadSheetTransformer |
Ancestor for spreadsheet transformers that allow the processing to
happen in-place, rather than on a copy of the data.
|
AbstractInstanceGenerator<T extends DataContainer> |
Ancestor for transformers that turn data containers into WEKA Instance
objects.
|
AbstractInteractiveTransformer |
Ancestor for transformers that interact with the user.
|
AbstractInteractiveTransformerDialog |
Ancestor for graphical actors that are interactive.
|
AbstractMultiCompress |
Abstract ancestor for compression algorithms that allow the compression
of multiple files (incl directory structure).
|
AbstractMultiDecompress |
Ancestor for compression schemes that manage archives with multiple files
(incl directory structure) like zip archives.
|
AbstractProcessWekaInstanceWithModel<T> |
Ancestor for transformers that user models for processing Instance objects,
e.g., classifiers making predictions.
|
AbstractReportDbReader<T extends Report,I> |
Abstract ancestor for actors that load reports from the database.
|
AbstractReportDbUpdater |
|
AbstractReportDbWriter<T extends Report,I> |
Abstract ancestor for actors that write reports to the database.
|
AbstractReportDbWriterByDBID<T extends Report> |
Abstract ancestor for actors that write reports to the database.
|
AbstractReportDbWriterByID<T extends Report> |
Abstract ancestor for actors that write reports to the database.
|
AbstractReportFileImport<T extends Report> |
Abstract ancestor for report import actors.
|
AbstractReportFileReader<T extends Report> |
Abstract ancestor for report file reader transformers.
|
AbstractReportFileWriter<T extends Report> |
Abstract ancestor for actors that write reports to disk.
|
AbstractReportValueDbWriter<T extends Report> |
Abstract ancestor for actors that write report values to the database.
|
AbstractScript |
Ancestor for transformer script actors.
|
AbstractSetReportValue |
Ancestor for transformers that update the value of field in a report.
|
AbstractSingleCompress |
Ancestor for compression algorithms that only take a single file, like
gzip.
|
AbstractSingleDecompress |
Ancestor for decompression algorithms that only work with archives
that consists of a single file, like gunzip.
|
AbstractSpreadSheetTransformer |
Ancestor for transformers that work on spreadsheets and also output
spreadsheets again.
|
AbstractStringOperation |
Ancestor for transformers that perform operations on strings.
|
AbstractTransformer |
Ancestor for all flow items that process an input token and generate an
output token.
|
AbstractTransformerWithPropertiesUpdating |
Ancestor for transformers that allow changing the object's properties
using variables.
|
AbstractWekaClassifierEvaluator |
Ancestor for transformers that evaluate classifiers.
|
AbstractWekaModelReader |
Ancestor for actors that deserialize models.
|
AbstractWekaPredictionsTransformer |
Ancestor for transformers that convert the predictions stored in an
Evaluation object into a different format.
|
AccessDatabaseInfo |
Outputs information on a MS Access database.
|
AddDOMAttribute |
Adds a new attribute to the incoming org.w3c.dom.Node and forwards the new updated node.
|
AddDOMNode |
Adds a new node below the incoming org.w3c.dom.Node and forwards the new node.
In case of an incoming org.w3c.dom.Document, the node gets added below the root node.
|
AddNote |
Adds a note to the notes handler passing through.
Pre-defined note types:
- ERROR:
- WARNING:
- PROCESS INFORMATION
Input/output:
- accepts:
adams.data.NotesHandler
- generates:
adams.data.NotesHandler
|
AppendName |
Appends the suffix to the file/directory being passed through.
By default, the appropriate separator (forward slash or backslash) gets inserted between the file/directory and suffix.
|
ArrayCombinations |
Turns an array of any type into a sequence of array combinations of given size.
|
ArrayHistogramRanges |
Outputs the ranges generated by adams.data.statistics.ArrayHistogram using the incoming double array or matrix.
In case of an array, the data-type and location are ignored.
|
ArrayLength |
Determines the length of an array.
|
ArrayReverse |
Reverses the order of the elements in the array.
|
ArrayStatistic |
Generates statistics from a double array or matrix.
|
ArraySubset |
Generates a subset of the array, using the specified array elements.
|
ArraySubsetGeneration |
ArrayToChunks |
Splits an array into chunks of a specified size.
|
ArrayToCollection |
Turns an array into a collection.
|
ArrayToSequence |
Turns an array of any type into a sequence of tokens.
|
ArrayToVariables |
AutogeneratedTransformer |
Encapsulates a sequence of auto-generated actors.
|
BaseName |
Extracts the name of the file/directory passing through, i.e., any preceding directory gets stripped.
|
BinaryFileReader |
Reads a binary file and forwards the content byte by byte or as byte array.
|
BoofCVDetectLines |
Detects lines in images (Hough line detector based on polar parametrization).
|
BoofCVDetectLineSegments |
Detects line segments in images (line RANSAC).
|
BoofCVFeatureGenerator |
Applies a BoofCV feature generator to the incoming image and outputs the generated features.
|
BoofCVMultiImageOperation |
Applies a BoofCV multi-image operation to the incoming image(s) and outputs the generated image(s).
|
BoofCVTransformer |
Applies a BoofCV transformation to the incoming image and outputs the generated image(s).
|
BufferedImageFeatureGenerator |
Applies an JAI flattener to the incoming image and outputs the generated features.
|
BufferedImageMultiImageOperation |
Applies a BufferedImage multi-image operation to the incoming image(s) and outputs the generated image(s).
|
BufferedImageTransformer |
Applies a BufferedImage transformation to the incoming image and outputs the generated image(s).
|
Bzip2 |
Creates a bzip2 archive from a single file.
|
CallableTransformer |
Feeds tokens into a callable transformer and broadcasts the generated output tokens.
|
ChangeImageObjectPrefix |
Uses the specified object finder to locate objects and then applies the object filter to the located objects.
|
ChangeReportFieldPrefixes |
Replaces the specified old prefixes with the new one.
|
ClassSelector |
Sets (or unsets) the class index/indices.
|
CollectionAppend |
Appends the elements of the incoming collection to the one in storage.
If there is none in storage yet, a copy of the incoming collection will simply get stored in storage.
The combined collection is then forwarded.
|
CollectionInsert |
Inserts an object in the collection using the specified position.
The object can be retrieved from a callable actor or from storage.
If the collection does not implement the java.util.List interface and the insertion is not at the end, the insertion will fail.
See also:
adams.flow.transformer.StorageCollectionInsert
Input/output:
- accepts:
java.util.Collection
- generates:
java.util.Collection
|
CollectionSize |
CollectionSubset |
Generates a subset of the collection, using the specified elements.
|
CollectionToArray |
Turns a collection of any type into an array.
|
CollectionToSequence |
Turns a collection of any type into a sequence of tokens.
|
ColorProvider |
Outputs a color for each token passing through.
If the color provider implements adams.gui.visualization.core.ColorProviderWithNameSupport then the color associated with the incoming string token is forwarded.
The color provider can be reset using the specified variable.
|
CompareObjectLocations |
Visualizes object locations (annotations and predicted) for the incoming image side-by-side.
Only forwards the image container when accepted.
|
CompareObjects |
Compares two objects using the specified compare algorithm and forwards the output of the comparison.
|
CompareObjectTypes |
Compares the object types between objects from the two reports.
The first report is considered 'ground truth'.
|
ConfirmationDialog |
Pops up a confirmation dialog, prompting the user to select 'yes', 'no' or 'cancel'.
If no custom tokens are used, the current token is only forwarded when the user selects 'yes'.
|
ConfusionMatrix |
Generates a confusion matrix from the specified actual and predicted columns containing class labels.
Can take a probability column (of prediction) into account for generating weighted counts.
|
ContainerToStorage |
Extracts the specified values from the container passing through and makes them available as storage items.
|
ContainerToVariables |
Extracts the specified values from the container passing through and makes them available as variables.
|
ControlChart |
Applies a control chart algorithm to the data.
|
Convert |
Converts data from one format into another.
|
ConvertFeatures |
Turns the raw features generated by a feature converter (stored in a adams.flow.container.FeatureConverterContainer) into a specific format using the user-defined feature converter.
If an array of containers is received, the get merged first, i.e., placed side-by-side.
|
Copy |
Creates copies of the tokens being passed through.
|
CopyCallableTransformer |
Feeds tokens into the copy of a callable transformer and broadcasts the generated output tokens.
|
CopyFile |
Copies the file received on its input port to the target directory if it matches the provided regular expression.
In case of a directory, the directory gets copied recursively.
If required, you can also provide a new filename (just the name, no path).
The generated target file/directory gets forwarded in the flow.
|
CopyToClipboard |
Copies the data in this token to the system's clipboard using the specified clipboard manager.
|
CounterAdd |
Passes a value through the specified counter.
|
CounterInit |
Creates a counter from a column in a spreadsheet or an array.
|
CountObjectsInPolygon |
Counts the objects in the report passing through that fall into the defined region.
Partial hits can be counted as well, using their percentage in overlap as count.
|
CountObjectsInRegion |
Counts the objects in the report passing through that fall into the defined region.
Partial hits can be counted as well, using their percentage in overlap as count.
|
CreateEmail |
Actor for creating emails to be sent.
|
DatasetFilter |
Applies the batch filter to the dataset.
|
DatasetRowFilter |
Applies the stream filter to the rows.
|
DateTimeTypeDifference |
Computes the difference between the two date/time types of the incoming array (of length 2) by subtracting the second element from the first one.
|
DecodeBarcode |
Decodes the data in a barcode using the specified decoder.
|
DeleteFile |
Deletes the file/directory (or files/directories) received on its input port if it matches the provided regular expression.
In case of directories, deletion is performed recursively (if a directory matches, then the content gets deleted regardless whether it matches the regular expression or not).
|
DeleteJsonValue |
DeleteMapValue |
Deletes the specified key/value pair from the map passing through.
|
DeleteOverlappingImageObjects |
Cleans up overlapping objects, e.g., multiple predicted bounding boxes per object.
|
DeletePropertyValue |
Deletes the specified property from the Properties object passing through.
|
DeleteReportValue |
Deletes values from a report.
|
DeleteReportValueByExpression |
DeleteStorageValue |
Removes the specified value (or the ones that match the regular expression) from temporary storage whenever a token passes through.
By supplying a cache name, the value can be removed from a LRU cache instead of the regular storage.
|
DeleteVariable |
Removes a variable by name or the variables that match the regular expression.
|
Deserialize |
Deserializes a previously serialized Java object from a file.
|
DetermineOverlappingAreas |
DetermineOverlappingObjects |
Computes the overlap of objects with the specified report from storage (or itself) using the specified algorithm.
|
Diff |
Compares two files or two string arrays and generates a diff representation.
In case of BRIEF, the output is whether the two files/arrays are different.
|
DirName |
Extracts the directory part of the file/directory passing through, i.e., any trailing name part gets stripped.
See also:
adams.flow.transformer.AppendName
adams.flow.transformer.PrependDir
adams.flow.transformer.RelativeDir
adams.flow.transformer.BaseName
adams.flow.transformer.FileExtension
Input/output:
- accepts:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
- generates:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
|
DownloadContent |
Downloads the raw, textual content from a URL and forwards it.Also handles basic authentication when using URLs like this:
http://user:pass@domain.com/url
Input/output:
- accepts:
java.lang.String
adams.core.base.BaseURL
java.net.URL
- generates:
java.lang.String
|
Draw |
Performs a draw operation on an image.
|
EmailFileReader |
Reads email(s) from a file.
|
EncodeBarcode |
|
ExecuteActor |
Executes the actor passing through and forwards it once finished.
If the actor is an instance of adams.flow.execution.FlowExecutionListeningSupporter and flow execution listening enabled, then the specified flow execution listener gets attached.
|
ExecuteJobs |
Executes the incoming jobs.
|
ExecuteRemoteCommand |
Executes the incoming commands.
|
ExifTagOperation |
Performs the specified EXIF operation on the incoming data.
|
ExpandStorage |
Expands all the storage items (using their string representation) and variables in the string(s) passing through.
A string can consist of arbitrary strings and the following special placeholders:
- variables: @{...}
- storage placeholders: %{...}
Input/output:
- accepts:
java.lang.String
java.lang.String[]
- generates:
java.lang.String
java.lang.String[]
|
ExpandVariables |
Expands all the variables in the string(s) passing through.A string can consist of arbitrary strings and the following special placeholder for variables:
@{...}
Input/output:
- accepts:
java.lang.String
java.lang.String[]
- generates:
java.lang.String
java.lang.String[]
|
ExternalTransformer |
Transformer that executes an external transformer actor stored on disk.
|
FileChanged |
Checks whether the input file has changed using the specified monitor.
Must be initialized once with the same file.
|
FileExtension |
Extracts the file extension from the file (the part after the '.').
If no dot is in the file name, then an empty string gets forwarded.
See also:
adams.flow.transformer.AppendName
adams.flow.transformer.PrependDir
adams.flow.transformer.RelativeDir
adams.flow.transformer.DirName
adams.flow.transformer.BaseName
Input/output:
- accepts:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
- generates:
java.lang.String
java.lang.String[]
|
FileInfo |
Outputs information for a path (file/directory).
|
FilenameGenerator |
Passes the incoming token through the generator to generate and forward a filename.
See also:
adams.flow.source.FilenameGenerator
Input/output:
- accepts:
adams.flow.core.Unknown
- generates:
java.lang.String
|
FileTailer |
Monitors a text file for data being appended, e.g., log files.
|
FileTailer.Listener |
|
FilterMap |
Applies the specified filter to the map object passing through.
|
FindInFile |
Searches the incoming (text) file for the specified search string, output the boolean search result.
|
FlowFileReader |
Reads the flow file and outputs the actor(s).
A custom reader can be specified in case of reading from files, but must be specified when reading from java.io.Reader or java.io.InputStream objects.
|
FTPDelete |
Deletes a remote file and forwards the file name.
|
FTPDisconnect |
Closes the currently open FTP session.
Simply passes through any tokens.
|
FTPGet |
Downloads a remote file and forwards the local file name.
|
FTPNoOp |
Sends a NOOP command to the FTP server whenever a token passes through.
|
FTPSend |
Uploads a file to a remote directory.
The file name of a successful upload gets forwarded.
|
GenerateFileBasedDataset |
Applies the specified generator to the incoming dataset container.
See also:
adams.flow.control.SetContainerValue
adams.flow.transformer.PrepareFileBasedDataset
Input/output:
- accepts:
adams.flow.container.FileBasedDatasetContainer
- generates:
java.lang.String
Container information:
- adams.flow.container.FileBasedDatasetContainer: Train, Test, Validation, Negative
|
GetArrayElement |
Picks an element from an array and forwards only this element.
|
GetDatabaseID |
Returns the database ID of the database ID handler passing through.
|
GetID |
Returns the ID of the ID handler passing through.
|
GetImageObjectIndices |
Uses the specified object finder to locate objects and forwards the indices.
|
GetImageObjectMetaData |
Retrieves the meta-data of the incoming adams.flow.transformer.locateobjects.LocatedObject object.
|
GetImageObjects |
Uses the specified object finder to locate objects and forwards the objects.
|
GetJsonKeys |
Outputs all the keys of the JSON Object passing through.
|
GetJsonValue |
Obtains the value associated with the specified key from the JSON object passing through.
Null values are only forwarded if requested.
|
GetListElement |
Picks an element from a list and forwards only this element.
|
GetMapKeys |
Forwards all the sorted (string) keys of the map.
|
GetMapValue |
Obtains the value associated with the specified key from Map object received as input and forwards it.
|
GetNotes |
Returns the notes of the notes handler passing through.
|
GetObjectProperty |
Retrieves a value from an object's property using a bean property path.
A bean property consists usually of a get and set method, e.g.:
- setDebug(boolean)
- boolean getDebug()
The property name for this pair is:
debug
Input/output:
- accepts:
java.lang.Object
- generates:
adams.flow.core.Unknown
|
GetProperties |
Outputs the names of all Java Bean properties of the incoming object.
|
GetProperty |
Obtains the current property value of the object passing through.
|
GetPropertyNames |
Outputs all the keys of the properties object passing through.
|
GetPropertyValue |
Obtains the value(s) associated with the keys that match the specified regular expression from the Properties object passing through.
Null values are only forwarded if requested.
|
GetRemoteCommandPayload |
Returns the underlying payload objects (if any) from the incoming remote command.
Depending on request/response flag, it outputs the corresponding payload objects.
Does not forward anything if the array is empty.
|
GetReport |
Returns the report of the report handler passing through.
|
GetReportValue |
Retrieves a value from a report.
|
GetStorageValue |
Retrieves a value from internal storage using the incoming string token as name.
|
Groovy |
A transformer that uses a Groovy script for processing the token(s).
|
GroupByRegExp |
Groups the incoming strings into sub-groups.
|
GUNZIP |
Decompresses an archive that was compressed with gzip.
|
GZIP |
Creates a GZIP archive from a single file.
|
HashSetAdd |
Adds a value to the specified hashset.
|
HashSetInit |
Creates a hashset from a column in a spreadsheet or an array.
|
HashSetRemove |
Removes a value from the specified hashset.
|
HexReplace |
Allows to find and replace characters in hex notation.
|
HttpPostFile |
Uploads the incoming file via HTTP POST to the specified URL as 'multipart/form-data'.
Additional form fields can be supplied as well.
|
HttpRequest |
Sends the incoming text/bytes payload to the specified URL (with optional HTTP headers) and forwards the retrieved HTML as text.
|
IDGenerator |
Generates IDs from the objects it receives on its input and forwards the generated IDs.
|
ImageAnnotator |
Allows the user to label objects located on the image and pass on this enriched meta-data.
|
ImageAnnotator.AnnotatorPanel |
Panel for annotating an image.
|
ImageFileReader |
Reads any file format that the specified image reader supports.
If meta-data is associated with the image, then this can be loaded as well.
|
ImageInfo |
Obtains information from the picture passing through.
|
ImageLabeler |
Allows the user to label images, setting a report field in the meta-data.
Any logged interaction will get added as JSON under interaction-log in the report.
|
ImageMetaData |
Returns any EXIF or IPTC and basic image information as a spreadsheet.
|
ImageObjectAnnotator |
User interface for annotating objects in images.
|
ImageObjectFilter |
Uses the specified object finder to locate objects and then applies the object filter to the located objects.
|
ImageObjectIndexOffset |
Offsets the object index.
|
ImageObjectInfo |
Outputs the requested type of information for either the incoming adams.flow.transformer.locateobjects.LocatedObject or the specified image object in the report.
|
ImageObjectOverlap |
Computes the overlap of objects with the specified report from storage.
It stores the overlap percentage of the highest overlap found (overlap_highest) and the total number of overlaps greater than the specified minimum (overlap_count).
If a label key (located object meta-data) has been supplied, then the label of the object with the highest overlap gets stored as well (overlap_label_highest) and whether the labels match (overlap_label_highest_match)
Input/output:
- accepts:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
|
ImageObjectOverlapMatrix |
Generates a matrix of overlapping image objects (annotations vs predictions) and their labels.
When outputting not just overlaps, a separate column 'Overlap' is output as well, indicating whether this row represents an overlap ('yes') or not ('no')
Input/output:
- accepts:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.spreadsheet.SpreadSheet
|
ImageObjectToVariables |
Converts the parameters of an image object into variables.
Meta-data can be turned into variables as well.
|
ImagePreparation |
Preprocesses an image.
|
ImageSegmentationAnnotator |
User interface for annotating images for image segmentation.
|
ImageSegmentationContainerFilter |
Applies a Image Segmentation container filter to the incoming container(s) and outputs the generated data.
|
ImageSegmentationContainerOperation |
Applies a Image Segmentation container operation to the incoming container(s) and outputs the generated data.
|
ImageSegmentationFileReader |
Reads image segmentation file formats using the specified reader and forwards a container with the data.
|
ImageSharpness |
Determines whether images are in focus ('sharp') using the specified algorithm.
|
InactiveTransformer |
Encapsulates a sequence of inactive actors.
|
IncludeExternalTransformer |
Includes an external transformer.
|
IncStorageValue |
Increments the value of a storage value by either an integer or double increment.
If the storage value has not been set yet, it will get set to 0.
If the storage value contains a non-numerical value, no increment will be performed.
It is also possible to directly output the updated storage value (while discarding the input token).
|
IncVariable |
Increments the value of a variable by either an integer or double increment.
If the variable has not been set yet, it will get set to 0.
If the variable contains a non-numerical value, no increment will be performed.
It is also possible to directly output the updated variable (while discarding the input token).
|
IndexedSplitsRunsEvaluation |
Uses the specified evaluation for evaluating the incoming data.
|
IndexedSplitsRunsGenerator |
Uses the specified generator for generating indexed splits from the incoming data.
|
IndexedSplitsRunsPredictions |
Uses the specified generator for generating predictions from indexed splits for the incoming data.
|
IndexedSplitsRunsReader |
Reads indexed splits runs from disk using the specified reader.
|
IntersectOverUnion |
Computes the Intersect Over Union (IOU) of objects with the specified report from storage.
It stores the highest IOU found (iou_highest) and the total number of iou greater than the specified minimum (iou_count).
If a label key (located object meta-data) has been supplied, then the label of the object with the highest iou gets stored as well (iou_label_highest) and whether the labels match (iou_label_highest_match)
Input/output:
- accepts:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.image.AbstractImageContainer
adams.data.report.Report
adams.data.report.ReportHandler
|
JsonFileReader |
Reads a JSON file and forwards the parsed JSON object.
If it is know beforehand, whether the JSON file contains an object or an array, the output type can be specified.
|
LocateObjects |
Locates objects in an image and forwards an image per located object, cropped around the object.
|
LookUp |
Forwards the value associated with the key that the actor gets as input, using the specified lookup table from internal storage.
|
LookUpAdd |
Adds key-value pairs to the specified lookup table.
The input can either an array or a spreadsheet.
If the input is an array, it must have length 2, with the first element the key and the second one the value.
|
LookUpInit |
Creates a lookup table from a spreadsheet, using one column as key and another one as value.
|
LookUpRemove |
Removes a key/value pair from the specified lookup table.
|
LookUpUpdate |
Updates the lookup table (in form of a spreadsheet) that passes through using the specified rules.
The rules can contain variables.
The rules use the following grammar:
expr_list ::= expr_list expr_part | expr_part
expr_part ::= conditional | assignment
conditional ::= if expr then assignments end
| if expr then assignments else assignments end
assignments ::= assignments assignment | assignment
assignment ::=
VARIABLE := expr;
| all ( "regexp" ) := expr;
expr ::= ( expr )
| NUMBER
| STRING
| BOOLEAN
| VARIABLE
| true
| false
| -expr
| expr < expr
| expr <= expr
| expr > expr
| expr >= expr
| expr = expr
| expr != expr
| not expr
| expr and expr
| expr or expr
| expr + expr
| expr - expr
| expr * expr
| expr / expr
| expr % expr
| expr ^ expr
| 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 )
Notes:
- Variables are either all alphanumeric and -/_ (e.g., "ABc_1-2") or any character
apart from "'" enclosed by "'" and "'" (e.g., "'Hello World'").
- The 'all' method applies the value to all the values in the lookup table
that match the regular expression.
- Variables starting with '_' are considered local and don't get transferred back out.
Input/output:
- accepts:
adams.data.spreadsheet.SpreadSheet
- generates:
adams.data.spreadsheet.SpreadSheet
|
Lzf |
Creates a LZF archive from a single file.
|
Lzma |
Creates a LZMA (7zip) archive from a single file.
|
MakeDir |
Creates the directory accepted on the input port if not already existing.
|
MakeForecastPlotContainer |
Creates a named containers for the SequencePlotter actor using the incoming forecasts.
|
MakeJFreeChartDataset |
Generates a JFreeChart dataset from the incoming spreadsheet.
|
MakeLogEntry |
Creates a log entry from the incoming token.
|
MakePlotContainer |
Creates a named container for the SequencePlotter actor.
In case of Double arrays arriving at the input, they must have length 2 for X and Y, 4 for X/Y/Y-Error (low/high) or 6 X/Y/X-Error (low-high)/Y-Error (low-high).
Integer arrays can only have the length 2.
It is also possible, depending on the plotter sink setup, to use strings for x and/or y.
In order to force an update of the plot, overriding the current plot-updater setup, you can create a special plot container of type UPDATE and send that to the plot (can be triggered with a null-token, e.g., from a adams.flow.source.Start source).
|
MapToStorageValues |
Stores the map content in internal storage.
Only the map keys that match the regular expression are turned into storage values.
|
MapToVariables |
Turns the map content into variables.
Only the map keys that match the regular expression are turned into variables.
|
MapVariableIterator |
Iterates over the keys of the incoming map and sets variables for current key and variable.
|
Mat5ArrayInfo |
Provides information on a Matlab5 array.
|
Mat5ArraySubset |
Outputs either a single value (all dimensions in index specified) from an array or a subset (if one or more dimensions left empty).
Only arrays of type us.hebi.matlab.mat.types.Matrix are currently supported.
|
Mat5FileAddArray |
Adds an array to the matlab file object using the specified name.
The array can be retrieved from a callable actor or from storage.
|
Mat5FileAddMap |
Adds the elements of a map to the matlab file object using the names from the map.
The map can be retrieved from a callable actor or from storage.
|
Mat5FileGetArray |
Retrieves the specified array from the mat file object.
|
Mat5FileInfo |
Provides information from a .mat file.
|
Mat5FileReader |
Loads a Matlab file in mat5 format.
|
Mat5GetMatrixElement |
Retrieves the specified matrix element.
|
Mat5GetStructField |
Retrieves the specified struct field.
|
Mat5SetMatrixElement |
Sets the specified element in the matrix passing through.
The value gets parsed automatically according to the element type.
|
Mat5SetStructField |
Sets obtained array under the specified field name.
|
Mat5StructInfo |
Provides information from a Matlab struct object.
|
MatchReportFields |
Outputs all fields that match the regular expression.
|
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) )
| 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] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
;
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.
|
Max |
Returns the maximum value from a double/int array or the index of the maximum value.
|
MergeObjectLocations |
Merges the object locations in the report of the container passing through with the one obtained from storage.
The 'overlap action' determines what to do if objects overlap.
With the 'check type' you can still trigger a 'skip' if the type values of the two overlapping objects differ.
For simply merging all objects, choose a minOverlapRatio of 0.0 and the OverlapAction of KEEP.
|
MergeReport |
Allows the report (or the report of a report handler) passing through to to be merged with another one.
|
MergeReportFromMap |
Merges the passing through report handler/report objects with the referenced map of report objects in storage.
|
MessageDigest |
Generates a message digest and forwards that.
|
MimeType |
Determines the mime type of a file.
|
Min |
Returns the minimum value from a double/int array or the index of the minimum value.
|
MoveFile |
Moves a file to a different location (or just renames it).
Source and target can be swapped as well.
Simply forwards the input token if moving was successful.
|
MultiMapOperation |
Applies the specified operation the incoming map array.
|
MultiMat5MatrixOperation |
Applies a multi-matrix operation to the incoming matrix(s) and outputs the generated matrix(s).
|
MultiSpreadSheetOperation |
Applies the specified operation the incoming spreadsheet array.
|
NegativeRegions |
Uses the specified generator for generating negative regions for the image passing through.
|
ObjectArrayToPrimitiveArray |
Turns an object array into an primitive one.
|
OpenCVFeatureGenerator |
Applies a OpenCV feature generator to the incoming image and outputs the generated features.
|
OpenCVMultiImageOperation |
Applies a BoofCV multi-image operation to the incoming image(s) and outputs the generated image(s).
|
OpenCVTransformer |
Applies a OpenCV transformation to the incoming image and outputs the generated image(s).
|
OptionProducer |
Generates string output from the object passing through using the specified option producer.
|
OutlierDetector |
Applies the outlier detector and either outputs the updated data container or a flow container with the data and the detection results.
|
PassThrough |
Dummy transformer that passes tokens through.
|
PDFAppendDocument |
Modifies the incoming PDF document generated by adams.flow.source.PDFNewDocument using the PDF processors on either the specified input file or storage item.
Needs to be finalized with adams.flow.sink.PDFCloseDocument.
If a file name is received as input, it is assumed that this is an existing PDF file and gets appended.
See also:
adams.flow.source.PDFNewDocument
adams.flow.sink.PDFCloseDocument
Input/output:
- accepts:
adams.flow.transformer.pdfproclet.PDFGenerator
java.lang.String
java.io.File
- generates:
adams.flow.transformer.pdfproclet.PDFGenerator
|
PDFCreate |
Actor for generating PDF files.
|
PDFExtract |
Actor for extracting a range of pages from a PDF file.
|
PDFExtractImages |
Actor for extracting the images from a PDF file.
|
PDFExtractText |
Actor for extracting the text of a range of pages from a PDF file.
|
PDFGenerate |
PDFInfo |
Outputs information on a PDF file.
|
PDFMerge |
Actor for merging multiple PDF files.
Forwards the name of the generated file.
|
PDFMetaData |
Actor for extracting the meta-data from a PDF.
|
PDFPageCount |
Actor for extracting the page count from a PDF file.
|
PDFRenderPages |
Actor for rendering pages of a PDF file as images.
|
PDFStamp |
Actor for stamping pages in a PDF with a custom overlay.
|
PixelSelector |
Allows the user to select pixels.
|
PredictionEccentricity |
Treats the predictions from a regressor as an image and computes the 'eccentricity' of the actual vs predicted plot.
|
PrepareFileBasedDataset |
Processes the incoming files and generates a dataset container.
See also:
adams.flow.control.SetContainerValue
adams.flow.transformer.GenerateFileBasedDataset
Input/output:
- accepts:
java.lang.String[]
- generates:
adams.flow.container.FileBasedDatasetContainer
Container information:
- adams.flow.container.FileBasedDatasetContainer: Train, Test, Validation, Negative
|
PrependDir |
Prepends the prefix to the file/directory being passed through.
By default, the appropriate separator (forward slash or backslash) gets inserted between the file/directory and prefix.
|
PrimitiveArrayToObjectArray |
Turns a primitive array into an object one.
|
ProcessActor |
Applies the specified processor to the incoming actor and forwards the result.
For processors implementing adams.flow.processor.ModifyingProcessor the modified actor is forwarded (or, if not modified, the original one), all others just forward the incoming actor.
If the processor should implement adams.flow.processor.ListingProcessor then any generated list gets stored as string array in the outgoing container as well.
Processors implementing adams.flow.processor.GraphicalOutputProducingProcessor can optionall display the graphical output as well (off by default).
|
ProgrammaticTokenListener |
Transformer that allows other, non-flow code to 'listen on the wire' of the data being processed.
Typically used for flows that are executed as background jobs in the user interface.
Listeners get removed once the flow finishes (wrapUp method).
|
PropertiesFileReader |
Reads a Java Properties file.
|
PropertiesToVariables |
Turns the properties into variables.
Only the property keys that match the regular expression are turned into variables.
|
PyroTransformer |
Transforms data using a Pyro4 call
For more information see:
https://pythonhosted.org/Pyro4/
https://github.com/irmen/Pyrolite
Input/output:
- accepts:
java.lang.Object
- generates:
java.lang.Object
|
PythonExpandScript |
Loads the Python script received as input, expands any variables and placeholders, saves it to the specified output file and forwards the output file name.
|
RelativeDir |
Removes the prefix from the file/directory being passed through to turn them into relative ones.
See also:
adams.flow.transformer.BaseName
adams.flow.transformer.DirName
adams.flow.transformer.AppendName
adams.flow.transformer.PrependDir
adams.flow.transformer.FileExtension
Input/output:
- accepts:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
- generates:
java.lang.String
java.lang.String[]
java.io.File
java.io.File[]
|
RemoteCommandReader |
Loads the remote command from the incoming file.
|
RemoveImageObject |
Removes the specified image object.
|
RemoveOverlappingImageObjects |
Cleans up overlapping objects, e.g., multiple predicted bounding boxes per object.
|
ReportDbUpdater |
Adds all the data to the report (or reporthandler's report) passing through that the SQL statement returns.
The {ID} placeholder can be used in the SQL statement to represent the current handler's ID.
The following types of SQL statements are supported:
- multiple rows of key-value pairs.
- single row, with the key being the column name.
Input/output:
- accepts:
adams.data.report.Report
adams.data.report.MutableReportHandler
- generates:
adams.data.report.Report
adams.data.report.MutableReportHandler
|
ReportField |
Returns all the fields in a report or the report from a report handling object that match the provided regular expression.
|
ReportFileReader |
Loads a file containing a report from disk with a specified reader and passes it on.
|
ReportFileWriter |
Saves a report to disk with the specified writer and passes the absolute filename on.
As filename/directory name (depending on the writer) the database ID of the report is used (below the specified output directory).
|
ReportMathExpression |
Evaluates a mathematical expression based on report values.
Either outputs the updated report or the report handler if that allows updating the report.
|
ReportToStorage |
Stores all report fields that match the provided regular expression in internal storage.
|
ReportToVariables |
Turns all report fields that match the provided regular expression into variables.
|
Round |
Performs 'round', 'ceiling' or 'floor' on double tokens and generates integers.
|
ScaleReportObjects |
Scales the objects in the report using the provided scale factors.
Processes the following suffixes of all the report fields that match the provided prefix:
- .x
- .y
- .width
- .height
Input/output:
- accepts:
adams.data.report.Report
adams.data.report.ReportHandler
- generates:
adams.data.report.Report
adams.data.report.ReportHandler
|
ScpFrom |
Downloads a remote file and forwards the local file name using secure copy (SCP).
For more information see:
(2011).
|
ScpTo |
Uploads a file to a remote directory using secure copy (SCP).
The file name of a successful upload gets forwarded.
For more information see:
(2011).
|
Scripted |
A transformer that uses an external script for processing the token(s).
|
SelectArraySubset |
Allows the user to select a subset of the incoming array to be forwarded in the flow.
|
SequenceToArray |
Turns a sequence of tokens into arrays with a specified length.
In case of unspecified length (ie -1), an array containing all elements collected so far is output each time a token arrives, i.e., the internal buffer never gets reset.
|
SequenceToCollection |
Turns a sequence of tokens into a collection.
In case of unspecified length (ie -1), a collection containing all elements collected so far is output each time a token arrives, i.e., the internal buffer never gets reset.
|
SetArrayElement |
Sets an element of an array and forwards the updated array.
|
SetDatabaseID |
Updates the database ID of the database ID handler passing through with the provided 'ID' value.
|
SetID |
Updates the ID of the ID handler passing through with the provided 'ID' value.
|
SetImageObjectMetaData |
Sets meta-data in the incoming adams.flow.transformer.locateobjects.LocatedObject object.
|
SetJsonValue |
Sets a value in a JSON object, using the specified path.
The value can be either supplied as string using the 'value' property, obtained from a callable actor (property 'source') or from a storage item (property 'storage').
|
SetManyVariables |
Sets the values of the variables whenever a token passes through, but does not use the token's value.
Optionally, the specified values can be expanded, in case it is made up of variables itself.
Grammar for mathematical expressions (value type 'MATH_EXPRESSION, MATH_EXPRESSION_ROUND'):
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 alphanumeric and _, starting with uppercase letter (e.g., "ABc_12"),
any character apart from "]" enclosed by "[" and "]" (e.g., "[Hello World]") or
enclosed by single quotes (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.
|
SetMapValue |
Sets a value in a java.util.Map object.
The value can be either supplied as string using the 'value' property, obtained from a callable actor (property 'source') or from a storage item (property 'storage').
|
SetPlotContainerValue |
Updates a value of a plot container before it is being displayed in the SequencePlotter sink.
|
SetProperty |
Sets the property of a callable actor whenever a token passes through.
Note: this actor just sets the value, but performs no re-initialization or similar of the modified object.
The transformer just forwards tokens that it receives after the property has been set.
|
SetPropertyValue |
Sets a property in a properties object.
|
SetReportFromFile |
Loads a report from disk and replaces the current one in the token passing through.
|
SetReportFromSource |
Obtains a report from a callable source and replaces the current one in the token passing through.
|
SetReportValue |
Sets a value in a report.
|
SetStorageFlag |
Stores the flag value in storage using the specified name whenever a token passes through.
|
SetStorageValue |
Stores the payload of the token passing through under the specified name in temporary storage.
|
SetSystemProperty |
Sets a Java system property when it is executed.
|
SetVariable |
Sets the value of a variable.
|
SFTPDelete |
Deletes a remote file via secure FTP (SFTP) and forwards the deleted file name.
For more information see:
(2011).
|
SFTPGet |
Downloads a remote file and forwards the local file name via secure FTP (SFTP).
For more information see:
(2011).
|
SFTPSend |
Uploads a file to a remote directory using secure FTP (SFTP).
The file name of a successful upload gets forwarded.
For more information see:
(2011).
|
SimpleStringReplace |
Performs a string replacement, using String.replace(.., ...).
If the 'replace' string contains both, variables and placeholders, then first all variables are expanded and then the placeholders.
|
SMBGet |
Downloads a remote file and forwards the local file name (SMB, Windows share).
Host and remote directory can be left empty if the incoming filename consists of a fully qualified URL, e.g.: smb://host/share/dir/file.txt
Input/output:
- accepts:
java.lang.String
- generates:
java.lang.String
|
SMBSend |
Uploads a file to a remote directory (SMB, Windows share).
The file name of a successful upload gets forwarded.
Input/output:
- accepts:
java.lang.String
- generates:
java.lang.String
|
Sort |
Actor for sorting arrays.
|
SplitFile |
Splits the file into several smaller files using the specified splitter algorithm.
|
SpreadSheetAggregate |
Aggregates rows (min, max, avg, etc) in a spreadsheet using key columns.
All numeric columns in the specified aggregrate range (excluding the key columns) get aggregated.
|
SpreadSheetAnonymize |
Anonymizes a range of columns in a spreadsheet.
|
SpreadSheetAppend |
Appends the incoming spreadsheet to one in storage.
If there is none in storage yet, the incoming spreadsheet will simply get stored in storage.
The spreadsheets need not have the same structure, but it is assumed that column names are unique within a spreadsheet.
The combined spreadsheet is then forwarded.
|
SpreadSheetAppendComments |
Appends the comments of the spreadsheet.
|
SpreadSheetCellFinder |
Outputs the cell locations that the cell finder located.
|
SpreadSheetCellSelector |
Lets the user highlight cells in a spreadsheet which get output:
- spreadsheet with coordinates (1-based row and column) and the associated value of the selected cell
- spreadsheet with all un-selected cells set to missing
Usage:
You select cells by left-clicking on them and/or holding the left mouse button and moving the mouse over the cells that you want to select.
You can unselect cells in the same fashion, by holding the shift key in addition.
|
SpreadSheetCellSelector.Table |
Custom table for allowing user to select cells.
|
SpreadSheetCellSelector.TableModel |
Custom model that stores whether a cell has been selected or not.
|
SpreadSheetCollapse |
Uses the specified key columns to identify groups of rows.
|
SpreadSheetColumnFilter |
Filters spreadsheets using the specified column finder.
The output contains all the columns that the specified finder selected.
|
SpreadSheetColumnIterator |
Iterates through all columns of a spreadsheet and outputs the names.
The columns can be limited with the range parameter and furthermore with the regular expression applied to the names.
Instead of outputting the names, it is also possible to output the 1-based indices.
|
SpreadSheetColumnsByName |
Creates a new spreadsheet with the columns that matched the regular expression.
|
SpreadSheetColumnStatistic |
Generates statistics for a chosen colunm.
|
SpreadSheetCommonIDs |
Extracts the common IDs from two or more spreadsheets.
Matching sense can be inverted, i.e., the IDs not in common are output.
|
SpreadSheetConvertCells |
Finds cells in a spreadsheet and converts them with a conversion scheme.
If the conversion scheme generates a adams.data.spreadsheet.SpreadSheet object itself, this will get merged with the enclosing one: any additional columns get added and the content of the first row gets added to the row the converted cell belongs to.
|
SpreadSheetConvertHeaderCells |
Converts the header cells of a spreadsheet with a conversion scheme.
|
SpreadSheetCopyColumns |
Copies a range of columns to a specific position in the spreadsheets coming through.
|
SpreadSheetCopyRows |
Copies a range of columnrows to a specific position in the spreadsheets coming through.
|
SpreadSheetDifference |
Computes the difference of the numeric cells between two spreadsheets.
The values of the second spreadsheet are subtracted from the first one.
If no 'key' columns are defined, the current order of rows is used for comparison.
|
SpreadSheetExtractArray |
Extracts a column or row of data from a SpreadSheet object.
|
SpreadSheetFileReader |
Reads a spreadsheet file and forwards the content.
|
SpreadSheetFilter |
Applies the specified spreadsheet filter to the data.
|
SpreadSheetFilter.FilterJob |
|
SpreadSheetGetCell |
Extracts one or more values from a spreadsheet.
|
SpreadSheetGetColumnIndex |
Obtain the 1-based indices of columns that match a user-specified regular expression.
|
SpreadSheetGetHeaderCell |
Extracts a single value from a spreadsheet's header.
|
SpreadSheetHistogramRanges |
Outputs the ranges generated by adams.data.statistics.ArrayHistogram using the incoming adams.data.spreadsheet.SpreadSheet object.
If cells aren't numeric or missing, a default value of zero is used.
|
SpreadSheetInfo |
Outputs statistics of a SpreadSheet object.
|
SpreadSheetInsertColumn |
Inserts a column at a specific position into spreadsheets coming through.
The cells are initialized with a pre-defined value.
|
SpreadSheetInsertRow |
Inserts a row at a specific position into spreadsheets coming through.
The cells are initialized with a pre-defined value.
|
SpreadSheetInsertRowScore |
Inserts a score column at a specific position into spreadsheets coming through.
|
SpreadSheetMatrixStatistic |
Generates statistics for the spreadsheet.
|
SpreadSheetMerge |
Merges two or more spreadsheets.
|
SpreadSheetMethodMerge |
Merges 2 or more spreadsheets into a single spreadsheet, using a selectable merge method.
|
SpreadSheetPlotGenerator |
Outputs plot containers generated from a spreadsheet.
|
SpreadSheetQuery |
Applies a query (SELECT, UPDATE, DELETE) on a spreadsheet.
Variables are supported as well, e.g., : SELECT * WHERE Blah = @{val} with 'val' being a variable available at execution time.
The following grammar is used for the query:
expr_list ::= expr_list expr_part | expr_part;
expr_part ::= select | update | delete;
select ::= SELECT col_list [limit]
| SELECT col_list WHERE cond_list [limit]
| SELECT col_list ORDER BY order_list [limit]
| SELECT col_list WHERE cond_list ORDER BY order_list [limit]
| SELECT agg_list
| SELECT agg_list GROUP BY col_list
| SELECT agg_list HAVING cond_list
| SELECT agg_list GROUP BY col_list HAVING cond_list
;
update ::= UPDATE SET upd_list
| UPDATE SET upd_list WHERE cond_list
;
delete ::= DELETE WHERE cond_list
;
col_list ::= col_list COMMA col
| col
| SELECT NUMBER [subsample: <1 = percent; >= 1 number of rows]
;
col ::= *
| COLUMN
| COLUMN AS COLUMN
;
upd_list ::= upd_list COMMA upd | upd;
upd ::= COLUMN = value
;
order_list::= order_list COMMA order | order;
order ::= COLUMN
| COLUMN ASC
| COLUMN DESC
;
cond_list ::= cond_list cond
| cond
;
cond ::= COLUMN < value
| COLUMN <= value
| COLUMN = value
| COLUMN <> value
| COLUMN >= value
| COLUMN > value
| COLUMN REGEXP STRING
| COLUMN IS NULL
| CELLTYPE ( COLUMN ) = "numeric|long|double|boolean|string|time|date|datetime|timestamp|object|missing"
| ( cond )
| cond:c1 AND cond:c2
| cond:c1 OR cond:c2
| NOT cond
;
value ::= NUMBER
| STRING
| PARSE ( "number" , STRING )
| PARSE ( "date" , STRING )
| PARSE ( "time" , STRING )
| PARSE ( "timestamp" , STRING )
;
limit ::= LIMIT NUMBER:max
| LIMIT NUMBER:offset , NUMBER:max
;
agg_list ::= agg_list COMMA agg
| agg
;
agg ::= COUNT [(*)] [AS COLUMN]
| MIN ( COLUMN ) [AS COLUMN]
| MAX ( COLUMN ) [AS COLUMN]
| RANGE ( COLUMN ) [AS COLUMN] (= MIN - MAX)
| MEAN ( COLUMN ) [AS COLUMN]
| AVERAGE ( COLUMN ) [AS COLUMN]
| STDEV ( COLUMN ) [AS COLUMN]
| STDEVP ( COLUMN ) [AS COLUMN]
| SUM ( COLUMN ) [AS COLUMN]
| IQR ( COLUMN ) [AS COLUMN]
| INTERQUARTILE ( COLUMN ) [AS COLUMN]
Notes:
- time format: 'HH:mm'
- date format: 'yyyy-MM-dd'
- timestamp format: 'yyyy-MM-dd HH:mm'
- STRING is referring to characters enclosed by double quotes
- COLUMN is either a string with no blanks (consisting of letters, numbers, hyphen or underscore; eg 'MyCol-1') or a bracket enclosed string when containing blanks (eg '[Some other col]')
- columns used in the ORDER BY clause must be present in the SELECT part; also, any alias given to them in SELECT must be used instead of original column name
Input/output:
- accepts:
adams.data.spreadsheet.SpreadSheet
- generates:
adams.data.spreadsheet.SpreadSheet
|
SpreadSheetRandomSystematicSample |
Performs random systematic sampling on the rows of the incoming spreadsheet.
Divides the rows into N blocks with N being the sample size.
|
SpreadSheetRemoveColumn |
Removes the column(s) at the specific position from spreadsheets coming through.
|
SpreadSheetRemoveRow |
Removes one or more rows at the specific position from spreadsheets coming through.
|
SpreadSheetReorderColumns |
Reorders the columns in a spreadsheet according to a user-supplied order.
|
SpreadSheetReorderRows |
Reorders the rows in a spreadsheet according to a user-supplied order.
|
SpreadSheetReplaceCellValue |
Replaces cell values that match a regular expression with a predefined value.
|
SpreadSheetRowBinning |
Applies a binning algorithm to the values from the specified binning column to filter the rows into specific bins.
A new column is then added containing the corresponding bin index.
|
SpreadSheetRowBuffer |
Can act in two different ways:
1.
|
SpreadSheetRowFilter |
Filters spreadsheets using the specified row finder.
The output contains all the rows that the specified finder selected.
|
SpreadSheetRowStatistic |
Generates statistics for a chosen row.
|
SpreadSheetRowToTimeseries |
Turns a spreadsheet row into a timeseries.
Columns for timestamps and values are extracted using the regular expressions, the timestamp columns are optional.
|
SpreadSheetSelectSubset |
Allows the user to select a subset of the incoming spreadsheet to be forwarded in the flow.
|
SpreadSheetSetCell |
Sets the value of the specified cells in a spreadsheet.
|
SpreadSheetSetHeaderCell |
Sets a single header cell value in a spreadsheet.
|
SpreadSheetSort |
Sorts the rows of the spreadsheet according to the selected column indices and sort order (ascending/descending).
|
SpreadSheetSortColumns |
Reorders a user-defined subset of columns by name using the specified comparator.
|
SpreadSheetSortColumns.ContainerComparator |
Comparator wrapper for the containers, uses the provided comparator
to compare the names.
|
SpreadSheetSortColumns.SortContainer |
For sorting columns.
|
SpreadSheetStatistic |
Generates statistics from a SpreadSheet object.
If cells aren't numeric or missing, a default value of zero is used.
|
SpreadSheetStorageRowIterator |
Iterates through a defined range of rows.
|
SpreadSheetSubset |
Extracts a subset of rows/columns from a spreadsheet.
|
SpreadSheetSubsetByValue |
Generates subsets from a spreadsheet, grouped by the same string value in the specified column.
For instance, if a spreadsheet has 3 unique values (A, B, C) in column 2, then 3 subsheets will generated, each containing the rows that have the value A, B or C.
|
SpreadSheetSubsetFromGroup |
Splits the spreadsheet into subsets using the supplied column and then returns the specified range of rows from each generated subset.
The spreadsheet is expected to be sorted on the grouping column.
|
SpreadSheetToTimeseries |
Extracts one or more timeseries from a spreadsheet.
It uses one column ('ID') to identify all the rows that belong to a single timeseries.
|
SpreadSheetTransformCells |
Finds cells in a spreadsheet and transforms them with a callable transformer.
In case of transformers having Object or Unknown in their types of classes that they accept, no proper type can be inferred automatically.
|
SpreadSheetTransformHeaderCells |
Transforms header cells with a callable transformer.
In case of transformers having Object or Unknown in their types of classes that they accept, no proper type can be inferred automatically.
|
SpreadSheetVariableRowIterator |
Iterates through a defined range of rows.
|
StorageCollectionInsert |
Inserts the object passing through to the collection in storage at the specified position.
After inserting the object successfully, just forwards the object.
If the collection does not implement the java.util.List interface and the insertion is not at the end, the insertion will fail.
See also:
adams.flow.transformer.CollectionInsert
Input/output:
- accepts:
adams.flow.core.Unknown
- generates:
adams.flow.core.Unknown
|
StorageJFreeChartAddSeries |
Generates a series from the incoming spreadsheet and adds it to the specified JFreeChart dataset in storage.
After inserting the object successfully, just forwards the object.
|
StringArraySplit |
Uses a regular expression to identify the string that triggers one or more splits in a string array, resulting in smaller arrays being output.
What is done with the string triggering the split, is defined in the split handling option, e.g., discard it.
Useful actor for splitting a log file into individual entry chunks.
|
StringCut |
Cuts out a part of a string.
|
StringExpression |
Evaluates a string expression.
The input string 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) )
| 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] )
| replace ( str , pos , len , newstr )
| substitute ( str , find , replace [, occurrences] )
# 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.
|
StringIndent |
Indents the string with the specified character.
Splits multi-line strings first and processes each line separately.
|
StringIndexOf |
Determines the position of a substring in the string passing through.
The generated index is 1-based, with 0 indicating that the substring could not be located.
|
StringInsert |
Inserts a user-specified string at a specific position into tokens coming through.
The actor is most useful when attaching a variable to the 'value' option, which allows the value to change dynamically then.
|
StringJoin |
Creates a single string out of an array of strings.
|
StringLength |
Determines the length of a string.
|
StringMatcher |
Lets string tokens only pass if they match the regular expression.
|
StringRangeCut |
Cuts out a parts of a string.
|
StringReplace |
Performs a string replacement, using either String.replaceFirst(...) or String.replaceAll(...).
|
StringSanitizer |
Removes all characters that haven't been specified as 'acceptable' characters.
|
StringSplit |
Splits a string using a regular expression.
|
StringTrim |
Trims strings, i.e., removes leading/trailing whitespaces.
|
SubStringCount |
Determines the position of a substring in the string passing through.
The generated index is 1-based, with 0 indicating that the substring could not be located.
|
SummaryStatistics |
Calculates the selected summary statistics and outputs a spreadsheet.
|
SwapVariables |
Swaps the values of the two variables around, whenever a token passes through.
|
Tar |
Creates a Tar file containing one or more files.
|
TemplateTransformer |
Feeds tokens into an actor generated from a template and broadcasts the generated output tokens.
|
TesseractOCR |
Applies OCR to the incoming image file using Tesseract.
In case of successful OCR, either the file names of the generated files are broadcast or the combined text of the files.
NB: The actor deletes all files that have the same prefix as the specified output base.
|
TextFileReader |
Reads a text file and forwards the content.
This actor takes the file to read as input.
|
TextRenderer |
Turns incoming objects into their textual representation, either automatic detection based on their data type or by explicitly specifying a renderer.
|
TimeseriesAdd |
Appends the incoming timeseries to the one available from storage.
If none yet available from storage, then the current one simply put into storage.
If the timeseries already contains elements with the same timestamp, then these will get replaced by the current ones.
|
TimeseriesAppend |
Appends the incoming timeseries to the one available from storage.
If none yet available from storage, then the current one simply put into storage.
If the timeseries already contains elements with the same timestamp, then these will get replaced by the current ones.
|
TimeseriesDbReader |
Outputs timeseries containers generated from an SQL SELECT statement.
A new container is started, whenever the value of the ID column changes (hence you need to ensure that the data is ordered on this column).
|
TimeseriesFeatureGenerator |
Applies a timeseries feature generator to the incoming timeseries and outputs the generated features.
|
TimeseriesFileReader |
Loads a file/directory containing spectrums from disk with a specified reader and passes them on.
|
TimeseriesFileWriter |
Saves a spectrum to disk with the specified writer and passes the absolute filename on.
As filename/directory name (depending on the writer) the database ID of the spectrum is used (below the specified output directory).
|
TimeseriesFilter |
Filters data using the specified filter.
|
TimeseriesInfo |
Outputs information for a timeseries.
|
TimeseriesReportDbUpdater |
Adds all the data to the report of the timeseries passing through that the SQL statement returns.
The {ID} placeholder can be used in the SQL statement to represent the current timeseries' ID.
The following types of SQL statements are supported:
- multiple rows of key-value pairs.
- single row, with the key being the column name.
Input/output:
- accepts:
adams.data.timeseries.Timeseries
- generates:
adams.data.timeseries.Timeseries
|
TimeseriesSplit |
Splits the incoming timeseries into sub-series using the specified splitter algorithm.
|
Timestamp |
Creates a timestamp string whenever it receives an input token.
|
Tool |
Runs a tool.
|
Touch |
Like the Unix 'touch' command, updates the 'last modified' timestamp of the file coming through.
By default, it creates the file if it doesn't exist.
|
UnBzip2 |
Decompresses an archive that was compressed with bzip2.
|
UniqueID |
Ensures that all passing through tokens that implement adams.data.id.MutableIDHandler have a unique ID.
All other tokens are just forwarded as is.
|
UnLzf |
Decompresses an archive that was compressed with LZF.
|
UnLzma |
Decompresses an archive that was compressed with LZMA (7zip).
|
UnRAR |
Unrars a RAR archive and broadcasts the full file names of the extracted files.
|
UnTar |
Decompresses a Tar archive and broadcasts the full file names of the extracted files.
|
UnXz |
Decompresses an archive that was compressed with XZ.
|
UnZIP |
Unzips a ZIP archive and broadcasts the full file names of the extracted files.
|
UnZstd |
Decompresses an archive that was compressed with Zstd.
|
UpdateProperty |
Updates the property of the object passing through with the specified value.
|
ViaAnnotationsToReports |
Converts the JSON object passing through to Reports.
|
WaitForFile |
Waits for the file passing through to become available, i.e., not in use by another process.
|
WekaAccumulatedError |
Generates plot containers from an evaluation object's predictions.
|
WekaAccumulatedError.SortablePrediction |
Container for a classifier prediction, used for sorting.
|
WekaAggregateEvaluations |
Aggregates incoming weka.classifiers.Evaluation objects and forwards the current aggregated state.
|
WekaAttributeIterator |
Iterates through all attributes of a dataset and outputs the names.
The attributes can be limited with the range parameter and furthermore with the regular expression applied to the names.
Instead of outputting the names, it is also possible to output the 1-based indices.
|
WekaAttributeSelection |
Performs attribute selection on the incoming data.
In case of input in form of a class adams.flow.container.WekaTrainTestSetContainer object, the train and test sets stored in the container are being used.
NB: In case of cross-validation no reduced or transformed data can get generated!
Input/output:
- accepts:
weka.core.Instances
adams.flow.container.WekaTrainTestSetContainer
- generates:
adams.flow.container.WekaAttributeSelectionContainer
Container information:
- adams.flow.container.WekaTrainTestSetContainer: Train, Test, Seed, FoldNumber, FoldCount, Train original indices, Test original indices
- adams.flow.container.WekaAttributeSelectionContainer: Train, Reduced, Transformed, Test, Test reduced, Test transformed, Evaluation, Statistics, Selected attributes, Seed, FoldCount
|
WekaAttributeSelectionSummary |
Outputs a summary string of the attribute selection.
|
WekaBootstrapping |
Performs bootstrapping on the incoming evaluation and outputs a spreadsheet where each row represents the results from bootstrapping sub-sample.
|
WekaChooseAttributes |
Lets the user select attributes interactively to use down the track.
Internally, a weka.filters.unsupervised.attribute.Remove WEKA filter is constructed from the selection, to remove the attributes that the user didn't select.
|
WekaClassifierInfo |
Outputs information of a trained weka.classifiers.Classifier object.
|
WekaClassifierOptimizer |
Evaluates a classifier optimizer on an incoming dataset.
|
WekaClassifierRanker |
Performs a quick evaluation using cross-validation on a single dataset (or evaluation on a separate test set if the number of folds is less than 2) to rank the classifiers received on the input and forwarding the x best ones.
|
WekaClassifierRanker.RankingJob |
A job class specific to ranking classifiers.
|
WekaClassifierSetupProcessor |
Applies the specified processor to the incoming array of classifiers, e.g., for generating new or filtered setups.
|
WekaClassifying |
Uses a serialized model to perform predictions on the data being passed through.
The following order is used to obtain the model (when using AUTO):
1.
|
WekaClassSelector |
Sets the class index.
|
WekaClusterAssignments |
Outputs the cluster assignments from the evaluation.
|
WekaClustererInfo |
Outputs information of a trained weka.clusterers.Clusterer object.
|
WekaClustererPostProcessor |
Applies the specified post-processor to the cluster container (adams.flow.container.WekaModelContainer)
See also:
adams.flow.transformer.WekaTrainClusterer
Input/output:
- accepts:
adams.flow.container.WekaModelContainer
- generates:
adams.flow.container.WekaModelContainer
Container information:
- adams.flow.container.WekaModelContainer: Model, Header, Dataset
|
WekaClusterEvaluationSummary |
Generates a summary string of the weka.clusterers.ClusterEvaluation objects that it receives.
|
WekaClustering |
Uses a serialized model to cluster data being passed through.
The following order is used to obtain the model (when using AUTO):
1.
|
WekaCrossValidationClustererEvaluator |
Cross-validates a clusterer on an incoming dataset.
|
WekaCrossValidationEvaluator |
Cross-validates a classifier on an incoming dataset.
|
WekaCrossValidationSplit |
Generates train/test pairs like during a cross-validation run.
|
WekaDatasetsMerge |
Merges 2 or more datasets into a single dataset, under a selectable merge method.
|
WekaDatasetSplit |
Splits the incoming dataset into sub-sets using the specified splitter.
|
WekaEnsembleGenerator |
Uses the specified generator to create ensembles from the incoming data.
|
WekaEvaluationInfo |
Outputs information about a Weka weka.classifiers.Evaluation object.
|
WekaEvaluationPostProcessor |
Applies the specified post-processor to the incoming Evaluation data.
|
WekaEvaluationSummary |
Generates a summary string of the weka.classifiers.Evaluation objects that it receives.
|
WekaEvaluationValuePicker |
Picks a specific value from an evaluation object.
|
WekaEvaluationValues |
Generates a spreadsheet from statistics of an Evaluation object.
|
WekaExperiment |
Represents a Weka experiment, stored in a file.
|
WekaExperimentEvaluation |
Generates evaluation output of an experiment that was run previously.
|
WekaExperimentExecution |
Executes an experiment.
|
WekaExperimentFileReader |
Loads an experiment file.
|
WekaExtractArray |
Extracts a column or row of data from a weka.core.Instances or SpreadSheet object.
Only numeric columns can be returned.
|
WekaExtractPLSMatrix |
Transformer that allows the extraction of internal PLS filter/classifier matrices, forwarding them as spreadsheets.
|
WekaFileReader |
Reads any file format that Weka's converters can handle and returns the full dataset or single weka.core.Instance objects.
|
WekaFilter |
Filters Instances/Instance objects using the specified filter.
When re-using a trained filter, ensure that 'initializeOnce' is checked.
The following order is used to obtain the model (when using AUTO):
1.
|
WekaFilter.BatchFilterJob |
|
WekaGenericPLSMatrixAccess |
Transformer that allows the extraction of internal PLS filter/classifier matrices, forwarding them as spreadsheets.
See the respective PLS implementation for details on available matrix names (derived from: weka.filters.supervised.attribute.pls.AbstractPLS)
Input/output:
- accepts:
weka.classifiers.Classifier
weka.filters.Filter
weka.core.GenericPLSMatrixAccess
adams.flow.container.WekaModelContainer
- generates:
adams.data.spreadsheet.SpreadSheet
Container information:
- adams.flow.container.WekaModelContainer: Model, Header, Dataset
|
WekaGeneticAlgorithm |
Applies the genetic algorithm to the incoming dataset.
Forwards the best setup(s) after the algorithm finishes.
A callable sink can be specified for receiving intermediate performance results.
|
WekaGeneticAlgorithmInitializer |
Populates a adams.flow.container.WekaGeneticAlgorithmInitializationContainer container from the data obtained from the incoming setup (in properties format, can be gzip compressed).
|
WekaGetCapabilities |
Retrieves the capabilities of a weka.core.CapabilitiesHandler (eg filter or classifier) and forwards them.
|
WekaGetInstancesValue |
Retrieves a value from a WEKA Instances object.
Notes:
- date and relational values are forwarded as strings
- missing values are output as '?' (without the single quotes)
Input/output:
- accepts:
weka.core.Instances
- generates:
java.lang.Double
java.lang.String
|
WekaGetInstanceValue |
Retrieves a value from a WEKA Instance object.
Notes:
- date and relational values are forwarded as strings
- missing values are output as '?' (without the single quotes)
- the 'attribute name' option overrides the 'index' option
Input/output:
- accepts:
weka.core.Instance
- generates:
java.lang.Double
java.lang.String
Valid options are:
|
WekaInstanceBuffer |
Can act in two different ways:
1.
|
WekaInstanceDumper |
Dumps weka.core.Instance objects into an ARFF file.
|
WekaInstanceEvaluator |
Adds a new attribute to the data being passed through (normally 'evaluation') and sets the value to the evaluation value returned by the chosen evaluator scheme.
|
WekaInstanceFileReader |
Loads a WEKA dataset from disk with a specified reader and passes on the adams.core.instance.Instance objects.
|
WekaInstancesAppend |
Creates one large dataset by appending all one after the other.
|
WekaInstancesHistogramRanges |
Outputs the ranges generated by adams.data.statistics.ArrayHistogram using the incoming weka.core.Instances object.
The actor just uses the internal format (double array) and does not check whether the attributes are actually numeric.
|
WekaInstancesInfo |
Outputs statistics of a weka.core.Instances object.
FULL_ATTRIBUTE and FULL_CLASS output a spreadsheet with detailed attribute statistics.
|
WekaInstancesMerge |
Merges multiple datasets, either from file or using Instances/Instance objects.
If no 'ID' attribute is named, then all datasets must contain the same number of rows.
Attributes can be excluded from ending up in the final dataset via a regular expression.
|
WekaInstancesStatistic |
Generates statistics from a weka.core.Instances object.
The actor just uses the internal format (double array) and does not check whether the attributes are actually numeric.
|
WekaInstanceStreamPlotGenerator |
Generates plot containers from a range of attributes of the weka.core.Instance objects being passed through.
The generator merely uses the internal data representation for generating the Y value of the plot container.
|
WekaModelReader |
Actor for loading a model (classifier or clusterer).
|
WekaMultiLabelSplitter |
Splits a dataset containing multiple class attributes ('multi-label') into separate datasets with only a single class attribute.
|
WekaNearestNeighborSearch |
Outputs the specified number of nearest neighbors for the incoming Weka Instance.
The data used for the nearest neighbor search is either obtained from storage.
|
WekaNewInstance |
Creates a new weka.core.Instance-derived object, with all values marked as missing.
The class implementing the weka.core.Instance interface needs to have a constructor that takes the number of attributes as sole parameter.
|
WekaPackageManagerAction |
Applies the selected Weka Package Manager action to the incoming data and forwards the generated output.
|
WekaPredictionsToInstances |
Generates weka.core.Instances from the predictions of an Evaluation object.
|
WekaPredictionsToSpreadSheet |
Generates a SpreadSheet object from the predictions of an Evaluation object.
See also:
adams.flow.transformer.WekaSpreadSheetToPredictions
Input/output:
- accepts:
weka.classifiers.Evaluation
adams.flow.container.WekaEvaluationContainer
- generates:
adams.data.spreadsheet.SpreadSheet
Container information:
- adams.flow.container.WekaEvaluationContainer: Evaluation, Model, Prediction output, Original indices
|
WekaPrimeForecaster |
Primes a forecaster with the incoming data and outputs the updated forecaster alongside the training header (in a model container).
|
WekaPrincipalComponents |
Performs principal components analysis on the incoming data and outputs the loadings and the transformed data as spreadsheet array.
Automatically filters out attributes that cannot be handled by PCA.
|
WekaRandomSplit |
Splits a dataset into a training and test set according to a specified split percentage.
|
WekaRegexToRange |
Produces a range string from a regular expression describing attributes.
|
WekaRelationName |
Deprecated. |
WekaRenameRelation |
Modifies relation names.
|
WekaReorderAttributesToReference |
Reorders the attributes of the Instance/Instances passing through according to the provided reference dataset (callable actor or reference file).
This ensures that the generated data always has the same structure as the reference dataset.
|
WekaRepeatedCrossValidationEvaluator |
Performs repeated cross-validation a classifier on an incoming dataset.
|
WekaRepeatedCrossValidationOutput |
Generates output from the incoming repeated cross-validation data.
|
WekaSetInstancesValue |
Sets a value in a WEKA Instances object.
Notes:
- relational values cannot be set
- '?' (without single quotes) is interpreted as missing value
Input/output:
- accepts:
weka.core.Instances
- generates:
weka.core.Instances
|
WekaSetInstanceValue |
Sets a value in a WEKA Instance.
Notes:
- relational values cannot be set
- '?' (without single quotes) is interpreted as missing value
Input/output:
- accepts:
weka.core.Instance
- generates:
weka.core.Instance
Valid options are:
|
WekaSplitGenerator |
WekaSpreadSheetToPredictions |
Turns the predictions stored in the incoming spreadsheet (actual and predicted) into a Weka weka.classifiers.Evaluation object.
For recreating the predictions of a nominal class, the class distributions must be present in the spreadsheet as well.
See also:
adams.flow.transformer.WekaPredictionsToSpreadSheet
Input/output:
- accepts:
adams.data.spreadsheet.SpreadSheet
- generates:
weka.classifiers.Evaluation
|
WekaStoreInstance |
Appends the incoming weka.core.Instance to the dataset in storage.
|
WekaStreamEvaluator |
Evaluates an incremental classifier on a data stream using prequential evaluation (first evaluate, then train).
|
WekaStreamFilter |
Filters Instance objects using the specified filter.
|
WekaSubsets |
Splits the dataset based on the unique values of the specified attribute: all rows with the same unique value form a subset.
|
WekaTestSetClustererEvaluator |
Evaluates a trained clusterer (obtained from input) on the dataset obtained from the callable actor.
If a class attribute is set, a classes-to-clusters evaluation is performed automatically
Input/output:
- accepts:
weka.clusterers.Clusterer
adams.flow.container.WekaModelContainer
- generates:
adams.flow.container.WekaClusterEvaluationContainer
Container information:
- adams.flow.container.WekaModelContainer: Model, Header, Dataset
- adams.flow.container.WekaClusterEvaluationContainer: Evaluation, Model, Log-likelohood
|
WekaTestSetEvaluator |
Evaluates a trained classifier (obtained from input) on the dataset obtained from the callable actor.
|
WekaTestSetEvaluator.EvaluateJob |
|
WekaTextDirectoryReader |
Loads all text files in a directory and uses the subdirectory names as class labels.
|
WekaTrainAssociator |
Trains an associator based on the incoming dataset and outputs the built associator alongside the training header and rules (in a model container)..
|
WekaTrainAssociator.TrainJob |
|
WekaTrainClassifier |
Trains a classifier based on the incoming dataset and outputs the built classifier alongside the training header (in a model container).
Incremental training is performed, if the input are weka.core.Instance objects and the classifier implements weka.classifiers.UpdateableClassifier.
|
WekaTrainClassifier.BatchTrainJob |
|
WekaTrainClusterer |
Trains a clusterer based on the incoming dataset and output the built clusterer alongside the training header (in a model container).
Incremental training is performed, if the input are weka.core.Instance objects and the clusterer implements weka.clusterers.UpdateableClusterer.
|
WekaTrainClusterer.BatchTrainJob |
|
WekaTrainForecaster |
Trains a forecaster based on the incoming dataset and outputs the built model alongside the training header (in a model container).
|
WekaTrainTestSetClustererEvaluator |
Trains a clusterer on an incoming training dataset (from a container) and then evaluates it on the test set (also from a container).
The clusterer setup being used in the evaluation is a callable 'Clusterer' actor.
If a class attribute is set, a classes-to-clusters evaluation is performed automatically
Input/output:
- accepts:
adams.flow.container.WekaTrainTestSetContainer
- generates:
adams.flow.container.WekaClusterEvaluationContainer
Container information:
- adams.flow.container.WekaTrainTestSetContainer: Train, Test, Seed, FoldNumber, FoldCount
- adams.flow.container.WekaClusterEvaluationContainer: Evaluation, Model, Log-likelohood
|
WekaTrainTestSetEvaluator |
Trains a classifier on an incoming training dataset (from a container) and then evaluates it on the test set (also from a container).
The classifier setup being used in the evaluation is a callable 'Classifier' actor.
|
WekaTrainTestSetEvaluator.EvaluateJob |
|
XMLFileReader |
Reads an XML file and forwards the parsed org.w3c.dom.Document object.
|
XPath |
Applies XPath to the DOM document object.
|
XSLT |
Applies an XSLT stylesheet to the DOM document object.
|
Xz |
Creates a XZ archive from a single file.
|
YamlFileReader |
Reads a YAML file and forwards the generated Map object.
http://yaml.org/
Input/output:
- accepts:
java.lang.String
java.io.File
- generates:
java.util.Map
|
ZIP |
Creates a ZIP file containing one or more files.
|
Zstd |
Creates a Zstd archive from a single file.
|