Library / Linear / Categorical & Threshold Models
Categorical & Threshold Models
Buckets and cutoffs turn messy attributes into testable if-then rules.
INTERACTIVE LAB
Tolerance sandbox (original recreation)
happy 76% • avg. similar neighbors 49% • red ring = wants to move
LINEAR
When to use / misuse
Use → Segmentation, eligibility, triage. Watch boundary gaming.
Difficulty → Core
REDCAPE → Reason · Predict
agent: categorical-checker family: Linear combine_with: [two other families] rule: state failure mode before acting
Free sources: Coursera M3
Attach to a lattice — combines with
Different families, shared jobs. Click to open alongside.
DISTRIBUTIONS
Normal Distribution
Bell-curve averaging: many small independent effects sum to a predictable center with thin tails.
SHARED JOBS: REASON · PREDICT
DYNAMICSRandom Walk & Markets
Unpredictable steps accumulate; efficient markets leave mostly randomness behind.
SHARED JOBS: REASON · PREDICT
NETWORKSSchelling Segregation
Mild individual preference for similar neighbors aggregates to stark city-wide segregation.
SHARED JOBS: REASON · PREDICT