Rule: Demo-jupyter-integration
loading x elements...

Name: Demo-jupyter-integration

Version: 2

Discussion Thread

There is a newer version of this Rule.

Creator: ELC

This Rule is for the jupyter integration demo

ID: 447

Created: Aug. 14, 2019, 11:54 p.m.

full definition:

The below is the JSON description of this object.

It is annotated with links to the documentation of each component.

You can hide fields with default values to make things clearer, and copy it to a clipboard to make creating similar Rules and Options easier.

Rule

{ "name" : "Demo-jupyter-integration", "description" : "This Rule is for the jupyter integration demo", "dependencies" : [

Dependency

{ "symbol" : "demo_jupyter_integration" }
], "threshold" : 1.0, "trigger" :

Trigger

{ }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "demo-jupyter-integration", "name" : "demo-jupyter-integration", "description" : "This Option will ask the user for parameters, then execute Demo_jupyter_integration with those parameters.", "confidence" : 1000.0, "trigger" :

Trigger

{ }
, "display" :

Option Display

{ "must_always_be_shown" : true, "parameter_file_name" : "userParametersFile", "message_components" : [

Text message component

{ "type" : "text", "text" : "This is simple example using Jupyter" }
,

Text message component

{ "type" : "text", "text" : "Please select parameters for the prediction." }
,

Option Parameter Selector

{ "type" : "option_parameter_selector", "name" : "timeseries", "title" : "Timeseries to predict", "description" : "The timeseries, as a string of comma-separated values:", "value" :

String Parameter

{ "type" : "string", "default" : "1.0, 2.0, 3.0" }
}
,

Option Parameter Selector

{ "type" : "option_parameter_selector", "name" : "c", "title" : "Number of elements to predict", "value" :

Integer Parameter

{ "type" : "int", "default" : 5, "min" : 1 }
}
,

Option Parameter Selector

{ "type" : "option_parameter_selector", "name" : "use_inbuilt_visualization", "title" : "Use inbuilt visualization?", "description" : "If selected, the predicted timeseries will be visualized with a simple built-in program. Otherwise it will be left to the Programs of other users to visualize the result (this is not part of the tutorial and may not work!)", "optional" : true, "value" :

Boolean Parameter

{ "type" : "bool", "default" : true }
}
], "buttons" : [

Option Display Submit Button

{ "text" : "Perform the prediction", "style" : "cta" }
] }
, "actions" : [

Execute a Program

{ "type" : "execute_program", "program" : "Demo_jupyter_integration#dev", "arguments" : { "user_parameters_file" :

Variable

{ "type" : "variable", "var" : "userParametersFile" }
} }
] }
], "existing_variables" : { "demo-jupyter-integration" :

Variable

{ "type" : "option" }
} }

Rule

{ "name" : "Demo-jupyter-integration", "description" : "This Rule is for the jupyter integration demo", "dependencies" : [

Dependency

{ "symbol" : "demo_jupyter_integration", "weight" : 1.0, "comment_filter" : null }
], "threshold" : 1.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [], "deactivate_if" : {} }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "demo-jupyter-integration", "name" : "demo-jupyter-integration", "description" : "This Option will ask the user for parameters, then execute Demo_jupyter_integration with those parameters.", "confidence" : 1000.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [], "deactivate_if" : {} }
, "display" :

Option Display

{ "must_always_be_shown" : true, "parameter_file_name" : "userParametersFile", "message_components" : [

Text message component

{ "type" : "text", "text" : "This is simple example using Jupyter" }
,

Text message component

{ "type" : "text", "text" : "Please select parameters for the prediction." }
,

Option Parameter Selector

{ "type" : "option_parameter_selector", "name" : "timeseries", "title" : "Timeseries to predict", "description" : "The timeseries, as a string of comma-separated values:", "optional" : false, "value" :

String Parameter

{ "type" : "string", "default" : "1.0, 2.0, 3.0", "multiline" : false }
}
,

Option Parameter Selector

{ "type" : "option_parameter_selector", "name" : "c", "title" : "Number of elements to predict", "description" : "", "optional" : false, "value" :

Integer Parameter

{ "type" : "int", "default" : 5, "min" : 1, "max" : null }
}
,

Option Parameter Selector

{ "type" : "option_parameter_selector", "name" : "use_inbuilt_visualization", "title" : "Use inbuilt visualization?", "description" : "If selected, the predicted timeseries will be visualized with a simple built-in program. Otherwise it will be left to the Programs of other users to visualize the result (this is not part of the tutorial and may not work!)", "optional" : true, "value" :

Boolean Parameter

{ "type" : "bool", "default" : true }
}
], "buttons" : [

Option Display Submit Button

{ "text" : "Perform the prediction", "style" : "cta", "replace_normal_actions" : false, "is_the_default_button" : false, "actions" : [] }
] }
, "actions" : [

Execute a Program

{ "type" : "execute_program", "var" : null, "program" : "Demo_jupyter_integration#dev", "arguments" : { "user_parameters_file" :

Variable

{ "type" : "variable", "nullable" : false, "var" : "userParametersFile" }
}, "argument_lists" : {} }
] }
], "existing_variables" : { "demo-jupyter-integration" :

Variable

{ "type" : "option", "value" : null }
} }

all versions of this Rule:

Version 4

Version 3

Version 2

Version 1