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

Function compute_epsilon_new_node

toolbench/inference/utils.py:26–31  ·  view source on GitHub ↗

根据公式换算delta

(p_new_node)

Source from the content-addressed store, hash-verified

24 return np.array(answers)
25
26def compute_epsilon_new_node(p_new_node):
27 '''
28 根据公式换算delta
29 '''
30 delta = 400 * math.log10(p_new_node /(1-p_new_node))
31 return 1000 + delta
32
33# For prediction parsing, into ReACT format
34def react_parser(string):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected