NCAD is a framework specifically designed for contextual anomaly detection in time series, seamlessly scaling from unsupervised to supervised settings by combining representation learning with deep anomaly detection techniques adapted from computer vision.