Sunday, March 26, 2023

## Animating Charts in Excel and beyond

Some time ago I demonstrated how to create Time-lapse animations in Excel in my post here. Part of that procedure utilized a short-lived but cool feature called ‘PowerView’. Unfortunately, as of late 2021, Microsoft has removed support for PowerView in Excel (that made this time-lapse animation possible) and instead is encouraging users to use PowerBI […]

## Companion Code Handbook for Hello Arduino! Published

Greetings readers. I have just published (live on Feb 10th) the paperbook book: Companion Code Handbook: Hello Arduino! This companion book is a handy reference with complete source code with comments for all projects detailed in the book Hello Arduino! This is a printed version of all source code required for completing all projects (and […]

## How is chatGPT useful?

Author’s note: Instead of me explaining the benefits of ChatGPT, I figured why not let ChatGPT write its own summary and toot its own horn, and best of all write it straight into my blog site, creating a real blog post (without having me to copy/paste) and go live?! So, there we have it…this post […]

## Decision Tree and Prediction (Python)

This is an example of a Decision Tree model (very useful and popular method) to make prediction using the power of Machine Learning…using just a normal PC. Here we predict salary (depedendent variable) by giving various types of criteria (different forks in a decision tree). e.g. What’s the salary of a particular gender, of some […]

## What is Sigmoid function and why?

In this blog, I touch on a core function that’s used in many machine learning scenarios whether explicitly or as a part solving a given problem. This is extremely useful for recoding values for classification (binary or multiclass) where we need to map some categorical values into a finite range of values (e.g. 0 or […]

## Creating music and teaching coding

Have you heard of Earsketch? It’s an amazing, fun way to create music while learning, practicing, teaching coding! Yes, music and coding all in one with its online, free platform (for students)…you just need a browser. It supports Python and Javascript coding in their online editor and you can compile and run the code on […]

## Machine Learning in Python (Univariate Linear Regression)

In this post, I share a method to utilize Machine Learning using Python. I have collected some data from CDC site about birth rate in the USA over several years. What I’d like to show you is how we can predict birth rate for a year that is NOT present in the dataset. For example, […]

## 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 […]

## 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 […]