"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;

April 21, 2021

Inventory Optimization

Key Notes
  • o9 AI Platform
  • Integrated Business Planning, In memory codebase platform on graph model
  • Supply Chain planning 
  • Enterprise Knowledge Graph
  • Forecast demand, lead time, demand and supply uncertainty, right inventory levels
  • Right size + right mix of inventory to be positioned across right locations
  • Inventory Optimization terms





  • Initial Forecast + Safety Stock - Weekly / Daily 
  • Recommended Safety Stock + Adjusted Levels
  • Factors affecting Optimization




  • Supply Chain Network
  • Multiechelon optimization 
  • Recommendation with holistic view of network

  • Inventory target across supply chain
  • Dependent demand calculation
  • Measure historical actuals and deviations
  • Propagates forecast upstream / Forecast waterfall

  • Lagged forecasts reconciled with actuals
  • Lag correspond to lead times
  • 3 week / 2 week lag


  • ML to arrive at actual lead time

  • Turn around time computation
  • Lead time variability 


Service Levels
  • Classify portfolio
  • Segmentation
  • Service Levels per customer
  • Margin Revenue / Volume
  • Lead time variability







Product Features
CIO view


Planner view


Sensitivity Analysis
  • 95% of baseline forecast
  • 105% of the baseline forecast
  • Scenario Analysis


Multi echelon optimization
  • Cascade at the entire network level
  • Check baseline / nostock scenarios



Feature Variables
  • Understand the influencing factors
  • Promotions
  • Events
  • Historical Data
  • Weekend
  • Temperature / Weather impact
  • Consumer confidence
  • Market Size / Market Share
Long Term / Short Term Forecasting
  • 52-week horizon
  • Short horizon (3 weeks)
  • Holiday seasons
Forecasting 7 pointers
  • Add a safety stock value. Total forecast = Forecast + Safestock value
  • Lag time is identified, Forecast updated between 2-3 weeks, This is to get more accurate numbers as the lag time closes in. 3 months back value vs current forecast value
  • Cluster into different products based on different lead time and then forecast
  • Provide a dashboard for user to pick low range, medium, high range estimate as a graph
  • Forecast should be from bottom up, DC to enterprise level. Each dc will forecast based on its location, weather, historical data
  • The amount of money required to store items is also critical, Adjustments in stock need to be made to accomodate current safety stock quantity
  • Feature variables for forecasting can be provided as configurable / Additional parameters Understand the influencing factors
    • Promotions
    • Events
    • Historical Data
    • Weekend
    • Temperature / Weather impact
    • Consumer confidence
    • Market Size / Market Share
Keep Thinking!!!!

April 11, 2021

Weekend Reads - Tesla AI Andrej Karpathy on Scalability in Autonomous Driving

Key Notes
  • 1 million internet connected devices
  • Navigate on Autopilot / Right Lane changes
  • Summon to parking lot
  • Divide into smaller problems, Solve and incrementally provide features
  • 360 degree safety features / Safety assist
  • Detection to avoid / alert accidents
  • Ambition - Full Self Driving
  • High Definition Maps Approach
  • Similar to human decision making
  • No Lidar maps approach








Neural Networks in Production
  • Static objects / parking lines, Cross walks
  • Hard to achieve predictions
  • Stop sign on walls / flash lights / held by person / occlusion
  • Situations where it applies right / left
  • When to ignore , Largest dataset of stop sign
  • Techniques to boost occluded data
  • Chinese / Korean / Japanese Signs
  • Hydranet, 48 Networks, 1000 predictions
  • Shared CNN backbone
  • 50 Plus seems people
  • Curate dataset, new landmark
  • Segmentation / Detection etc..




  • Curate dataset, new landmark
  • Segmentation / Detection etc..




Summary - Most of them direct detections, shared backbone, transfer learning, a lot of datasets

April 10, 2021

The best practices @ Amazon Fulfillment

Inventory Management / Fulfilment / Vision - Blend of best ideas of vision + data + RFID

  • Similar to RFID - ASIN - Item tracking / Cycle Counting
  • Receive operation when items arrive
  • Inventory Tracking within FC
  • Vision for Item counting
  • Vision for Thermal scanning
  • AI for placing items in a bin
  • Robotics for Supervised goods movements
  • Aurora / Sagemaker
  • Robots - Mobile shelves and products / Locations tracked realtime
  • A visual bin inspection system
  • Vision aided item picking
  • Single Item orders / Multiple item orders
  • Yellow tote of single item orders for single packing
  • Box size, Tape selected by Ml Algo
  • SLAM - Scan, Label, Apply, Manifest / Shipping label
  • Career to use determined by ML
  • Optimal delivery career @ lowest cost
  • Weight vs Item known weight
  • AWS models to predict equipment failures

Happy Learning!!!

April 07, 2021

Windows BSOD

Last few days my windows 10 is giving BSOD

This article was useful 

  1. sfc /scannow command
  2. CHKDSK C: /R
  3. Drivers update
  4. Dell drivers update from site
  5. Windows update
  6. Disable background apps
  7. Limit system memory/pagination
  8. Enable cleartype for better font resolution
Click on the Windows icon to open the Start menu.
  • Locate and click Control Panel.
  • Select System and open Advanced system settings.
  • Navigate to the Advanced tab. ...
  • Proceed to the Visual Effects tab.
  • Make sure to check the Show thumbnails instead of icons option.
  • Click Apply.

sfc /scannow

Dism /Online /Cleanup-Image /CheckHealth

Dism /Online /Cleanup-Image /ScanHealth

Dism /Online /Cleanup-Image /RestoreHealth

Uninstalled - Windows 10 feature update 20h2. Let's if it helps!!! 

3~4 days this issue kept occurring again and again. Microsoft help desk is no better, they hear and disconnect, Pathetic. At least for this reason I feel I could switch to mac.




Finally managed to get help from MS Support :)

Again issue happening as of 11th. Some more tweaks, Pathetic Windows, For plain powerpoint, teams, outlook it crashes. 


Keep Thinking!!!

April 05, 2021

Azure Video Analytics - Webinar Lessons

Simplifying Vision AI in Azure IoT Central


Key Notes

  • Simplify IoT Solution development
  • Vision Analytics
  • Collecting Video Signals process at edge
  • Video processing pipeline
  • Insights sent to IoT Central
  • Device management in cloud
  • Insights with PowerBI
  • Azure media services live analytics
  • OnVIF Module

Azure IoT Apps - Link








  • Custom app
  • Azure Media Services Account
  • Azure Edge Run Time
  • IoT Central Application

Link1 - Steps

  • Azure IoT Central video analytics application template to 
  • Template for an IoT Edge gateway device
  • Add a gateway device to your IoT Central application

Link2 - Steps

  • Create an Azure VM with the Azure IoT Edge runtime installed
  • Prepare the IoT Edge installation to host the live video analytics module and connect to IoT Central

Link3 - Steps

  • Add object and motion detection cameras to your IoT Central application.
  • Manage your video streams and play them when interesting events are detected.

Experiment More!!!

Keep Thinking!!!

April 03, 2021

GAN - Aging Papers

AgingMapGAN (AMGAN): High-Resolution Controllable Face Aging with Spatially-Aware Conditional GANs

Key Notes

  • A model capable of individually transforming the local aging signs. Aging process of the different parts of the face.
  • Patch-based approach to enable inference on high-resolution images while keeping the computational cost of training the model low


Dataset - Flicker Faces High-Quality Dataset (FFHQ) 

More read - Link

PFA-GAN: Progressive Face Aging with Generative Adversarial Network

Key Notes

  • Progressive face aging framework based on generative adversarial network (PFA-GAN) to model the face age progression in a progressive way
  • We introduce an age estimation loss to take into account the age distribution for an improved aging accuracy


Triple-GAN: Progressive Face Aging with Triple Translation Loss

Key Notes

  • GAN adopts triple translation loss to model the strong interrelationship of age patterns among different age groups
  • By adopting triple translation loss, the progressive mappings of different age domains are fully correlated. The generator is encouraged to be reusable, generating synthesized faces with the more evident aging effect.
  • Enhanced adversarial loss is adopted to effectively model the complex distribution of age domains

Dataset - Cross-Age Celebrity Dataset (CACD)


Keep Thinking!!!

April 02, 2021

When to Retire

In the next few years, the goal would be to

  • Focus on small saas based offering's
  • Build out of box products
  • Decent recurring revenue, Upgrade and run 
  • Teach, Code, Travel, Retire
  • Let the next 20 years be more of experiments than repeating past 20 years
Keep Thinking!!!