Problem I have this small program that constructs a Markov chain from Tolstoy’s War and Peace and allows the user […]

# Tag: markov-chain

## Cumulative transition matrix Markov Chain simulation

Problem I have a cumulative transition matrix with probabilities for all the possible states from 1 to 5. Now the […]

## Markov chain-based word salad generator

Problem I like Markov chains. Last time I used one, I made one that generates words. This time, I made […]

## Name/word generator using DTMC in Ruby

Problem I just wrote a basic DTMC algorithm focused on generating names, though it could be used to generate lots […]

## Implementation of a sparse Markov Chain

Problem I need to create a sparse Markov chain. It is supposed to receive text, so the number of rows […]