Sklearn Robust Scaler icon

Sklearn Robust Scaler

Scale features using statistics robust to outliers (median and IQR)

Inverse Transform

AI-generated

Summary

Reverse a fitted RobustScaler transformation on specified columns.

Inputs

  • scalerData (required) — JSON string containing the fitted scaler
  • transformColumns (required) — Comma-separated list of column names to inverse transform
  • pythonPath — Path to the Python executable that has scikit-learn installed

Output shape

A list of workflow items, each augmented with new fields named '_original' containing the inverse transformed values

Added fields are optional and correspond to each transformed column; if no columns are specified the output mirrors the input

Examples

Example 1: Undo scaling of columns 'age' and 'income'

operation=Inverse Transform; transformColumns=age,income; scalerData={"center":[0,0],"scale":[1,1],"with_centering":true,"with_scaling":true,"quantile_range":[25,75]}

Example 2: Revert a single column 'value' transformation

operation=Inverse Transform; transformColumns=value; scalerData={"center":null,"scale":null,"with_centering":false,"with_scaling":false,"quantile_range":[10,90]}

Discussion