The study investigates the heat transfer and friction factor properties of ethylene glycol and glycerol-based silicon dioxide nanofluids flowing in a circular tube under continuous heat flux circumstances. This study tackles the important requirement for effective thermal management in areas such as electronics cooling, the automobile industry, and renewable energy systems. Previous research has encountered difficulties in enhancing thermal performance while handling the increased friction factor associated with nanofluids. This study conducted experiments in the Reynolds number range of 1300 to 21,000 with particle volume concentrations of up to 1.0%. Nanofluids exhibited superior heat transfer coefficients and friction factor values than the base liquid values. The highest enhancement in heat transfer was 5.4% and 8.3% for glycerol and ethylene glycol -based silicon dioxide Nanofluid with a relative friction factor penalty of ∼30% and 75%, respectively. To model and predict the complicated, nonlinear experimental data, five machine learning approaches were used: linear regression, random forest, extreme gradient boosting, adaptive boosting, and decision tree. Among them, the decision tree-based model performed well with few errors, while the random forest and extreme gradient boosting models were also highly accurate. The findings indicate that these advanced machine learning models can accurately anticipate the thermal performance of nanofluids, providing a dependable tool for improving their use in a variety of thermal systems. This study's findings help to design more effective cooling solutions and improve the sustainability of energy systems.