Robust Anomaly Recognition in Hydraulic Structural Safety Monitoring: A Methodology Based on Deconfounding Boosted Regression Trees
Algorithm 1
Training of a two-stage boosted regression trees model.
Input: Train data collection , loss function L, max iteration number M, and learning rate λ
Output: Second-stage regression function and each first stage regression function 1//Initialize each first stage regression function2//Initialize second-stage regression function3whiledo4whiledo5 //Get residual’s gradient of 678 //Train a new CART tree to update regression function of 9end10 //Get residual’s gradient of 111213 //Train a new CART tree to update regression function of 14end15Return and