AI Sales Automation Lab ·
Keep the same numeric transformation in training and prediction
Keep the same numeric transformation in training and prediction
A sales model can receive order quantities in the hundreds and another numeric feature on a much smaller scale. Before reviewing its output, ask how the numeric inputs were prepared and whether the same preparation is applied when new cases arrive. Consistency is part of the model's operating specification.
Google's machine-learning guidance describes normalization as bringing features to similar scales. It also explicitly says a feature normalized during training must be normalized when making predictions. This concerns a model's numeric feature pipeline, rather than a general instruction to rewrite every number in an AI-generated email.
Create a feature contract containing the source field, original unit, permitted values, transformation, and the version used for the trained model. Ask the technical owner where the required transformation parameters are retained. A note saying data is cleaned does not explain how a new raw value becomes the model input.
For a fictional enquiry model, suppose an agreed training transformation maps order quantity into a defined range. Check that the prediction path uses the same documented transformation. Sending a raw quantity where the model expects a transformed value changes what it receives, even if the request is accepted without a visible error.
Choose and evaluate the transformation around the actual data. Google's guidance discusses linear, Z-score, and logarithmic scaling with different distribution characteristics. Do not select a method only because its formula is short. Have the model owner inspect the feature distribution, outliers, and evaluation behaviour before settling the preprocessing arrangement.
Keep the original value available in the appropriate source record for business interpretation. A salesperson may need the customer's real quantity, while the model consumes its numeric representation. Label those fields clearly so a transformed value is not copied into a quotation as though it were the ordered amount.
When the preprocessing changes, review its connection with the model and repeat the relevant evaluation before relying on the result. Use the documented workflow when comparing data tools or computer equipment in the business shop. Choose around the real task and existing system requirements. Qualifying purchases through affiliate links may earn the site a commission. A consistent input transformation makes the model's behaviour easier to investigate.
Sources and further reading
This is general information. Check the relevant authority or manufacturer for the rules, compatibility and terms that apply to your situation.
More practical guides