automata4cps.learn

automata4cps.learn.build_pta(data, boundaries=1)

In the function build_pta the prefix tree acceptor is created by going through each sequence of events in the learning examples. Also, the depth, in- and out-degree of the states are set.

automata4cps.learn.extend_states(alphabet, bandwidth, max_density_at_split, verbose=False)

The function extend_states takes the current alphabet, which was created in the beginning and extends it via taking the minima of the pdfs and splitting the events, if there are at least three minima.

automata4cps.learn.simple_learn_from_event_logs(data, initial=True, verbose=False)
automata4cps.learn.simple_learn_from_signal_updates(data, sig_names, initial=True, verbose=False)
automata4cps.learn.simple_learn_from_signal_vectors(data, sig_names, drop_no_changes=False, verbose=False)

Classes