Cardiovascular disease is a typical chronic disease. The incidence of cardiovascular disease in the elderly population has grown to exceed 50%. The further aging of the current population has brought additional pressure on public health services. Therefore, to reduce the service pressure of medical institutions, accurate prediction of cardiovascular disease risk has become an essential task in intelligent elderly care. In order to achieve accurate prediction of cardiovascular disease risk, we propose a cardiovascular disease risk prediction model Acdim (a cardiovascular disease risk prediction model) based on ResNet (Residual Network), zebra optimization algorithm (ZOA), TabNet (Attentive Interpretable Tabular Learning), and AdaBoost (Adaptive Boosting) algorithms. In training the Acdim model, we used the dat set of the World Health Organization (WHO) Behavioral Risk Factor Monitoring System records. In the experiment, the Acdim model achieved an accuracy of 96%, a precision of 94%, a recall of 93%, a specificity of 95%, an F1 score of 91%, and an AUC of 95%. The experimental results show that the proposed Acdim model can enable elderly care institutions to accurately predict the risk of cardiovascular disease in the absence of doctors.
Human-database interaction is inevitable in intelligent system applications, and accurately converting user-entered natural language into database query language is a critical step. To improve the accuracy, generalization, and robustness of text-to-SQL, we propose Nabil (a model for natural language conversion query language based on brain-inspired computing technology and a large language model). This model first leverages the spatiotemporal encoding capabilities of spiking neural networks to capture semantic features of natural language, then fuses these features with those generated by a large language model. Finally, a champion model is designed to select the optimal query from multiple candidate SQLs. Experiments were conducted on three database engines, DuckDB, MySQL, and PostgreSQL, and the model’s effectiveness was verified on benchmark datasets such as BIRD. The results show that Nabil outperforms existing baseline methods in both execution accuracy and effective efficiency scores. Furthermore, our proposed normalization and syntax tree abstraction algorithms further enhance the champion model’s discriminative capabilities, providing new insights for text-to-SQL research.