facebookresearch / SymbolicMathematics

Deep Learning for Symbolic Mathematics
Other
523 stars 114 forks source link

What is leaf_probs? #11

Closed TommasoBendinelli closed 3 years ago

TommasoBendinelli commented 3 years ago

In the configuration of the script, there is this setting: --leaf_probs "0.75,0,0.25,0" #leaf sampling probabilities

What is it?

TommasoBendinelli commented 3 years ago

Solved it by looking at the better description the source code.

        parser.add_argument("--leaf_probs", type=str, default="0.75,0,0.25,0",
                            help="Leaf probabilities of being a variable, a coefficient, an integer, or a constant.")