INTRODUCTION: Random Forests are an important model in machine learning. They are simple and very effective classification approach. The random forest identifies the most important features of a given problem.OBJECTIVES: The heart disease is cardiovascular disease, with a set of conditions affecting the heart. During heart disease, there will be heartbeat problems with congenital heart disorders and coronary artery defects. A coronary heart defect is a heart disease, which decreases the flow of blood to the heart. When the flow of blood decreases heart attack occurs. It is necessary to analyse the prediction of heart attack based on the symptoms.METHODS: The available data set of patients with heart defects symptoms is taken and analysed in this paper using the random forest and decision tree regression models. The missing data is updated using mean value of the attribute. Python language is used to predict the accuracy.RESULTS: Three performance measures are taken for analysing the available UCI Cleveland data set for heart disease. The performance measures are the Mean Absolute Error, Mean Squared Error and Root Mean Squared Error. Vital attributes of the data set are taken for analyses using the random forest regression model and decision tree regression model. The analyses shows that the slope attribute provides the better prediction for the heart disease. The results are shows that the females are more prone to heart attack.CONCLUSION: Prediction of heart disease using the UCI machine learning data set at Cleveland repository is analysed using random forest regression model and decision tree regression models. We find random forest regression model provides better accuracy than decision tree regression model.