stem sims banner

stem sims

7 devlogs
5h 50m 53s

a website full of stem related simulations that can be either accessed using an api or viewed through an animation

Loading README...

Vulcan
  • i switched from a 3 words -> 3 words markov chain to a 3 -> 1 word markov chain
  • i somehow managed to decrease the run time from 5 minutes to 2 seconds
  • i split the code into subroutines so it is easier to read and understand
Attachment
0
Vulcan
  • i added the code for cleaning the text before markov chain generation
  • i added the code for text prediction
  • i texted it out with jane eyre

it works great, but some sentences are an extract from the book, so i want to increase the accuracy and randomness

Attachment
0
Vulcan

i’m going to make a text prediction model using the mathematics behind markov chains

  • i’ve broken down problem into phrases, mainly training and text prediction, and broken these down into steps
  • i’ve written the code for generating the markov chain during training
Attachment
0
Vulcan

PIVOT

i’ve decided to pivot this a little, and instead of it being a flask app of maths simulations, i want it to be a collaborative, open source collection of mathematical simulations implemented in multiple programming languages.

so i’ve shifted the programs into respective folders, deleted the flask app, and added coin_toss.swift and coin_toss.js.

going to start asking for collaborators now!

Attachment
0
Vulcan
  • added an api route (post) for page rank which returns each page’s rank as a percentage in JSON
  • created a function for coin toss
  • created an api route for coin toss
  • created a visualisation route for coin toss
Attachment
Attachment
0
Vulcan

i created the algorithm for google page rank

Attachment
0
Vulcan
  • i created the simulation code for a random walk which returns all the x and y points while the walk occurs
  • i created a flask app
  • i added an api route so that others can fetch the random walk data
  • i used matplotlib to generate an image for 5 different random walks, and added a route to see the visualisation image
Attachment
Attachment
0