The emerging novel variants and re-merging old variants of SARS-CoV-2 make it critical to study the transmission probability in mixed-mode ventilated office environments. Artificial neural network (ANN) and curve fitting (CF) models were created to forecast the R-Event. The R-Event is defined as the anticipated number of new infections that develop in particular events occurring over the course of time in any defined space. In the spring and summer of 2022, real-time data for an office environment were collected in India in a mixed-mode ventilated office space in a composite climate. The performances of the proposed CF and ANN models were compared with respect to traditional statistical indicators, such as the correlation coefficient, RMSE, MAE, MAPE, NS index, and a20-index, in order to determine the merit of the two approaches. Thirteen input features, namely the indoor temperature (TIn), indoor relative humidity (RHIn), area of opening (AO), number of occupants (O), area per person (AP), volume per person (VP), CO2 concentration (CO2), air quality index (AQI), outer wind speed (WS), outdoor temperature (TOut), outdoor humidity (RHOut), fan air speed (FS), and air conditioning (AC), were selected to forecast the R-Event as the target. The main objective was to determine the relationship between the CO2 level and R-Event, ultimately producing a model for forecasting infections in office building environments. The correlation coefficients for the CF and ANN models in this case study were 0.7439 and 0.9999, respectively. This demonstrates that the ANN model is more accurate in R-Event prediction than the curve fitting model. The results show that the proposed ANN model is reliable and significantly accurate in forecasting the R-Event values for mixed-mode ventilated offices.