Rule: Recognize-task-hierarchy-datascience-offer-timeseries-prediction
loading x elements...

Name: Recognize-task-hierarchy-datascience-offer-timeseries-prediction

Version: 1

Discussion Thread

Creator: initial_tools

Hardcoded Priority (supersedes the rating): 4.5

This Rule has moderator approval.

When hierarchy_for_task_selection_root_datascience is active, offer an Option that creates the timeseries prediction task from the tutorial.

This just creates a task_make_timeseries_prediction_from_file_and_present_it Tag, which automatically triggers all the Rules and Programs involved in the tutorial.

ID: 79

Created: Sept. 27, 2018, 3:21 p.m.

full definition:

The below is the JSON description of this object.

It is annotated with links to the documentation of each component. Default values are written in grey.

Click to copy this text to your clipboard.

Rule

{ "name" : "Recognize-task-hierarchy-datascience-offer-timeseries-prediction", "description" : "When hierarchy_for_task_selection_root_datascience is active, offer an Option that creates the timeseries prediction task from the tutorial.

This just creates a task_make_timeseries_prediction_from_file_and_present_it Tag, which automatically triggers all the Rules and Programs involved in the tutorial."
, "dependencies" : [

Dependency

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

Trigger

{ "allow_repetition" : false, "arguments" : [] }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "offer-timeseries-prediction", "name" : "offer-timeseries-prediction", "description" : "If selected, deactivate the hierarchy_for_task_selection_currently_active and start a task_make_timeseries_prediction_from_file_and_present_it Tag, which automatically triggers all the Rules and Programs involved in the tutorial.", "confidence" : 0.9, "trigger" :

Trigger

{ "allow_repetition" : false, "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theTriggeringHierarchyTag", "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theCurrentSelectionTag", "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "symbol" : "hierarchy_for_task_selection_currently_active", "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "symbol" : "hierarchy_for_task_selection_root_datascience", "comment" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }
] }
, "display" :

Option Display

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

HTML component

{ "type" : "html", "html" : "<h4>Perform a timeseries prediction on the content of a file.</h4>\n\n<p>(Example task)<p>\n\n<p>You will be asked to upload a file, I will attempt to parse it and extract a timeseries from it. I will then perform a prediction and present a graph of the result as well as a file for download.</p>\n\n<p>This involves running half a dozen different programs in the background, but that is completely automated and you won't need to worry about it. If you are interested in the details, click the button \"Enter Developer Mode\" on the left.</p>\n\n<p>This task is a part of the tutorial. The basic version is not very good, but like all parts of Elody it is completely extensible by contributors. This means that the quality of this task will improve as new developers join and upload better programs.</p>\n\n<p>(Initially, this task will work only for CSV files and Excel files (.xlsx), but other file formats may be made possible by developers. You can click these links to download some example files for testing: <a href=\"/static/downloadable_files/example (excel).xlsx\" download=\"example (excel).xlsx\">Excel</a>, <a href=\"/static/downloadable_files/example (csv).csv\" download=\"example (csv).xlsx\">CSV</a>)</p>\n", "external_domains" : [] }
] }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theCurrentSelectionTag" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theNewTask", "symbol" : "task_make_timeseries_prediction_from_file_and_present_it", "comment" : null, "weight" : null, "arguments" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!task", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theNewTask" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : "requireInput", "symbol" : "require_timeseries_to_predict", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theNewTask" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!set_signal_weight", "comment" : null, "weight" : 1.0, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "requireInput" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : "requirePrediction", "symbol" : "require_prediction_on_timeseries", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theNewTask" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!set_signal_weight", "comment" : null, "weight" : 1.0, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "requirePrediction" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : "requireVisualization", "symbol" : "require_visualization_of_prediction", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theNewTask" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!set_signal_weight", "comment" : null, "weight" : 1.0, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "requireVisualization" }
] }
] }
,

Deactivate this Rule or Option

{ "type" : "deactivate_self", "var" : null }
], "existing_variables" : { "offer-timeseries-prediction" :

Variable

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

all versions of this Rule:

Version 1