Before neural networks learned representations directly from raw sequences, practitioners usually had to design those representations by hand. The central task was not only choosing a model, but deciding how to turn a variable-length, temporally ordered signal into fixed, informative features that classical algorithms could use.
This approach shaped much of early work in time series analysis, speech processing, finance, industrial monitoring, and sensor-based classification. In many domains, the quality of the handcrafted features mattered more than the choice of downstream model.
Sequential data is different from ordinary tabular data because order matters. A sequence contains dependencies across time, local patterns, recurring motifs, trends, seasonality, bursts, and irregular intervals. Two sequences may contain the same values in different orders and mean very different things.
Classical machine learning methods such as logistic regression, support vector machines, decision trees, and linear models usually expected fixed-length feature vectors. That created a practical problem:
Feature engineering was the bridge between raw sequential structure and models that could not directly consume sequences.
The pre-deep-learning workflow was usually:
In effect, feature engineering was a form of manual representation learning.
A simple but powerful idea is to use earlier values as predictors for later outcomes.
Examples:
t-1t-2t and t-1k stepsThese features were especially common in forecasting and autoregressive models.
Example:
x_t = current observation
features = [x_(t-1), x_(t-2), x_(t-3), x_(t-7)]