neupy.datasets.make_reber

neupy.datasets.make_reber(n_words=100)[source]

Generate list of words valid by Reber grammar.

Parameters:
n_words : int

Number of reber words, defaults to 100.

Returns:
list

List of Reber words.

Examples

>>> from neupy.datasets import make_reber
>>> make_reber(4)
['TPTXVS', 'VXXVS', 'TPPTS', 'TTXVPXXVS']