Patent ID: 11947552
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. An electronic device, comprising:
at least one processor; and
a memory communicatively connected with the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a method for discovering causality from data, wherein the method comprises:
acquiring to-be-processed data which is body data corresponding to different users, and obtaining a covariance matrix of the to-be-processed data;
determining a first target column in the covariance matrix, taking the number of columns of the first target column as a first place in a rearrangement sequence, and obtaining a first upper triangular matrix according to the first target column;
determining a position of the number of columns of the covariance matrix other than the first target column except the first place in the rearrangement sequence according to the first target column and the first upper triangular matrix, and obtaining an upper triangular matrix in each position determination;
obtaining an adjacency matrix according to an upper triangular matrix and a rearrangement sequence obtained in final position determination; and
generating a directed acyclic graph (DAG) by using the adjacency matrix, and taking the DAG as a causality discovery result of the to-be-processed data.