Apps  Contact  Seminars 

Posts tagged ‘comic’


January 21st, 2012

Politics and Algorithms rarely mix, but when they do, they involve food stamps and bin packing

by Amrinder

LITUS - Presidential Food Stamps

[This is one of rare posts, that will be cross-posted to the Guy Down the Street blog as well.]

Tags: ,


July 19th, 2011

The joys of government contracting..

by Amrinder

Tags: ,


October 27th, 2010

Decision Pattern – “Highly Accurate Ballpark Estimate”

by Amrinder

A bad way to make decisions is to ignore the accuracy of your underlying data, and continue to finesse the analytical model that calculates values to 4 decimal places.

RUM RAISIN

Tags: ,


October 18th, 2010

Shortcut Decision Pattern

by Amrinder

The following two equivalence rules of boolean logic are frequently used by scientists and engineers.

  • P and False = False
  • P or True = True

The obvious reason these are important is because they obviate the computation of “P”, which may be significant saving in computation time. This is of significant import in software optimization (removing unnecessary branches of code), and more specifically in pattern matching algorithms, such as Rete.

An interesting use of these shortcut is in enterprise decision making involving human interaction (such as management debates).   Say you are deciding whether to launch a new line of shaver tooth brushes.  You have decided that you will launch this line of products, if (i) there are enough people with less time in the morning, or (ii) there are enough people who shave multiple times a day and brush multiple times a day, or (iii) you need to spend the cash to reduce tax liability.  This would be written in shortcut notation as:

launchNewProdLine = enoughLateRisers() || multipleShaverBrushers() || needSpendCash()

In algorithmic/software terms, each condition would be evaluated in  sequence until the first condition evaluated to true.  The rest of the terms would not be evaluated.  However, in people terms, the way these decisions are laid out, all terms are usually evaluated.  The justification usually is that they are “important as well” and “have implications”, but the way I think about it, I think it is mostly just curiosity (Do we really have so much income that we should try to reduce tax liability?  Really?  Wow!)

Rum Raisin

Tags: , , ,


April 18th, 2010

NP-completeness – Overdone

by Amrinder

Rum Raisin 1001



Switch to our mobile site