test_model
Created: 2013-12-10 17:39:44
Last updated: 2014-12-04 15:23:59
Replaced progress loop by component.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Alan R Williams & Renato De Giovanni |
Titles (1)
Descriptions (1)
Test a model with openModeller. |
Dependencies (0)
Inputs (11)
Name |
Description |
model_xml |
Serialized model in XML.
|
layers |
Newline separated list of layers for model testing.
|
presence_points_xml |
Newline separated list of presence points that will be used to test the model.
|
mask_id |
Mask id usded for model testing.
|
calculate_matrix |
Indicates if confusion matrix should be calculated.
|
calculate_roc |
Indicates if ROC curve should be calculated.
|
absence_points_xml |
Newline separated list of absence points that will be used to test the model.
|
num_background_points |
Number of background points to be used when calculating ROC curve (when no absence points are provided).
|
threshold |
Threshold to be used when calculating confusion matrix.
|
srs |
Spatial reference system for all points in WKT format.
|
species_label |
Species name.
|
Processors (2)
Name |
Type |
Description |
make_xml |
beanshell |
Scriptxml = "\n"
+"\n"
+"\n"
+"\n"
+"\n";
int i = 0;
String[] s_layers = layers.split("\n");
for ( i = 0; i < s_layers.length; ++i ) {
if ( s_layers[i].length() > 0 ) {
xml += "\n";
if ( presence_points_xml.length() > 0 ) {
xml += "\n"
+""+srs+"\n"
+presence_points_xml
+"\n";
}
if ( absence_points_xml.length() > 0 ) {
xml += "\n"
+""+srs+"\n"
+absence_points_xml
+"\n";
}
xml += "\n"
+model_xml
+"\n";
if (calculate_matrix.equals("yes")) {
xml += "\n";
}
if (calculate_roc.equals("yes")) {
xml += "\n";
}
xml += "\n"
+"\n"
+"\n"; |
call_service |
workflow |
This part is responsible for perfoming the internal test.. |
Beanshells (2)
Name |
Description |
Inputs |
Outputs |
make_xml |
|
calculate_matrix
calculate_roc
mask_id
layers
model_xml
presence_points_xml
threshold
num_background_points
absence_points_xml
srs
species_label
|
xml
|
checkProgress |
|
input_progress
|
output_progress
|
Outputs (3)
Name |
Description |
log |
Test model log.
|
progress |
Test model progress. Possible values are: 100 (finished), -2 (aborted) or -3 (cancelled).
|
test_statistics |
An XML string containing details of the results of the test.
|
Datalinks (15)
Source |
Sink |
mask_id |
make_xml:mask_id |
layers |
make_xml:layers |
model_xml |
make_xml:model_xml |
presence_points_xml |
make_xml:presence_points_xml |
calculate_matrix |
make_xml:calculate_matrix |
calculate_roc |
make_xml:calculate_roc |
absence_points_xml |
make_xml:absence_points_xml |
num_background_points |
make_xml:num_background_points |
threshold |
make_xml:threshold |
srs |
make_xml:srs |
species_label |
make_xml:species_label |
make_xml:xml |
call_service:testModel_configuration |
call_service:output_log |
log |
call_service:output_progress |
progress |
call_service:test_statistics |
test_statistics |
Uploader
Component Validity
Loading
License
All versions of this Workflow are
licensed under:
Version 3
(of 11)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(7)
Only the first 2 workflows that use similar services are shown. View all workflows that use these services.
Uploader
Project
get_available_algorithms
(3)
Retrieves all available algorithms from the openModeller web service, returning an XML.
Created: 2013-12-06
| Last updated: 2014-11-04
Uploader
Project
evaluate_model
(9)
Evaluates a model, returning model values for a given set of points and layers.
Created: 2013-12-10
| Last updated: 2014-12-04
Comments (0)
No comments yet
Log in to make a comment