Skip to content

Instantly share code, notes, and snippets.

View bdiesel's full-sized avatar

Brian Diesel bdiesel

View GitHub Profile

Principles of Adult Behavior

  1. Be patient. No matter what.
  2. Don’t badmouth: Assign responsibility, not blame. Say nothing of another you wouldn’t say to him.
  3. Never assume the motives of others are, to them, less noble than yours are to you.
  4. Expand your sense of the possible.
  5. Don’t trouble yourself with matters you truly cannot change.
  6. Expect no more of anyone than you can deliver yourself.
  7. Tolerate ambiguity.
  8. Laugh at yourself frequently.
let tableData = require('./dataset_test.json');
//let tableData = require('./100k.json');
let removeResiduals = true;
// Primary segmentation (One row for each combination)
// (36x12x5=2,160 possible combinations; approx 220 used)
// segments are AND together
// user can define composite variables that combine separate variables
// (e.g. ‘high ticket buyer and outside 25 mile radius of store’ as one row)