Aiming at the problem of high volatility and intermittency of new energy-containing power systems, which affects the prediction accuracy of carbon emissions, we study the adaptive prediction method of carbon emissions of a new energy-containing power system based on a least-squares support vector machine. The carbon emission coefficients of the nodes of the new energy-containing power system are determined based on the trend analysis method. Historical carbon emissions and carbon emission coefficients of the power system are collected, and the rough set method is used to simplify the carbon emission attributes and obtain a simplified attribute set for carbon emission prediction. The least-squares support vector mechanism is used to construct the carbon emission prediction model, and the simplified attribute set is used as the input of the carbon emission prediction model. The whale optimization algorithm was selected to determine the optimal parameters of the least-squares support vector machine through the process of encircling prey, hunting behavior, searching for predation, and adaptively optimizing the least-squares support vector machine to output carbon emission prediction results. The experimental results show that the method can accurately predict the carbon emissions of the power system, and the mean square error of the carbon emissions prediction is lower than 7.