MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / compute_weight

Method compute_weight

toolbench/inference/Tree/Tree.py:51–55  ·  view source on GitHub ↗

Used in the UCT algorithm to calculate the node weight of each son during selection

(self)

Source from the content-addressed store, hash-verified

49 self.messages = []
50
51 def compute_weight(self):
52 '''
53 Used in the UCT algorithm to calculate the node weight of each son during selection
54 '''
55 return 0.0
56
57 def get_max_depth(self):
58 '''

Callers 1

DFSMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected