Antibiotics and triazole fungicides coexist in varying concentrations in natural aquatic environments, resulting in complex mixtures. These mixtures can potentially affect aquatic ecosystems. Accurately distinguishing synergistic and antagonistic mixtures and predicting mixture toxicity are crucial for effective mixture risk assessment. We tested the toxicities of 75 binary mixtures of antibiotics and fungicides against Auxenochlorella pyrenoidosa. Both regression and classification models for these mixtures were developed using machine learning models: random forest (RF), k-nearest neighbors (KNN), and kernel k-nearest neighbors (KKNN). The KKNN model emerged as the best regression model with high values of determination coefficient (R2 = 0.977), explained variance in prediction leave-one-out (Q2LOO = 0.894), and explained variance in external prediction (Q2F1 = 0.929, Q2F2 = 0.929, and Q2F3 = 0.923). The RF model, the leading classifier, exhibited high accuracy (accuracy = 1 for the training set and 0.905 for the test set) in distinguishing the synergistic and antagonistic mixtures. These results provide crucial value for the risk assessment of mixtures.