The invention provides a method and a
system for predicting cardiovascular and cerebrovascular
disease risks. The method comprises the following steps: step 1, defining problems of cardiovascular and cerebrovascular
disease prognosis risk prediction, step 2, collecting health medical data of cardiovascular and cerebrovascular
disease patients; step 3, preprocessing data, including
data integration, data cleaning, and
processing missing data; step 4, constructing features and selecting features, identifying
potential risk factors; step 5, the identified risk factors and
rehabilitation outcomes forming an input-output sample set, inputting the input-output sample set to a
random forest algorithm for model training, and evaluating prediction performance of a model. The method and the
system can obtain health medical data of cardiovascular and cerebrovascular disease patients, the data being required by a clinician input model, and a predicted
rehabilitation outcome of a patient in a certain time period in future is obtained through the model. The method and the
system can preferably predict prognosis risks, so as to realize personalized accurate
rehabilitation treatment.