We define probability context-free grammars and describe their use for symbolic regression. We study grammars that generate algebraic expressions and meticulously define an expression. We show that calculating the probability of a given expression for a given grammar is generally undecidable. We overview specific grammars for generating expressions, where an algorithm for calculating the probability of a given expression exists. For those example grammars, we present an algorithm for calculating the probability of a given expression. At last, we present probabilistic grammars for generating elements from groups.
|