How historian compression distorts machine learning
The series in a historian is not the series the sensor saw. Compression settings change what features and models learn.
Turn a tag value into a usable observation with units, quality, timestamps and asset context.
The number 72 could mean temperature, speed or load. Keep asset identity, signal identity, engineering units, source time, receipt time and quality status with each reading. Version mappings so that a renamed integration tag does not silently change asset identity.
Do not turn bad quality into a zero reading. If carrying a last-known value forward, include an explicit flag and its age. A model must not confuse a three-hour-old reading with a fresh measurement. The process engineer should define acceptable staleness in the data contract.
Create fixtures for clocks moving backward, duplicate readings and mixed time zones. Monitor the difference between source and receipt time. When choosing a resampling interval, consider whether averaging could hide a brief event. Keep raw measurements separate from derived features.
Start with asset_id, signal_id, source_timestamp, received_timestamp, value, unit, quality and schema_version. Complete the contract for five critical signals before expanding the pilot. A working connection alone does not establish analytical fitness; use unit, timing and quality checks for acceptance.
Each reading should carry asset identity, signal identity, engineering units, source time, receipt time and quality status. A proposed starting set is asset_id, signal_id, source_timestamp, received_timestamp, value, unit, quality and schema_version. Complete the contract for five critical signals before expanding the pilot.
Create fixtures for clocks moving backward, duplicate readings and mixed time zones. Monitor the difference between source time and receipt time. When choosing a resampling interval, check whether averaging could hide a brief event, and keep raw measurements separate from derived features.
Pilot steps in this guide are proposed engineering workflows. Examples do not constitute measured field performance.