The Machine Learning Model and Information
Documenting how the ML model is implemented and trained.
The current WPI Definition requires all the previously listed parameters to be present to produce a valid WPI score. The scarce parameters from the unmonitored water bodies are insufficient for our WPI Definition. This section proposes a Machine Learning (ML) model trained on a labeled set of results from our WPI definition. For the model, we chose XGBoost, a scalable tree boosting algorithm that that is efficient in spotting nonlinear patterns between data and the result. Additionally, we build a confidence metric for the model that indicates the 90% confidence of the model in the estimated score being between . The larger the gap between and is, the more limited information the supplied parameters provided. This contributes in understanding when and when not to trust the model with its estimations.
Since our WPI definition is deterministic we can synthetically generate the data required for the models training. It is generated in four sections: the high ranges, mid ranges, low ranges, and lowest ranges, with each range approaching the ideal parameter values more. The high range has samples, the mid and low ranges has samples each, and the lowest range has samples, with a total of samples.
This data is then processed to create scenarios where some parameter values are hidden. This is applied to every combination of missing parameters, excluding the combination where all parameters are hidden, for a total of unique combinations.
This training data is then fed into the XGBoost Regressor model with estimators, learning rate, and a max depth of . The calibration process is then executed which handles the confidence metric based on what parameter is missing.