The building has great potential for energy savings as one of the locations that humans often occupy. In addition to energy efficiency, humans must consider environmental sustainability and the comfort of the building's occupants. Conditioning of indoor air quality, including those related to thermal comfort, continues to be pursued to be more economical, one of which is to utilize the prediction of occupants' thermal sensations. The prediction results can be utilized to adjust room air conditions more economically. This paper proposes using extreme gradient boosting (XGBoost) and support vector machine (SVM) to predict the thermal sensation in the building. The built environment parameters are preprocessed, and the thermal sensation is predicted by intelligent systems. The ten variables that most influence the level of accuracy of this thermal sensation prediction system are thermal preference vote, indoor operative temperature, Griffith's neutral temperature, indoor globe temperature, mean radiant temperature, Indoor air temperature, predicted mean vote, and outdoor mean temperature. SVM with four features, XGBoost and XGBoost with hyperparameter tuning, achieve an accuracy of 99.45%, 97.81%, and 98.08%, respectively. Regarding computational complexity, training an SVM system with the same number of features requires a shorter time than XGBoost training. The same thing also happened with the test of the SVM system, which required a shorter time compared to the time for the examination of the XGBoost system.