specless.inference.base
Inference Algorithm
Inference algorithms then use such demonstrations to come up with a specification.
Examples
>>> import specless as sl
>>> demonstrations: list = [
... [[1, "a"], [2, "b"], [3, "c"]],
... [[4, "d"], [5, "e"], [6, "f"]],
... ]
>>> inference = sl.TPOInferenceAlgorithm()
>>> specification = inference.infer(demonstrations)
Classes
Base class for the inference algorithms. |