Trace classifier