Skip to content

Commit

Permalink
More refactoring
Browse files Browse the repository at this point in the history
- acceptance test data locations
- extended docs locations
  • Loading branch information
MoseleyS committed Sep 21, 2023
1 parent 54f63be commit 5734e30
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 126 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
**Weather symbol decision trees**
**Decision trees**

Weather symbol decision trees use diagnostic fields to diagnose a suitable
symbol to represent the weather conditions. The tree is comprised of a series
of interconnected decision nodes. At each node one or multiple forecast
Decision trees use diagnostic fields to diagnose a suitable category to represent
the weather conditions, for a weather symbol for example. The tree is comprised
of a series of interconnected decision nodes. At each node one or multiple forecast
diagnostics are compared to predefined threshold values. The node has an if_true
and if_false path on to the next node, or on to a resulting weather symbol. By
and if_false path on to the next node, or on to a resulting category. By
traversing the nodes it should be possible, given the right weather conditions,
to arrive at any of the weather symbols.
to arrive at any of the categories.

The first few nodes of a decision tree are represented in the schematic below.

Expand Down
2 changes: 1 addition & 1 deletion improver/categorical/decision_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ApplyDecisionTree(BasePlugin):
as weather symbols.
.. See the documentation for information about building a decision tree.
.. include:: extended_documentation/wxcode/build_a_decision_tree.rst
.. include:: extended_documentation/categorical/build_a_decision_tree.rst
"""

def __init__(
Expand Down
Loading

0 comments on commit 5734e30

Please sign in to comment.