Skip to content
Stack Code Review
Question and answer site for peer programmer code reviews.
MENU
  • HOME

Tag: markov-chain

Generating text from a Markov chain in Java

By mariaPosted on January 26, 2023

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

Cumulative transition matrix Markov Chain simulation

By mariaPosted on December 7, 2022

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

By mariaPosted on May 28, 2021

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

By mariaPosted on May 5, 2020

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

By mariaPosted on July 26, 2018

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

Recent Posts

  • Credit card validator in Python
  • Custom delete method refactoring
  • Pull, Tag, Save, Delete Multiple Docker Containers
  • Beginner number guessing game in Java
  • Regrouping JSON object
  • Calculating company-wise total expenses
  • Implementing basic sorting in Python
  • VBA performance with Early Bind vs. Late Bind on called Sub-procedure
  • Minimalist accordion implementation using vanilla JavaScript
  • Using python and beautifulsoup to iterate through a list of websites to find a particular string
  • Helper class for accessing blobs and mmap memory
  • Selectively printing elements on web page using a bookmarklet
  • Object-oriented calorie counter
  • Accumulate ids to make a single ajax request
  • Class/event schedule calendar

Categories

  • .Net
  • Algorithm
  • Android
  • Array
  • Bash
  • C#
  • Console
  • CSS
  • Haskel
  • Html
  • Java
  • Javascript
  • JSON
  • MySQL
  • Node Js
  • Object Oriented
  • Parsing
  • Php
  • Programming Chalenge
  • Python 3
  • React JS
  • Recursion
  • Regex
  • Ruby
  • Security
  • Sorting
  • SQL
  • Strings
  • Swift
  • VBA
Proudly powered by WordPress / Theme: Superfast