@@ -24,6 +24,8 @@ I added the straight_average algorithm to custom_algo.py. This implements the id
...
@@ -24,6 +24,8 @@ I added the straight_average algorithm to custom_algo.py. This implements the id
A proposed way to handle this issue involves the `straight_average_intermediate` algorithm which is very similar to `straight_average` but uses `intermediate_results` to allow for correctly sending results to the next level up. In essence the `intermediate_results` are just the Sapienza trust-modified probabilities of every source in the sub-group to be analyzed. The sub-group in this case is a node and its direct descendants (children). The average of the group is calculated and the list of probabilities (modified by trust) become the results for the next level. Two examples of a multi-level tree were created manually to test this concept (just run custom_algo.py). In real life transferring results between nodes will be handled by the server code, so this is really just an experiment to see that things are conceptually ok.
A proposed way to handle this issue involves the `straight_average_intermediate` algorithm which is very similar to `straight_average` but uses `intermediate_results` to allow for correctly sending results to the next level up. In essence the `intermediate_results` are just the Sapienza trust-modified probabilities of every source in the sub-group to be analyzed. The sub-group in this case is a node and its direct descendants (children). The average of the group is calculated and the list of probabilities (modified by trust) become the results for the next level. Two examples of a multi-level tree were created manually to test this concept (just run custom_algo.py). In real life transferring results between nodes will be handled by the server code, so this is really just an experiment to see that things are conceptually ok.
<h2>Example of using straight_average_intermediate</h2>