The Beard Sage

  • Machine Learning
  • Computer Architecture
  • Theoretical Computer Science
  • About Me

Cache related Terminology

posted in Computer Architecture on February 2, 2020 by TheBeard 0 Comments

A list of definitions of Cache related terminology with some examples.

Continue reading →

Ternary representation of an integer that is a multiple of 3 but not a multiple of 9

posted in Theoretical Computer Science on February 1, 2020 by TheBeard 0 Comments

This article explores the problem of accepting strings in ternary format that are a multiple of 3 but not a multiple of 9. Listing out the ternary numbers brings out a pattern for such strings which is expressed as a regular expression and an NFA.

Continue reading →

Write-through vs Write-back

posted in Computer Architecture on January 31, 2020 by TheBeard 1 Comment

The advantages and disadvantages of two write policies – write-through and write-back are discussed. The use of a write buffer is also mentioned.

Continue reading →

The Markov Property

posted in Machine Learning on January 30, 2020 by TheBeard 0 Comments

This article explores the underlying assumption of a Markov Chain through an example. A probabilistic automaton and a mathematical representation of the chain are discussed.

Continue reading →

LRU Counter Implementation

posted in Computer Architecture on January 29, 2020 by TheBeard 0 Comments

A step by step example showing cache block replacement procedure that uses an LRU counter. The counter value update procedure and its cost/energy factor are discussed.

Continue reading →

Empty String vs Empty Set

posted in Theoretical Computer Science on January 28, 2020 by TheBeard 2 Comments

This article explores the differences between the empty string and the empty set. This is followed by few examples of regular operations on these concepts.

Continue reading →

The Gaussian Distribution

posted in Machine Learning on January 27, 2020 by TheBeard 0 Comments

This article discusses the various properties of a Gaussian distribution, reasons why it is a valid probability distribution followed by mathematical derivations of its mean and variance.

Continue reading →

Visualizing Amdahl’s Law

posted in Computer Architecture on January 26, 2020 by TheBeard 0 Comments

Amdahl’s law is used to estimate the theoretical speedup achieved by increasing the number of resources available for program execution. This article shares a visualization based approach to understand this concept instead of memorizing a formula.

Continue reading →

Uncommon Deterministic Finite Automata

posted in Theoretical Computer Science on January 25, 2020 by TheBeard 0 Comments

Analyzing the formal definition of a deterministic finite automaton (DFA) more closely can result in some uncommon machines. This article explores some extreme cases and the resulting DFAs.

Continue reading →
Newer posts →
Copyright (C) 2021. All rights reserved.