INDEPENDENT PERSPECTIVES. INTELLIGENT FUTURES.FOLLOW @THESITIMES ↗
The Super Intelligence Times.
AI · SUPERINTELLIGENCE · ROBOTICS · TECHNOLOGYTHE WORLD, REIMAGINED.
← Artificial Intelligence deskArtificial Intelligence / ORIGINAL EXPLAINER

Transforming the target changes what error means

Predicting a logarithm is not the same optimization problem as predicting the original value.

Hercules Graphics Card
Hercules Graphics Card. · Illustrative archive photograph. smial (talk) / Wikimedia Commons · CC BY-SA 2.0 de. Resized for display; image rights remain with the credited creator.

Work in a different outcome space

A target transformation changes the value a model learns to predict, then maps predictions back to the original scale. For example, a transformation can make a heavily skewed numerical outcome easier to model. The choice also changes which errors receive emphasis during training. An improvement on the transformed scale does not automatically mean an improvement on the scale that users care about.

A restoration-cost example

Imagine estimating the time required to restore furniture. Most jobs take a few hours, while a small number require weeks. A transformation may reduce the dominance of exceptionally long jobs during fitting. That can help the model describe typical work, but it may also make large absolute misses on complex projects less visible in the training objective.

Back-transformation needs care

Inverting a transformed prediction does not always recover the same statistical quantity that a direct model would estimate. A predicted average in one space may not become an average in another. Some transformations also require valid ranges or special handling for zero and negative values. These details should be treated as modeling choices rather than hidden implementation conveniences.

Evaluate where decisions happen

For the restoration studio, compare estimates in actual hours and inspect both ordinary and unusually demanding projects. Explain whether the output is intended as a typical duration, a planning allowance or another quantity. Keep an untransformed baseline to expose what the transformation changes. A useful target transformation makes learning more effective while preserving a clear account of the errors the organization is accepting and the decisions those errors might affect. The studio should also define how interrupted projects are counted, since an unclear outcome measure can make a mathematically sound transformation operationally confusing.

Sources & further reading

scikit-learn documentation: preprocessing targets ↗

AI-assisted editorial explainer. Sources are provided for verification.

Suggest a correction ↗

Continue reading

The quiet power of a straight line ↗

Probability is not a verdict ↗

The hidden decision inside every AI classifier ↗

Subscribe to the Times ↗

Explore the Times.