stoclust

Logo

Clustering algorithms using stochastic analysis and ensemble techniques.

simulation

  ↳ stoclust

Will contain functions for generating random walks of various types. For now, only contains regulated Markovian walks.

Functions

  • markov_random_walk

    markov_random_walk(probs, initial=None, index=None, regulator=None, halt=None, max_time=100)
    Given a set of transition probabilities, generates a random walk through the available nodes. Further, the user may pass regulator and halt functions with complex rules for altering transition probabilities during the walk and determining when to halt the walk, as well as delivering specific reports about notable events during the walk.