Warfarin dose prediction adjustment method and system based on multiple linear regression

By constructing a warfarin dose prediction system based on multiple linear regression, and combining multidimensional data and gene polymorphism, the problems of subjective differences and real-time dynamic adjustment in warfarin dose adjustment are solved, achieving more accurate dose prediction and safer personalized management.

CN120977616BActive Publication Date: 2026-02-13RUIJIN HOSPITAL AFFILIATED TO SHANGHAI JIAO TONG UNIV SCHOOL OF MEDICINE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511500641.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-21
Publication Date
2026-02-13
Estimated Expiration
2045-10-21

AI Technical Summary

Technical Problem

Current warfarin dosage adjustment methods rely on physician experience, are subject to subjective differences, do not fully consider the impact of genetic polymorphisms, have low predictive accuracy, lack real-time dynamic adjustment mechanisms, and are difficult to meet individual differences and clinical needs.

Method used

A warfarin dose prediction system based on multiple linear regression was constructed. Multidimensional parameters were obtained through the patient data acquisition module. Combined with gene polymorphism and age data, a refined patient feature space was constructed, dose adjustment levels and mapping relationships were established, and dose adjustments were predicted and triggered in real time.

Benefits of technology

It enables more accurate warfarin dosage prediction, reduces subjective interference, dynamically tracks changes in the patient's condition, provides clear dosage adjustment suggestions, and improves the safety and operability of clinical application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120977616B_ABST
    Figure CN120977616B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of warfarin dose regulation, and discloses a warfarin dose prediction adjustment method and system based on multiple linear regression, which comprises a patient data acquisition module, a gene data acquisition module, a model construction module, a dose adjustment module, a real-time prediction module and an adjustment execution module. The patient data acquisition module synchronously acquires multi-dimensional parameters under different treatment states to build a treatment data set; the gene data acquisition module acquires gene polymorphism and age data, combines the treatment data set to build a refined patient characteristic space, and the model construction module builds and trains a multiple linear regression prediction model according to the patient characteristic space to extract a dose index; the dose adjustment module builds a dose adjustment level and a mapping relationship with the dose index; the real-time prediction module acquires real-time treatment parameters, combines the model to obtain a real-time self-adaptive dose index; the adjustment execution module obtains a prediction adjustment level according to the mapping relationship, and if the prediction adjustment level exceeds a preset threshold, a dose adjustment mechanism is triggered.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of warfarin dose regulation, in particular to a warfarin dose prediction adjustment method and system based on multiple linear regression. BACKGROUND

[0002] Warfarin is a commonly used oral anticoagulant in clinical practice, widely used in the prevention and treatment of thromboembolic diseases, such as atrial fibrillation, artificial heart valve replacement, etc. In the process of clinical application, the therapeutic window of warfarin is narrow, and the response of different patients to the drug shows significant individual differences. Insufficient dose can easily lead to thrombosis, and excessive dose may cause serious adverse reactions such as bleeding, and even endanger the life of the patient. Therefore, accurate dose adjustment is crucial to ensure treatment effect and drug safety.

[0003] Currently, warfarin dose adjustment in clinical practice mainly relies on the experience of doctors to judge according to the clinical indicators (such as international normalized ratio INR), age, weight, and concurrent medication of patients. However, this traditional method has obvious limitations: the experience of doctors is easily affected by subjective factors, and different doctors may have different dose adjustment plans for the same patient, making it difficult to form a unified and standardized adjustment standard; the traditional method does not fully consider the influence of genetic polymorphism on drug metabolism, and relevant studies have shown that the polymorphism of genes related to warfarin metabolism (such as CYP2C9, VKORC1, etc.) in patients can significantly affect the metabolism rate and efficacy of the drug, and ignoring this factor will reduce the accuracy of dose prediction and increase the risk of medication. With the development of medical information technology and artificial intelligence technology, some studies have attempted to build a warfarin dose prediction method based on data models, but existing models still have many shortcomings. Some models only rely on a single type of data (such as clinical indicators or genetic data) to build a prediction model, and fail to utilize multi-dimensional data, resulting in incomplete characterization of individual differences in patients and limited prediction accuracy; other models consider multi-dimensional data, but lack real-time data updating and dynamic adjustment mechanisms, and cannot optimize the dose plan in a timely manner according to the real-time changes in the patient's condition (such as INR value fluctuations, concurrent medication adjustments, etc.), making it difficult to meet the needs of dynamic treatment in clinical practice. In addition, most existing models only output predicted dose values, without establishing clear dose adjustment level classification and corresponding trigger mechanisms, making it difficult for doctors to quickly determine whether the dose needs to be adjusted and the adjustment range in actual application, reducing the clinical applicability and operability of the model. SUMMARY

[0004] The purpose of the present application is to provide a warfarin dose prediction adjustment method and system based on multiple linear regression to solve the problems raised in the background.

[0005] To achieve the above object, the application provides a warfarin dose prediction adjustment system based on multiple linear regression, which comprises:

[0006] A patient data acquisition module is configured to synchronously acquire multi-dimensional parameter data of a patient in different treatment states and to construct a patient treatment data set;

[0007] A gene data acquisition module is configured to acquire gene polymorphism data and patient age data of the patient, and to construct a refined patient feature space based on the patient treatment data set, the gene polymorphism data and the patient age data;

[0008] A model construction module is configured to construct and train a warfarin dose prediction model based on the refined patient feature space and to extract a warfarin dose index;

[0009] A dose adjustment module is configured to establish a warfarin dose adjustment level and to construct a mapping relationship between the warfarin dose index and the warfarin dose adjustment level;

[0010] A real-time prediction module is configured to acquire real-time treatment parameters of the patient and to obtain a real-time adaptive warfarin dose index according to the real-time treatment parameters of the patient and the warfarin dose prediction model;

[0011] An adjustment execution module is configured to obtain a predicted dose adjustment level according to the real-time adaptive warfarin dose index and the mapping relationship between the warfarin dose index and the dose adjustment level, and to trigger a dose adjustment mechanism if the predicted dose adjustment level exceeds a preset threshold.

[0012] Preferably, the multi-dimensional parameter data comprises international normalized ratio data and patient weight feature data.

[0013] The refined patient feature space is constructed based on the patient treatment data set, the gene polymorphism data and the patient age data, and comprises:

[0014] A treatment response feature matrix is obtained based on the patient treatment data set;

[0015] A gene age feature matrix is obtained based on the gene polymorphism data and the patient age data;

[0016] The treatment response feature matrix and the gene age feature matrix are fused to construct the refined patient feature space.

[0017] Preferably, the treatment response feature matrix is obtained based on the patient treatment data set, and comprises:

[0018] The patient treatment data set is subjected to a rate of change calculation, and multi-parameter rate of change data is extracted; the multi-parameter rate of change data includes an international normalized ratio rate of change and a patient weight characteristic rate of change;

[0019] Based on the multi-parameter rate of change data, the treatment response feature matrix is obtained.

[0020] Preferably, the treatment response feature matrix is obtained based on the multi-parameter rate of change data, including:

[0021] Based on the international normalized ratio rate of change, statistical characteristics of international normalized ratio data in different time periods are calculated to obtain an international normalized ratio feature vector;

[0022] Based on the patient weight characteristic rate of change, statistical characteristics of patient weight characteristic data in different time periods are calculated to obtain a weight feature vector;

[0023] The international normalized ratio feature vector and the weight feature vector are spliced by column to form the treatment response feature matrix.

[0024] Preferably, the gene age feature matrix is obtained based on the gene polymorphism data and the patient age data, including:

[0025] The gene polymorphism data is encoded to obtain gene encoding data;

[0026] Feature extraction is performed from the gene encoding data and the patient age data to obtain a gene age feature vector;

[0027] The gene age feature matrix is constructed from the gene age feature vector.

[0028] Preferably, the fusion of the treatment response feature matrix and the gene age feature matrix to construct the essence patient feature space includes:

[0029] The treatment response feature matrix and the gene age feature matrix are subjected to data standardization processing;

[0030] The standardized treatment response feature matrix and the gene age feature matrix are spliced by column to form a multi-dimensional patient feature matrix;

[0031] Feature selection is performed on the multi-dimensional patient feature matrix;

[0032] Feature extraction is performed on the multi-dimensional patient feature matrix after feature selection to obtain the essence patient feature space.

[0033] Preferably, the warfarin dose prediction model is constructed and trained based on the essence patient feature space, including:

[0034] constructing a training sample set with patient features in the refined patient feature space as sample features and the manually-annotated warfarin dose indicator as sample labels;

[0035] constructing an initial warfarin dose prediction model using a multivariate linear regression model;

[0036] training the initial warfarin dose prediction model using the training sample set to obtain a weight coefficient and a bias term for each patient feature;

[0037] obtaining a final warfarin dose prediction model based on the weight coefficient and the bias term for each patient feature.

[0038] Preferably, the dose adjustment module establishes warfarin dose adjustment levels, and the mapping relationship between the warfarin dose indicator and the warfarin dose adjustment levels comprises:

[0039] defining a plurality of warfarin dose adjustment levels;

[0040] constructing a corresponding relationship between the warfarin dose indicator and the warfarin dose adjustment levels based on historical data;

[0041] storing the mapping relationship.

[0042] Preferably, the real-time prediction module obtains real-time treatment parameters of a patient, and obtains a real-time adaptive warfarin dose indicator according to the real-time treatment parameters of the patient and the warfarin dose prediction model, which comprises:

[0043] obtaining real-time treatment parameters of the patient, and constructing a mapping relationship between the real-time treatment parameters and a weight adjustment coefficient, wherein the construction of the mapping relationship of the weight adjustment coefficient relies on a clinical rule knowledge base, and includes weight correction rules in twenty-seven clinical scenarios, each rule is converted into a triple structure including a trigger condition, an impact feature and an adjustment coefficient, and is stored in a hash mapping table of an in-memory database to support millisecond-level rule matching;

[0044] calculating a real-time weight adjustment coefficient according to the real-time treatment parameters of the patient and the mapping relationship;

[0045] adjusting the weight coefficient of each patient feature in the warfarin dose prediction model according to the real-time weight adjustment coefficient to obtain an adjusted weight coefficient;

[0046] calculating the real-time adaptive warfarin dose indicator under the current working condition using the adjusted weight coefficient.

[0047] Preferably, the application also includes a warfarin dose prediction adjustment method based on multiple linear regression, which comprises all the modules and method processes of the warfarin dose prediction adjustment system based on multiple linear regression as described above.

[0048] Compared with the prior art, the application has the following beneficial effects:

[0049] In the data acquisition and processing link, the patient data acquisition module can synchronously acquire multi-dimensional parameter data of the patient in different treatment states, covering clinical routine indicators, medication information, etc., while the genetic data acquisition module further incorporates genetic polymorphism data and age data to construct a refined patient feature space. This multi-dimensional data fusion acquisition method breaks through the limitation of single data type in traditional dose adjustment, not only capturing the patient's clinical basic information comprehensively, but also fully integrating the key factors affecting drug metabolism at the genetic level, making the constructed patient feature space more in line with the actual situation of individual differences, laying a data foundation for subsequent precise prediction of the model, and making dose prediction no longer rely on single-dimensional information, but based on a more comprehensive patient portrait.

[0050] In terms of model construction and dose prediction, the model construction module constructs and trains a warfarin dose prediction model based on the refined patient feature space using a multiple linear regression algorithm, which can effectively mine the linear relationship between multi-dimensional features and warfarin dose, accurately extract warfarin dose indicators, greatly improve the objectivity and accuracy of dose prediction compared with traditional experience judgment and single data model, reduce the interference of subjective factors on dose judgment, and make the dose prediction result more in line with the individual metabolic characteristics and disease needs of the patient.

[0051] In terms of dose adjustment mechanism design, the dose adjustment module establishes warfarin dose adjustment levels and constructs a mapping relationship between dose indicators and adjustment levels. This level division method makes the dose adjustment standard clearer and more standardized, and doctors can intuitively understand the adjustment direction and amplitude corresponding to different dose indicators, avoiding the problem of inconsistent adjustment standards in traditional experience judgment. At the same time, the real-time prediction module can acquire real-time treatment parameters of the patient, generate real-time adaptive dose indicators combined with the trained prediction model, realize dynamic tracking of the patient's disease changes, ensure that the dose prediction can keep up with the disease fluctuations in the patient's treatment process, break the limitation of the lack of real-time updating mechanism of existing models, and make the dose scheme always match the current treatment state of the patient.

[0052] In terms of clinical application safety and operability, the adjustment execution module triggers the dose adjustment mechanism by judging whether the predicted dose adjustment level exceeds the preset threshold. This threshold judgment mechanism sets a clear trigger condition for dose adjustment, which can effectively avoid unnecessary dose adjustment, reduce the risk of medication caused by frequent dose adjustment, and also provides a clear decision basis for doctors. When the adjustment level exceeds the threshold, the doctor is prompted to take adjustment measures in time, helping doctors make quick decisions and improving clinical work efficiency. In addition, the whole system realizes the full-process automatic processing from data collection, model prediction to dose adjustment suggestion, reduces the manual operation link and reduces the probability of human error. At the same time, the functions of each module are clear and logical, and doctors do not need complex operation steps in the use process, so as to obtain accurate dose adjustment suggestion, significantly improve the clinical practicability and generalizability of the system, and better adapt to the clinical needs of medical institutions of different levels, and provide support for anticoagulant therapy for more patients. BRIEF DESCRIPTION OF DRAWINGS

[0053] Figure 1 A timing diagram of the warfarin dose prediction adjustment system based on multiple linear regression described in the application;

[0054] Figure 2 A flowchart for constructing a concise patient feature space;

[0055] Figure 3 A flowchart for real-time adaptive warfarin dose index calculation. DETAILED DESCRIPTION

[0056] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only part of the embodiments of the application, not all. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the application.

[0057] Please refer to Figure 1 The application provides a warfarin dose prediction adjustment system based on multiple linear regression, which comprises: through integration of a patient data acquisition module, a gene data acquisition module, a model construction module, a dose adjustment module, a real-time prediction module and an adjustment execution module, precise prediction and dynamic adjustment of warfarin dose are realized.

[0058] The patient data acquisition module synchronously acquires multi-dimensional parameter data of the patient in different treatment states, including international normalized ratio data and patient weight characteristic data, and constructs a patient treatment data set. The gene data acquisition module acquires gene polymorphism data and patient age data of the patient, and combines the patient treatment data set to construct a refined patient characteristic space. The model construction module constructs and trains a warfarin dose prediction model based on the refined patient characteristic space by using a multiple linear regression method, and extracts a warfarin dose index. The dose adjustment module establishes a warfarin dose adjustment level, and constructs a mapping relationship between the warfarin dose index and the dose adjustment level. The real-time prediction module acquires real-time treatment parameters of the patient, combines the warfarin dose prediction model, and calculates a real-time adaptive warfarin dose index. The adjustment execution module obtains a predicted dose adjustment level according to the real-time adaptive warfarin dose index and the mapping relationship, judges whether the predicted dose adjustment level exceeds a preset threshold, and triggers a dose adjustment mechanism. The system realizes personalized and adaptive management of the warfarin dose through the cooperation of multiple modules.

[0059] The patient data acquisition module is connected with the electronic medical record system through the medical monitoring device, and real-time captures dynamic parameters of the patient in the whole cycle of anticoagulant therapy. The international normalized ratio data is collected by a coagulation function detector every 24 hours, and the patient weight characteristic data is automatically recorded by an intelligent bed sensor every morning. All data is transmitted to the central database in an encrypted manner to form a time-stamped treatment data set. The gene data acquisition module calls the original report of the gene sequencing laboratory, extracts the polymorphism data of CYP2C92, CYP2C93 and VKORC1-1639G>A loci, and directly calls the birth date from the identity information system to calculate the actual age of the patient. The original gene data is subjected to a quality control process to exclude samples with insufficient sequencing depth. When constructing the treatment response feature matrix, the system performs time series slicing processing on the treatment data set, calculates the sliding window change rate of the international normalized ratio with a time window of 72 hours, and specifically uses the relative change percentage formula of the detection values of adjacent time points. The change rate of the patient weight characteristic is calculated according to the daily morning measurement value, and the calculation process automatically excludes abnormal values of instantaneous weight fluctuation caused by infusion and other treatments. The generation of the international normalized ratio feature vector includes four statistical dimensions: the mean value is calculated in eight consecutive time windows to reflect the overall trend, the variance represents the fluctuation degree, the maximum value marks the risk peak, and the minimum value identifies the low coagulation risk point. The weight characteristic vector synchronously calculates four types of statistics in the same time window, and the two vectors are horizontally spliced into a 24-column treatment response feature matrix after data alignment. The construction of the gene age feature matrix first performs function coding on the gene polymorphism data, CYP2C9 2 alleles were coded as binary variables using dominant model, VKORC1 genotypes were converted to continuous variables by haplotype dosage, and missing data of all genetic loci were imputed by the most frequent genotype in this population. Patient age data were segmented into three biological age intervals, and the coded genetic variables and age interval variables were input into the feature engineering layer. Eight-dimensional latent variables representing genetic metabolic capacity were extracted by principal component analysis, and finally a gene-age feature vector containing 11 features was formed. After sample alignment, the vector was expanded into a gene-age feature matrix. The feature fusion stage used a two-level processing architecture. The first level standardized the treatment response feature matrix and the gene-age feature matrix respectively. The treatment response features used the RobustScaler method to eliminate the influence of outliers, and the gene-age features used the MinMaxScaler to compress to the [0, 1] interval. The standardized double matrix was column-pasted by feature ID matching to generate a 35-dimensional original feature space. In the second level processing, the feature selection module used random forest importance evaluation, and retained the top 20 features in the importance score. Then the features were compressed to a 12-dimensional concise feature space by linear discriminant analysis. The transformation parameters of each feature were automatically recorded when the feature space was established, providing the basis for inverse transformation for subsequent real-time prediction.

[0060] In the clinical implementation scenario, the dynamic updating mechanism of the treatment response feature matrix is set to trigger calculation automatically every 6 hours, the gene age feature matrix is only generated as static data when the patient first enrolls, the feature fusion process adopts incremental learning mode, and only the relevant feature blocks are updated when new treatment data is input. The system establishes an independent version management of the feature space for each patient, retains the historical version for tracing function every time the feature is updated, and stores the dimension information and feature explanation of the feature space in the metadata database for clinical personnel to query and verify the feature generation logic. The calculation of the international normalized ratio change rate adopts a double verification mechanism, the original detection value is first reviewed by the laboratory information system, and the change rate calculation result is compared with the clinical nursing record again. When the difference exceeds 5%, an artificial review process is triggered. The weight feature change rate calculation integrates bed sensor data and daily manual record data, the system automatically identifies the deviation of the two data sources and adopts a weighted average value, and the statistical validity check is set in the feature vector generation process. When the effective data points in the time window are less than 70%, the time window range is automatically expanded. The clinical explainability conversion rule is set in the gene coding link. When the CYP2C9 genotype is converted into the metabolic capacity score, the international warfarin pharmacogenomics consortium standard is adopted, the dose influence coefficient of the VKORC1 genotype is quoted from the PharmGKB database, and the age segmentation processing adopts a nonlinear binning algorithm. When divided by 10 years, the segmentation boundary is automatically adjusted to balance the sample distribution. The feature extraction stage retains the gene loading matrix of each principal component, so that the reduced features can still be traced back to the original gene site contribution. The feature selection process adopts a dynamic threshold mechanism, and the feature importance threshold is adjusted adaptively according to the size of the training set. When the sample size is greater than 500, the top 25% features are retained, and in the small sample scenario, the features with importance greater than the average value are retained. The linear discriminant analysis model used in feature extraction updates the projection matrix regularly, re-trains the projection model every 200 new samples, and automatically outputs the feature correlation heat map after generating the essence feature space, helping clinical personnel to understand the interaction between features.

[0061] The entire implementation process is embedded with a data quality monitoring module, which detects the rationality of the value in real time when the treatment data set is collected, and immediately alarms when the international normalized ratio is out of the range of [0.5, 10], and triggers data review when the weight changes by more than 5 kg in a single day. A sequencing quality filter is set in the gene data acquisition stage, and sites with allele detection confidence less than 99% are marked as low-quality data. An abnormal value interception mechanism is provided in each link of feature construction, and the process is suspended and manual intervention is prompted when the feature value deviates from the group distribution by 3 standard deviations. The system establishes a feature reconstruction log, which records 287 conversion parameters from raw data to essence features, meeting the traceability requirements of medical AI systems.

[0062] The construction of the treatment response feature matrix begins during the patient treatment dataset loading process. The system automatically identifies the time-series structure in the dataset. International Normalized Ratio (INR) data is sorted by detection timestamps to form a continuous observation sequence. Patient weight feature data establishes a time alignment relationship based on measurement time and INR data. The rate of change calculation module uses a sliding window mechanism to process the time series. The INR rate of change is calculated as the percentage of absolute difference between two adjacent detection values. The weight feature rate of change is taken as the deviation of the daily morning measurement value from the average of the previous seven days. An anomaly detection algorithm is embedded in the calculation process to automatically filter out non-physiological weight fluctuations caused by postoperative edema or dehydration treatment. The generation of the INR feature vector defines four statistical dimensions. The system performs parallel calculations within eight preset continuous time windows: the first dimension calculates the arithmetic mean of the detection values ​​within each window, reflecting the overall level of anticoagulation effect; the second dimension calculates the variance value to capture the fluctuation characteristics of the treatment response; the third dimension marks the detection peak within the window to identify critical points of hypercoagulability or bleeding risk; and the fourth dimension records the minimum value to monitor potential periods of insufficient anticoagulation. The weight feature vector undergoes simultaneous four-dimensional statistical calculations. Within the same time window, the mean of weight changes reflects the trend, while the variance reveals metabolic stability. The maximum value warns of fluid retention risk, and the minimum value indicates insufficient nutrient intake. After matching the two feature vectors with time window identifiers, they are horizontally concatenated to form a 24-column treatment response feature matrix, with each row index corresponding to a unique patient identifier. The construction of the gene age feature matrix began during the gene data quality verification phase. The original gene sequencing report was parsed via a bioinformatics pipeline, using CYP2C9... Two loci were encoded as binary variables (0 / 1) using a dominant inheritance model. The VKORC1-1639 genotype was converted to continuous values ​​of 0.0-2.0 based on haplotype dose-response. Missing gene loci were filled using high-frequency genotypes from the patient's ethnic group. Patient age data were converted into three biological features: the actual age was input into a nonlinear transformation function to generate a metabolic age coefficient, age groups were divided into ten-year intervals, and the deviation from the standard weight age was calculated. The encoded gene variables and age features were input into a feature fusion layer. Principal component analysis was used to extract eight latent variables characterizing inherited metabolic capacity, ultimately forming a gene-age feature vector containing eleven features. This vector was expanded into a gene-age feature matrix by patient ID matching.

[0063] The dynamic update of the treatment response feature matrix follows the clinical treatment cycle, and the rate of change of the international normalized ratio is recalculated after each new test result is entered. The system retains the last thirty calculation results to form a rolling time series. The weight feature change rate is automatically updated every morning, and a data missing warning is triggered when there is no new weight data for three consecutive days. The feature vector generation module sets statistical validity check rules. When the proportion of valid data points in the time window is less than seventy percent, the window length is automatically extended to one hundred and twenty hours. Robust estimation methods are used for statistical quantity calculation, and Winsorize processing is performed on outliers. Clinical interpretability conversion rules are established for gene data processing. The conversion of CYP2C9 genotype to metabolic capacity score refers to the dose calculation table of the International Warfarin Pharmacogenomics Consortium, and the VKORC1 genotype conversion coefficient refers to the latest pharmacogenomics annotation in the PharmGKB database. Age segmentation uses a dynamic binning algorithm, with the five quintiles of the patient cohort age distribution as the boundary to divide the intervals. After principal component analysis, the gene loading matrix of each component is retained to support clinical staff to reverse analyze the contribution of genetic characteristics.

[0064] The feature matrix construction process implements full-link quality monitoring, logical verification is performed when the international standardization ratio raw value is entered, and the value is outside the medical reasonable range of 0.5-10.0. The data processing flow is immediately frozen. When the body weight data is collected, the sensor value and the nursing record value are compared, and the difference is more than 3%. Trigger manual review. The gene data quality control sets three filters: sites with sequencing depth less than 30X are marked as low confidence, allele frequency difference with population database more than two standard deviations may be contaminated, and abnormal linkage disequilibrium test sites are automatically isolated. The treatment response feature matrix storage uses a columnar database structure, and each column feature is attached with metadata description: record statistical quantity calculation time window parameter, abnormal value processing rule, data source version. When storing the gene age feature matrix, associate the gene sequencing report version number with the PharmGKB database release date, and write all feature conversion parameters into the audit log to support feature reconstruction verification at any time point. The system establishes a version control system for the feature matrix, generates a new matrix version for each feature update, and retains the historical version comparison function. In the real-time computing environment, the treatment response feature matrix construction module is deployed as a distributed computing service, the international standardization ratio change rate calculation task is assigned to multiple computing nodes for parallel processing, and the body weight feature statistical quantity generation uses a streaming computing architecture. The gene age feature matrix computing service is configured with an automatic scaling mechanism, which automatically expands computing resources when new patient gene data is imported in batches, and the feature fusion operation is designed in incremental update mode, only updating the affected feature block when new data arrives. The matrix construction process implements a resource isolation mechanism to ensure that a single patient's computing anomaly does not affect the overall system operation. The feature generation process embeds a clinical decision support interface, and the treatment response feature matrix output automatically attaches a trend analysis report: marks the anticoagulant instability warning when the international standardization ratio variance increases for three consecutive time windows, and generates a nutrition status evaluation summary when the body weight feature vector is output. When the gene age feature matrix is generated, the drug interaction check is triggered, and when the CYP2C9 slow metabolism genotype is detected and the patient is also using sulfonamides, a dose adjustment warning mark is output. All feature output values are accompanied by confidence scores, reflecting data quality and calculation reliability. The system establishes a feature traceability mechanism, and each feature value of the treatment response feature matrix can be located back to the time point of the original detection record, and the gene age feature matrix supports backtracking query of the original genotype sequencing data. The intermediate results of feature calculation are stored in a temporary cache area, which is retained for 72 hours for quality review, and a final consistency check is performed before the feature matrix is released: compare the feature value difference between the current version and the previous version, and when the key feature changes more than 15%, require clinical personnel to confirm the release.

[0065] The feature fusion process starts from the double matrix standardization preprocessing stage. The standardization of the treatment response feature matrix adopts a robust standardization method based on the median and quartile range, which can effectively resist the interference of outliers. The specific conversion process is to subtract the median of the feature column from each feature value and then divide by the quartile range. The standardization of the gene age feature matrix adopts the maximum and minimum value scaling method, which linearly transforms the original value to a certain interval. The standardized double matrix is aligned by row through the patient identifier, and then spliced horizontally by feature column to generate a merged matrix containing treatment response features and gene age features. The dimension of the matrix is equal to the sum of the feature dimensions of the two original matrices.

[0066] The merged matrix enters the feature selection stage. The system adopts a screening mechanism based on model importance. A random forest regressor is used to fit the merged matrix, and the importance score of each feature for warfarin dose prediction is calculated. The calculation formula of the importance score is:

[0067] ,

[0068] Where: represents the feature importance score, is the total number of trees in the random forest, represents the total number of split nodes in the tth tree, represents the impurity reduction amount when the nth node in the tth tree splits, is an indicator function that takes the value 1 when the feature used for the nth node split in the tth tree is f, and 0 otherwise.

[0069] The feature extraction stage uses linear discriminant analysis to reduce the dimension of the selected features. This method finds the projection direction that maximizes the ratio of between-class variance to within-class variance. First, calculate the between-class scatter matrix and the within-class scatter matrix , where the classes are divided into three groups according to the patient's warfarin dose response level. Then solve the generalized eigenvalue problem , where: is the eigenvector, is the discriminant ability coefficient corresponding to the eigenvector . Take the top k largest eigenvalues corresponding to the eigenvectors to form the projection matrix, which projects the original feature space to the k-dimensional essential feature space. The value of k is determined by cross-validation, usually between five and eight.

[0070] The construction of the warfarin dose prediction model takes the features in the essence feature space as input variables and the warfarin stable dose labeled by clinical experts as the target variable. The training sample set contains the feature data and corresponding dose labels of historical patients. After random shuffling, the sample set is divided into training set and validation set in the ratio of seven to three. The multiple linear regression model uses the least squares method for parameter estimation, and the objective function is the minimization of residual sum of squares:

[0071] ,

[0072] wherein: is the minimum value of the weight coefficient vector w, is the dose label vector, is the feature matrix, is the weight coefficient vector to be solved. The model training uses gradient descent algorithm to iteratively optimize the weight parameters, the learning rate is set to adaptive adjustment mode, the initial value is 0.01, and every 100 iterations are attenuated by 5%.

[0073] Regularization is implemented during training to prevent overfitting. The L2 regularization term coefficient is selected by cross-validation. The optimal coefficient value is determined by calculating the mean square error on the validation set. After model convergence, the weight coefficient vector and the bias term are output. Each element in the coefficient vector corresponds to the weight of a feature in the essence feature space, and the bias term represents the basic dose level. The final model is stored in a serialized form, including complete information such as weight parameters, feature name mapping table, standardization parameters and projection matrix.

[0074] The update maintenance of the essence feature space adopts a version control mechanism. Whenever new batches of patient data are added, the feature fusion process is re-executed to generate a new version of the feature space, while the old version is preserved for historical data queries. The importance threshold in the feature selection stage is dynamically adjusted according to the sample size. When the sample size is small, a stricter threshold is used to retain fewer features, avoiding the problem of dimension disaster. The model training module is deployed as a scalable distributed computing service. When the training data volume is large, multiple node parallel computing is automatically started. Each computing node processes a shard of data, and finally the gradient updates of each node are aggregated. Real-time monitoring is implemented during the training process, and the training loss and validation loss of each iteration are recorded. When the validation loss does not decrease for ten consecutive iterations, the early stopping mechanism is started. Quality checkpoints are set during the feature fusion process. The distribution of each feature is checked during the standardization stage. For features with severe skew distribution, log transformation preprocessing is performed. After feature selection, the multicollinearity between retained features is calculated. Features with a variance inflation factor greater than ten are removed. The class separability index is monitored during the feature extraction stage. When the class separability of linear discriminant analysis is lower than the threshold, the feature reorganization process is triggered. The warfarin dose prediction model outputs a feature importance report, listing the top ten features that contribute most to dose prediction and their weight coefficients. Clinicians can understand the basis of the model's decision accordingly. After the model is deployed, a continuous learning mechanism is established. The model is incrementally trained using newly generated patient data every month to keep the model's prediction performance up to date. The system generates a feature contribution analysis report for each patient, showing the specific impact of each feature value on the final dose prediction, helping doctors understand the formation process of individualized dose decision-making. All feature processing parameters and model training hyperparameters are recorded in the metadata database, supporting complete data traceability and algorithm auditing.

[0075] The definition of dose adjustment levels refers to the international anticoagulation guidelines and clinical expert consensus. The system classifies warfarin dose adjustment into five discrete levels: Level 0 means maintaining the current dose (with a change of ±0.5 mg / day), Level 1 represents a small increase (0.5-1 mg per day), Level 2 is a moderate increase (1-2 mg per day), Level 3 refers to a large increase (more than 2 mg per day), and the corresponding reduction levels are defined as Level-1 (0.5-1 mg per day), Level-2 (1-2 mg per day), and Level-3 (more than 2 mg per day). Each level is associated with clinical operation specifications, such as Level 2 adjustment requiring an increase in international normalized ratio monitoring frequency within the next 72 hours. The mapping relationship is established based on the historical patient data warehouse. The system extracts patient records within three years who have completed warfarin treatment, including the final warfarin dose indicator and the actual dose adjustment level performed clinically. In the data preprocessing stage, cases with abnormal dose indicators or incomplete adjustment records are excluded, and the remaining samples are reviewed by anticoagulation specialists to confirm the rationality of their adjustment levels. The analysis uses a density clustering algorithm to identify the natural grouping boundaries of the dose indicator and the adjustment level. Referring to Table 1, the correspondence between the dose indicator interval and the adjustment level is shown.

[0076] Table 1: Mapping table of warfarin dose indicator and adjustment level

[0077]

[0078] The storage of the mapping relationship adopts a dual-track architecture. The main mapping table is stored in the dose_adjustment_rules table of the relational database, which includes fields such as dose_range_lower (dose lower limit), dose_range_upper (dose upper limit), adjustment_level (adjustment level), and clinical_protocol (clinical operation specification). At the same time, to ensure high-performance queries, the complete mapping dictionary is cached in the in-memory database, and a red-black tree structure is used to achieve O(logn) time complexity interval queries. The system automatically checks the validity of the mapping table every quarter, and triggers the mapping table revision process when the conflict rate between newly accumulated adjustment cases and existing mappings exceeds five percent. The logical implementation of the dose adjustment level includes a multi-level judgment mechanism. First, the warfarin dose indicator is queried to determine the basic adjustment level, and then the level is corrected in combination with the patient's real-time clinical status: when the international normalized ratio is detected to fluctuate sharply, the adjustment level is automatically increased by one level; if the patient has recently shown clinical signs of bleeding tendency, the adjustment level is reduced by one level. The final determined adjustment level is accompanied by a confidence score, reflecting the reliability of the mapping relationship and the consistency degree of the clinical status.

[0079] The storage of clinical operation specifications adopts structured document format, and each adjustment level is associated with a set of operation instruction set: Level 3 adjustment contains twelve operation items such as dose change amplitude, review time requirement, patient education points, etc., and Level 0 maintenance dose contains five operation items such as continue to observe indicators, appointment next detection, etc. These specification contents are regularly updated by the drug therapy committee, and the system records the effective time and version number of each specification clause. The establishment process of the mapping relationship implements quality monitoring, and the sample representativeness check is set in the historical data extraction stage: the sample size of each dose interval is required to reach at least thirty cases, and the gender and age distribution has no significant difference with the overall patient population. The profile coefficient threshold is set in the clustering analysis process, and when the clustering quality is lower than 0.7, manual intervention is required to adjust the parameters. The final mapping relationship needs to be audited back-to-back by more than three anticoagulation specialists, and only after reaching a consensus can it be put into system use. The system establishes a version management system for the mapping relationship, generates a new version and keeps the historical version every time the mapping table is updated, and supports clinical personnel to query the dose adjustment rules in a specific time period. When the mapping relationship changes, the affected patient group is automatically marked, and the dose adjustment scheme update suggestion report is generated. All modification operations of the mapping relationship record audit logs, including modification time, operator, modification reason and other complete information.

[0080] In practical clinical applications, the output of the dosage adjustment module includes structured adjustment suggestions: the adjustment level is clearly marked as "Level 2, increase by 1-2 mg," along with specific clinical operation guidelines: "Recheck the international normalized ratio within 48 hours and assess changes in the patient's diet." The output results are pushed to the doctor's workstation and nursing system via the hospital information system interface, and after doctor confirmation, a medical order is automatically generated. A feedback mechanism is established for maintaining the mapping relationship. After each dosage adjustment, the system records the actual clinical effect. When the international normalized ratio does not reach the target range within the expected time, the case with poor adjustment effect is automatically marked. The matching degree between the adjustment effect and the mapping relationship is analyzed regularly. When the number of cases with poor effect exceeds 10%, the mapping relationship optimization process is initiated. The system provides a mapping relationship visualization analysis tool, allowing clinicians to intuitively view the heat map of the adjustment effect in each dose range. Exception rules are set for the mapping relationship of special patient groups. For patients with renal insufficiency (eGFR < 30 ml / min), the dose change range of all adjustment levels is automatically reduced by 30%; for elderly patients (> 80 years old), the adjustment level is automatically downgraded by one level to avoid over-anticoagulation. These exception rules are stored in a separate exception mapping table and undergo secondary adjustments after the basic mapping relationship is applied. The dosage adjustment module is integrated with the hospital's alarm system, automatically triggering a pharmacy department consultation request when the predicted adjustment level reaches Level 3 or Level-3, and simultaneously sending a high-risk medication adjustment warning SMS to the attending physician. All adjustment decision support information is stored in the patient's medication record, forming a complete warfarin dosage adjustment trajectory record, supporting retrospective analysis and quality improvement of the treatment process.

[0081] When the real-time prediction module starts, it activates the data monitoring service, continuously collecting real-time streaming data of internationally normalized ratios (USRs) transmitted from bedside patient monitoring equipment. The sampling frequency is set to once every four hours. Simultaneously, it connects to the electronic medical record system to obtain daily updated weight records and medication logs. When a patient receives a blood transfusion or dialysis, the system automatically captures the time point and parameter details of the relevant treatment event. These real-time treatment parameters are temporarily stored in a distributed cache after data cleaning, awaiting processing by the feature transformation engine. The construction of the weight adjustment coefficient mapping relationship relies on a clinical rule knowledge base, maintained by a team of pharmacology experts, which contains weight correction rules for twenty-seven clinical scenarios, as shown in Table 2 below.

[0082] Table 2: Core Rules for Weight Adjustment Coefficient Mapping Relationship

[0083]

[0084] Each rule is converted into a triple structure (trigger condition, impact feature, adjustment coefficient) and stored in a hash map table in the in-memory database, supporting millisecond-level rule matching. The calculation of real-time weight adjustment coefficients uses a multi-level triggering mechanism. The system scans the real-time treatment parameter queue and initiates a first-level processing flow when an international normalized ratio (INR) abnormal fluctuation is detected: queries the rule mapping table to determine the impact feature dimension, and generates a temporary adjustment coefficient array. If a significant weight change occurs simultaneously, a second-level processing is activated: combines the adjustment coefficients generated by multiple rules to determine the final coefficient value using the maximum logic. Conflict detection is implemented during the calculation process. When different rules propose contradictory adjustments for the same feature, the latest coefficient scheme recommended by the clinical guidelines is prioritized. Dynamic adjustment of weight coefficients is performed before model reasoning. The system loads the weight vector of the base warfarin dose prediction model from the persistent storage, which contains the initial coefficients of twelve feature dimensions. The real-time weight adjustment coefficient array is multiplied element by element with the initial coefficient vector to generate the adjusted weight coefficient vector. The multiplication operation uses a segmented processing strategy. Scalar multiplication is performed for gene-related features, and time-decaying multiplication is performed for treatment response features to ensure that recent data are given higher weights.

[0085] The calculation of real-time adaptive warfarin dose indicators is deployed as a microservices architecture. The feature extraction service converts real-time treatment parameters into a feature vector in the refined feature space. This vector is dot multiplied with the adjusted weight coefficient vector, and the dose prediction value is output after adding the model bias term. Real-time monitoring is implemented during the calculation process. When the feature vector contains missing values, the nearest neighbor feature imputation algorithm is automatically triggered. The imputed feature values are marked with a confidence degradation flag. The implementation process is illustrated using a specific patient as an example. Patient ID0731 had international normalized ratio (INR) monitoring values of 3.8 (target range 2.0-3.0) for two consecutive days on the seventh day after heart valve replacement surgery, and weight records showed a three-day weight loss of 2.3 kg. After the system captured the abnormal parameters in real time, it matched two relevant rules from the rule library: rule R15 (INR exceeding the upper limit triggers a 30% increase in gene feature weight), and rule R22 (sudden weight loss triggers a 20% decrease in age feature weight). The weight adjustment engine adjusts the initial gene feature weight of 0.78 to 1.014 and the age feature weight from 0.65 to 0.52. The feature conversion service converts the patient's current treatment parameters into a feature vector [0.87, 1.02, 0.34, …, 0.56], which is dot multiplied with the adjusted weight vector to output a real-time dose indicator of 4.1 mg / day. The system establishes a traceability mechanism for weight adjustment, recording complete operation logs for each coefficient modification: storing the original coefficient value, adjustment rule number, adjusted coefficient, and operation timestamp. The clinical interface provides a weight impact visualization tool, allowing doctors to view the historical change curve of each feature weight and the triggering reason. When the number of daily weight adjustments exceeds three, the system automatically generates a weight stability report, prompting the examination of the patient's clinical status.

[0086] The real-time computing service implements a resource isolation strategy, assigning intensive patients to exclusive computing containers that guarantee a dose prediction response time below 200 milliseconds. Ordinary ward patients share a computing resource pool, with a priority scheduling algorithm ensuring critical values are processed first. All real-time prediction results are written to a read-only database replica, avoiding data write conflicts in high-concurrency scenarios. The security control module sets weight adjustment boundary conditions, limiting the variation of any feature dimension's weight coefficient to ±50%, preventing extreme adjustments that could lead to prediction distortion. When adjusted coefficients exceed the reasonable interval, the system automatically switches to a safety mode: freezing the weight adjustment mechanism, reverting to the base model prediction, and simultaneously sending a system alert to clinical engineers.

[0087] The prediction result output uses a dual-channel verification, with the main computing channel generating dose indicators, and the auxiliary channel using a simplified model for result reasonableness verification. When the difference between the two-channel results exceeds 15%, a review process is triggered: patient feature data is reloaded, and the full process is recalculated on independent computing nodes. The final output result is accompanied by a quality label: green for consistent results, yellow for verification differences but passing review, and red for unreliable results requiring human intervention. The system establishes a real-time prediction quality feedback loop, comparing each dose prediction result with actual administration records, calculating prediction bias values, and storing them in a quality database. When consecutive prediction biases exceed the allowed range for five times, the weight adjustment rule optimization process is automatically triggered: the clinical applicability of related rules is re-evaluated, and the pharmacology team is recommended to revise the adjustment coefficients. All real-time prediction request records are audited for operation traces, meeting the regulatory compliance requirements of medical AI systems.

[0088] It should be noted that the relational terms, such as first and second, and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus.

[0089] Although embodiments of the present application have been shown and described, it is to be understood that various modifications, substitutions, replacements and changes can be made to these embodiments without departing from the principles and spirit of the present application, and the scope of the present application is defined by the appended claims and their equivalents.

Claims

1. A warfarin dose prediction adjustment system based on multiple linear regression, characterized in that, The system comprises: a patient data acquisition module for synchronously acquiring multi-dimensional parameter data of a patient in different treatment states, and constructing a patient treatment data set; a gene data acquisition module for acquiring gene polymorphism data and patient age data of the patient, and constructing an essential patient feature space based on the patient treatment data set, the gene polymorphism data and the patient age data; a model construction module for constructing and training a warfarin dose prediction model based on the essential patient feature space, and extracting a warfarin dose index; a dose adjustment module for establishing a warfarin dose adjustment level, and constructing a mapping relationship between the warfarin dose index and the warfarin dose adjustment level; a real-time prediction module for acquiring real-time treatment parameters of the patient, and obtaining a real-time adaptive warfarin dose index according to the real-time treatment parameters of the patient and the warfarin dose prediction model; an adjustment execution module for obtaining a predicted dose adjustment level according to the real-time adaptive warfarin dose index and the mapping relationship between the warfarin dose index and the dose adjustment level, and judging whether the predicted dose adjustment level exceeds a preset threshold, and triggering a dose adjustment mechanism if the predicted dose adjustment level exceeds the preset threshold; the real-time prediction module acquires real-time treatment parameters of the patient, and obtains a real-time adaptive warfarin dose index according to the real-time treatment parameters of the patient and the warfarin dose prediction model, and comprises: acquiring the real-time treatment parameters of the patient, and constructing a mapping relationship between real-time treatment parameters and a weight adjustment coefficient, wherein the construction of the weight adjustment coefficient mapping relationship relies on a clinical rule knowledge base, and includes weight correction rules in twenty-seven clinical scenarios, each rule is converted into a triple structure, including a trigger condition, an influence feature and an adjustment coefficient, and is stored in a hash mapping table of an in-memory database, supporting millisecond-level rule matching; calculating a real-time weight adjustment coefficient according to the real-time treatment parameters of the patient and the mapping relationship; adjusting the weight coefficient of each patient feature in the warfarin dose prediction model according to the real-time weight adjustment coefficient, to obtain an adjusted weight coefficient; using the adjusted weight coefficient to calculate the real-time adaptive warfarin dose index under the current working condition.

2. The multiple linear regression based warfarin dose prediction adjustment system of claim 1, wherein, The multi-dimensional parameter data comprises international normalized ratio data and patient weight feature data; the essential patient feature space is constructed based on the patient treatment data set, the gene polymorphism data and the patient age data, and comprises: obtaining a treatment response feature matrix based on the patient treatment data set; obtaining a gene age feature matrix based on the gene polymorphism data and the patient age data; fusing the treatment response feature matrix and the gene age feature matrix to construct the essential patient feature space.

3. The multi-variate linear regression based warfarin dose prediction adjustment system of claim 2, wherein, the treatment response feature matrix is obtained based on the patient treatment data set, and comprises: calculating the change rate of the patient treatment data set to extract multi-parameter change rate data; the multi-parameter change rate data comprises international normalized ratio change rate and patient weight feature change rate; the treatment response feature matrix is obtained based on the multi-parameter change rate data.

4. The multi-variate linear regression based warfarin dose prediction adjustment system of claim 3, wherein, The treatment response feature matrix is obtained based on the multi-parameter rate of change data, and the treatment response feature matrix comprises: Based on the international normalized ratio rate of change, the statistical characteristics of the international normalized ratio data in different time periods are calculated to obtain an international normalized ratio feature vector; Based on the patient weight feature rate of change, the statistical characteristics of the patient weight feature data in different time periods are calculated to obtain a weight feature vector; The international normalized ratio feature vector and the weight feature vector are spliced by column to form the treatment response feature matrix.

5. The multi-variate linear regression based warfarin dose prediction adjustment system of claim 2, wherein, The gene age feature matrix is obtained based on the gene polymorphism data and the patient age data, and the gene age feature matrix comprises: The gene polymorphism data is encoded to obtain gene encoding data; Features are extracted from the gene encoding data and the patient age data to obtain a gene age feature vector; The gene age feature matrix is constructed from the gene age feature vector.

6. The multi-variate linear regression based warfarin dose prediction adjustment system of claim 2, wherein, The treatment response feature matrix and the gene age feature matrix are fused to construct a concise patient feature space, and the method comprises: The treatment response feature matrix and the gene age feature matrix are subjected to data standardization processing; The standardized treatment response feature matrix and the gene age feature matrix are spliced by column to form a multi-dimensional patient feature matrix; The multi-dimensional patient feature matrix is subjected to feature selection; The multi-dimensional patient feature matrix after feature selection is subjected to feature extraction to obtain the concise patient feature space.

7. The multi-variate linear regression based warfarin dose prediction adjustment system of claim 6, wherein, The warfarin dose prediction model is constructed and trained based on the concise patient feature space, and the method comprises: A training sample set is constructed by taking the patient features in the concise patient feature space as sample features and taking the manually annotated warfarin dose index as sample labels; An initial warfarin dose prediction model is constructed by using a multiple linear regression model; The initial warfarin dose prediction model is trained using the training sample set to obtain a weight coefficient and a bias term for each patient feature; Based on the weight coefficient and the bias term for each patient feature, a final warfarin dose prediction model is obtained.

8. The multi-variate linear regression based warfarin dose prediction adjustment system of claim 1, wherein, The dose adjustment module establishes a warfarin dose adjustment level and constructs a mapping relationship between the warfarin dose index and the warfarin dose adjustment level, and the method comprises: A plurality of warfarin dose adjustment levels are defined; Based on historical data, a corresponding relationship between the warfarin dose index and the warfarin dose adjustment level is constructed; The mapping relationship is stored.

9. A method for warfarin dose prediction adjustment based on multiple linear regression, characterized in that, All modules and method processes of the warfarin dose prediction and adjustment system based on multiple linear regression according to any one of claims 1 to 8 are included.

Citation Information

Patent Citations

  • Warfarin administration dosage predicting method and device

    CN110010252A

  • Warfarin dose prediction method and prediction device

    CN111312341A