RandomWalkModel
- class mowl.base_models.RandomWalkModel(*args, **kwargs)[source]
Bases:
GraphModelBase class for graph embedding methods that use random walks.
Attributes Summary
Returns the walker object of the random walk model.
Methods Summary
set_walker(walker)Sets the walker object of the random walk model.
train()Abstract method for training the model.
Attributes Documentation
- walker
Returns the walker object of the random walk model.
- Return type:
WalkingModelobject
Methods Documentation
- set_walker(walker)[source]
Sets the walker object of the random walk model.
- Parameters:
walker (
WalkingModelobject) – the walker to be set