In my previous post, I shared how to predict using a single criteria leveraging machine learning in Python. If you haven’t read that, be sure to read that first here to get a better understanding of what we’re trying to do. In this post, I’ll let computer predict something based on multiple criteria. For example, […]
Tag: education
Make a computer guess your word – Python
You’ve undoutedly played games like hangman or seen TV games such as Wheel of Fortune where you’re supposed to guess a word by only given the number of letters (or their placeholders, blank tiles) in a given number of tries. You may have also written similar games yourself. In this post however, I’m going to […]
Share variables across different modules – Python
There are several ways we can share a variable’s value or multiple variables’ values set across different modules or code files. One of the easiest and efficient way is taking advantage of config module in Python. In this post, I demonstrate exactly how it’s done. Imagine the scenario where you have a python module that […]
Status, Progress and Micro Animations
With the ubiquitious broadband comes the ability to download, upload, and stream more data than ever before. While the wait for most mundane and typical tasks are greatly reduced over the past two decades coupled with advancement in hardware of devices, and more data being exchanged and processed every microsecond, the need for users to […]
General Tree Data Structure – Python
In this post, I’ll demonstrate implementation of what’s known as a General Tree (not binary tree…that’ll be discussed soon in a different post)…it’s a unique data structure that Queue or Stacks cannot easily handle or at all. The key characteristic of this DS is that it allows for hierarchical data representation and relationships…think, taxonomy. Real-world […]
Multi-threading in Python
Most of the python code you encounter while searching online is single-threaded and in most cases, it’s perfectly fine. Such programs has one main thread in the code and it may call various functions one after another or conditionally…the cpu will execute the code in each line of code one after another until the program […]
Queue and Stack Data Structures — Explained
Hi visitors! This post is about explaining the very essential data structures such as Queue and Stacks in a simple way, and provide you with some animations to help. Then I’ll explain how you can implement either data structures in a real-world situation using Python (or any other language, once you understand these fundamentals). I […]
CPU-generated structural art – CONSTABUILD
This program I dub ‘Constabuild’ is a cross-platform Python app I wrote that generates ‘random’ shapes in ‘random’ colors, in ‘random’ starting positions, for ‘random’ repetition of the selelected shape and color…creating unique patterns/art every time it’s executed. While the app is 100% self-running, there are also some fun commands user can give at run-time […]
New games added
Howdy! I’ve added a couple of new games from last month and this month…be sure to check them out in my Games page here! All are completely free (no adds, no data collection/sharing) for your educational and entertainment purposes. Enjoy!
A Manifestation Formula
Will your dream come true? If so, how likely is it? What really is your desire composed of? And are there factors that affect that, if so, what are they; and which ones can we control? Following the search for answers to these questions, my ultimate quest was: Can we manufacture a formulation for quantifying […]