Predict with four models and unify results by the sub-model's specificity score to the four possible classes.
mi_unify_mod(
data,
col_id,
result_rg,
result_rp,
result_xgb,
result_BP,
c_value = 0.75,
pad_len = 30
)A dataframe.
A dataframe contains the ID column.
The name of ID column.
The result from the Random Forest model.
The result from the Decision Tree model.
The result from the XGBoost model.
The result from the Backpropagation Neural Network model.
A numeric value used in the final prediction calculation.
The length to pad the ID characters to.