cayleypy.Predictor
- class cayleypy.Predictor[source]
Estimates distance from central state to given states.
- __init__(graph: CayleyGraph, models_or_heuristics)[source]
Initializes Predictor.
- Parameters:
graph – Associated CayleyGraph object.
models_or_heuristics –
One of the following:
”zero” - will use predictor that returns 0 for any state.
”hamming” - will use Hamming distance from central state.
torch.nn.Module
- will use given neural network model.Any object that has “predict” method (e.g. sklearn models).
Any callable object.
Methods
__init__
(graph, models_or_heuristics)Initializes Predictor.