“…In this study, 13 input variables, including the category of STP, category of TTP, IV, influent COD, influent NH 4 + -N, influent TN, influent TP, influent SS, effluent COD, effluent NH 4 + -N, effluent TN, effluent TP, and effluent SS, were utilized to predict indirect carbon emissions from electrical consumption of WWTPs. These input variables were chosen due to their close relationships with electrical consumption and easy availability. , The data of numerical input variables were first normalized by Z-score normalization, whereas the categorical variables ( i.e. , STP and TTP) were encoded by three types of category encoders, including ordinal encoder (OE), leave-one-out encoder (LOOE), and quantile encoder (QE) (Tables S2 and S3).…”