Not a very flashy screenshot, but here it is! My first try at implementing a random text generator. So far here is roughly how it works: It reads in all the text files out of a given path. It breaks all of those text files into sentences.(Or at least tries to.) It breaks those sentences into words. For each unique word, it generates a list of possible following words and how often it is the first or last word of a sentence. It then uses those probabilities to chain together words into what could almost be called sentences. I smirk every time it gives me something that is actually a coherent sentence. wilderthanmild fucked around with this message at 13:08 on Jan 28, 2016 |
|
# ¿ Jan 28, 2016 05:35 |
|
|
# ¿ May 2, 2024 07:45 |
That is really a super cool app.
|
|
# ¿ Mar 27, 2019 13:49 |
I'm working on a toy model that simulates epidemics. I've stared way too long at graphs of cases/deaths, read too many papers about various factors that impact the spread of covid/other diseases, and seen way too many models trying to make predictions. Earlier in one of the covid threads I'd been playing around with some spreadsheet models and it was a really interesting exercise. So I decided I'd start hammering out my own model in C#. I know it will never be all that accurate, but it's more just fun I've been working on. It models a handful of things like vaccination, travel between regions, seasonal changes. It also takes a ton of inputs for things like secondary attack rate in various settings, frequency of travel, how many locations a person can potentionally visit. It's not based on taking real world numbers and making future predictions but rather in a totally fabricated setting. It's a console app that takes JSON files or manual input for the various parameters to build the model and outputs some console logging and dumps a lot more data to CSVs so I can make graphs in google sheets.
|
|
# ¿ Jun 14, 2021 23:40 |
I got bored and people were talking about KSP2s broken... everything so I decided to write a little N-body physics sim. It's kind of a boring shot, but without motion they all kinda are. The red color is just ones that are over an arbitrary limit I wanna use for star formation later.
|
|
# ¿ Feb 27, 2023 03:06 |