CN111612101A - Gene expression data clustering method, device and equipment of nonparametric Watton mixed model - Google Patents
Gene expression data clustering method, device and equipment of nonparametric Watton mixed model Download PDFInfo
- Publication number
- CN111612101A CN111612101A CN202010499785.7A CN202010499785A CN111612101A CN 111612101 A CN111612101 A CN 111612101A CN 202010499785 A CN202010499785 A CN 202010499785A CN 111612101 A CN111612101 A CN 111612101A
- Authority
- CN
- China
- Prior art keywords
- gene expression
- watson
- expression data
- model
- nonparametric
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000014509 gene expression Effects 0.000 title claims abstract description 118
- 238000000034 method Methods 0.000 title claims abstract description 90
- 239000013598 vector Substances 0.000 claims abstract description 83
- 108090000623 proteins and genes Proteins 0.000 claims abstract description 37
- 239000000203 mixture Substances 0.000 claims abstract description 25
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 15
- 238000009826 distribution Methods 0.000 claims description 42
- 230000006870 function Effects 0.000 claims description 26
- 230000008569 process Effects 0.000 claims description 26
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 238000007781 pre-processing Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 238000007621 cluster analysis Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007418 data mining Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 210000005253 yeast cell Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2415—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06F18/24155—Bayesian classification
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Cheminformatics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Probability & Statistics with Applications (AREA)
- Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)
Abstract
The invention discloses a gene expression data clustering method, a device and equipment of a nonparametric Watton mixed model, wherein the method comprises the following steps: s101, acquiring a gene data set to be clustered; the gene data set comprises N gene expression data vectors; s102, modeling a gene expression data vector by using a nonparametric Watson mixed model; s103, estimating model parameters of the nonparametric Watson mixed model through a variational Bayes inference algorithm; s104, judging whether the nonparametric Watson mixed model converges according to the estimated model parameters; if not, returning to the step S103, if so, executing the step S105; and S105, judging the category of each gene expression data vector according to the posterior probability of the indicator factor, and clustering the gene expression data vectors according to the category. The present embodiment may achieve better clustering results than the DP mixture model based approach when dealing with unbalanced data, due to the discount parameter that may be used to control the number of new classes generated.
Description
Technical Field
The invention relates to the field of data mining, in particular to a gene expression data clustering method, a gene expression data clustering device and gene expression data clustering equipment for a nonparametric Watton mixed model.
Background
With the development of modern biotechnology, especially the implementation of genome project, people have acquired a great deal of gene expression data. However, in the large amount of gene sequence data obtained, the functions of only a few genes are known, and the functions of most genes are unknown. Therefore, it is necessary to group gene sequences having similar functions in the same class by a cluster analysis technique. Because the gene sequences in the same class have similar functions, one can use the known functions of genes in the same class to predict the functions of the unknown functional genes in the same class. The Watson distribution is applicable to describe axial data (axial data) that appears in the direction data, i.e., data whose unit vectors are the same. The performance of the Watson mixed model obtained by carrying out cluster analysis on data containing axial symmetry (such as gene expression data normalized by L2) is obviously better than that of other common mixed models (such as a Gaussian mixed model).
In the prior art, Wentao Fan et al propose a clustering method of a Watson mixed model based on a Dirichlet Process (DP) and apply the clustering method to gene expression data clustering analysis. In this method gene expression data were pre-processed and then normalized using the L2 norm, and each gene data was assumed to obey the DP-based Watson mixed model. The model estimates model parameters using a variational Bayesian inference method. It has the following disadvantages:
the clustering method proposed in the prior art is based on a Watson hybrid model constructed by a Dirichlet Process (DP) framework. Clustering analysis of unbalanced data is not efficient because DP mixture models typically cannot identify classes that contain only a small number of data samples.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus and a device for clustering gene expression data of a non-parametric Watton mixture model, which have discount parameters for controlling the generation of new class numbers, so that the method is more advantageous than the method based on a DP mixture model in processing unbalanced data, and thus better clustering results can be obtained.
The embodiment of the invention provides a gene expression data clustering method of a nonparametric Watson mixed model, which comprises the following steps:
s101, acquiring a gene data set to be clustered; wherein the gene data set comprises N gene expression data vectors;
s102, modeling a gene expression data vector by using a nonparametric Watson mixed model;
s103, estimating model parameters of the nonparametric Watson mixed model through a variational Bayes inference algorithm;
s104, judging whether the nonparametric Watson mixed model converges according to the estimated model parameters; if not, returning to the step S103, if so, executing the step S105;
and S105, judging the category of each gene expression data vector according to the posterior probability of the indicator factor, and clustering the gene expression data vectors according to the category.
Preferably, the modeling of the gene expression data vector by using a non-parametric Watson hybrid model specifically includes:
for D-dimensional vectors obeying Watson probability distributionDefining its probability density function as:
wherein,for a data set containing N gene expression data vectors,is a position parameter and satisfies a condition| | | is the calculation of the norm of L2; gamma is a scale parameter and satisfies the condition gamma>0, (. cndot.) is a Gamma function, and M (. cndot.) is a Kummer function;
and (3) subjecting each gene expression data vector subjected to the nonparametric Watson mixed model, wherein the probability density function expression of each gene expression data vector is as follows:
the nonparametric Watson mixed model consists of infinite mixed components, and each mixed component corresponds to one Watson probability distributionIs a parameter of the kth mixing element, and pik>0 is the corresponding "mixing coefficient" and satisfies the condition
Expressing the data vector for each geneAssigning a binary hidden variableAs an indicator factor: when Z isnkWhen 1, the gene expression data vector is indicatedBelong to the kth category; otherwise, Znk0; in which the hidden variables areHas a probability distribution of
Parameters to nonparametric Watson hybrid modelsAndassigning a prior probability distribution; wherein, Watson-Gamma distribution is adopted as parameterJoint prior distribution of (c):
wherein p isg(. cndot.) is a Gamma distribution;
obtaining a total probability expression of a nonparametric Watton mixed model based on a Pitman-Yor process model:
preferably, the non-parametric Watson hybrid model is constructed based on a Pitman-Yor process model adopting a Stick-Breaking representation method; in a Pitman-Yor process model based on a Stick-Breaking representation method, a mixing coefficient pikIs represented as follows:
wherein p isb(.) is Beta distribution, ζ is the discount parameter in the Pitman-Yor process model and satisfies the condition 0 ≦ ζ ≦ 1, ξ is the density parameter satisfying the condition ξ>-ζ。
Preferably, the first and second electrodes are formed of a metal,
said estimating model parameters of said non-parametric Watson hybrid model by a variational Bayesian inference algorithm, an
Judging whether the nonparametric Watson mixed model converges according to the estimated model parameters;
the method specifically comprises the following steps:
initializing a modelA parameter; the method comprises the following steps of initializing a truncation layer number K to 15; initialization of hyper-parameter 0<ak<1,0<bk<1,βk=1,ζk=0.5,ξk0.5; initializing r using K-Means algorithmnk(ii) a Initialization
Updating the variation posterior and the expected value by using the current model parameters;
Obtaining a variation lower bound generated by the current iteration;
and comparing the variation lower bound generated by the current iteration with the variation lower bound generated by the last iteration to judge whether the nonparametric Watton mixed model converges.
Preferably, the updating of the variation posteriori and the expected value by using the current model parameter is specifically as follows:
defining the lower bound of variation as:
L(q)=<lnp(Θ|X)>-<lnq(Θ)>
wherein,<·>for the calculation of the desired value of the value,a set of all random variables and hidden variables; q (Θ) is an approximate distribution of the real posterior distribution p (Θ | X), i.e. a variational posterior; the expression of variation posteriori q (Θ) is as follows
Truncating the hybrid component from an infinite dimensional space to a K dimensional space using a truncation technique:
Wherein K is the number of truncation layers, namely the number of categories; the value of K will reach an optimal value when converging;
all variational posteriors are optimized by maximizing the lower variational bound, l (q):
the hyperparameters in the formula are calculated by formulas (4) to (11):
The calculation of the expected value in the above equation is calculated by the following equation:
<Znk>=rnk(14)
<lnπ′k>=Ψ(gk)-Ψ(gk+hk) (17)
<ln(1-π′k)>=Ψ(hk)-Ψ(gk+hk) (18)
where Ψ (. cndot.) is a Digamma function.
Preferably, comparing the lower bound of variation generated by the current iteration with the lower bound of variation generated by the last iteration to determine whether the non-parametric Watson hybrid model converges specifically is:
whether the difference between the lower variation bound generated by the current iteration and the lower variation bound generated by the last iteration is smaller than a preset threshold value or not; the preset threshold value is 0.0001
If yes, judging that the nonparametric Watson mixed model converges;
and if not, judging that the nonparametric Watson mixed model does not converge.
Preferably, the class of each gene expression data vector is judged according to the posterior probability of the indicator, so that the gene expression data vectors are clustered according to the class, specifically:
obtaining the posterior probability r of the indicative factornk,rnkExpression data vector representing the nth geneProbability of belonging to the kth class;
selecting the class with the highest probability as the gene expression data vectorThe category (2).
Preferably, the method further comprises the following steps:
preprocessing the gene expression data vector:
removing data containing empty items in the gene expression data vector;
removing data with characteristic value 'NAN' in the gene expression data vector;
removing data with small time variation in the gene expression data vector;
the remaining gene expression data vectors were normalized to the L2 norm.
The embodiment of the invention also provides a gene expression data clustering device of the nonparametric Watson mixed model, which comprises the following steps:
the gene data set acquisition unit is used for acquiring a gene data set to be clustered; wherein the gene data set comprises N gene expression data vectors;
the modeling unit is used for modeling the gene expression data vector by using a nonparametric Watson mixed model;
the model parameter estimation unit is used for estimating the model parameters of the nonparametric Watson mixed model through a variational Bayes inference algorithm;
a convergence judging unit, configured to judge whether the nonparametric Watson hybrid model converges according to the estimated model parameter; if not, informing the model parameter estimation unit, if yes, informing the classification unit;
and the classification unit is used for judging the category of each gene expression data vector according to the posterior probability of the indicator factor so as to cluster the gene expression data vectors according to the category.
The embodiment of the invention also provides gene expression data clustering equipment of the non-parametric Watson mixed model, which comprises a memory and a processor, wherein a gene data set to be clustered and a computer program are stored in the memory, and the computer program can be executed by the processor so as to realize the gene expression data clustering method of the non-parametric Watson mixed model.
In summary, the embodiment constructs a non-parametric hybrid model based on Watson probability distribution by adopting a non-parametric model framework based on the Pitman-Yor process, and performs cluster analysis on the gene expression data vector by using the model. The Watson hybrid model constructed in the embodiment refers to a probability distribution formed by a weighted combination mode of a plurality of Watson probability distributions. In the method, each piece of gene expression data is preprocessed and then normalized by using an L2 norm, and then the obtained gene data vector is modeled by using a Watson mixed model. In order to be capable of flexibly and automatically adjusting the number of gene data categories according to the size of data, the method uses a nonparametric model framework named as Pitman-Yor process to construct a nonparametric mixed model based on Watson probability distribution. The parameters of the proposed nonparametric Watson hybrid model are estimated by a variational Bayesian inference algorithm. Compared with the prior art, the mixture model based on the Pitman-Yor process provided by the embodiment has the discount parameters which can be used for controlling the generation of the new category number, so that the method has more advantages than a method based on a DP mixture model when processing unbalanced data, and a better clustering result can be obtained.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a gene expression data clustering method for a non-parametric walton mixture model according to a first embodiment of the present invention.
Fig. 2 is another schematic flow chart of the gene expression data clustering method of the non-parametric walton mixture model according to the first embodiment of the present invention.
Fig. 3 is a schematic diagram of program modules of a gene expression data clustering device of a non-parametric walton mixture model according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides a method for clustering gene expression data of a non-parametric walton mixture model, which is performed by a gene expression data clustering device (hereinafter referred to as a clustering device) of the non-parametric walton mixture model, and at least includes:
s101, acquiring a gene data set to be clustered; wherein the gene data set comprises N gene expression data vectors.
In this embodiment, the clustering device may be a computer device with a data processing function, such as a laptop, a desktop, or a server, and the computer device may implement the gene expression data clustering method of the non-parametric walton mixture model by executing a predetermined program.
In this embodiment, after obtaining the gene data set, the gene data set may be further preprocessed to remove some interference data, where the preprocessing includes at least one of:
data containing empty entries in the gene expression data vector are removed.
Removing the data with characteristic value 'NAN' in the gene expression data vector.
Data that changed less over time in the gene expression data vector was removed.
The remaining gene expression data vectors were normalized to the L2 norm.
And S102, modeling the gene expression data vector by using a nonparametric Watson mixed model.
In this embodiment, step S102 specifically includes:
s1021, for D-dimensional vectors obeying Watson probability distributionDefining its probability density function as:
wherein,for a data set containing N gene expression data vectors,is a position parameter and satisfies a condition| L | · | is the calculation of the norm of L2; gamma is a scale parameter and satisfies the condition gamma>0, (. cndot.) is a Gamma function, and M (. cndot.) is a Kummer function.
S1022, subjecting each gene expression data vector subjected to the non-parametric Watson mixed model, wherein the probability density function expression of each gene expression data vector is as follows:
wherein the non-parametric Watson mixture model is composed of an infinite number of mixture components (also called mixture components), each corresponding to a Watson probability distributionWhereinIs a parameter of the kth mixing element, and pik>0 is the corresponding mixing coefficient (mixing coefficient) and satisfies the conditionIn the embodiment, the non-parametric Watson hybrid model is constructed based on a Pitman-Yor process model using a Stick-Breaking representation method. In a Pitman-Yor process model based on a Stick-Breaking representation method, a mixing coefficient pikIs represented as follows:
wherein p isb(.) is Beta distribution, ζ is the Discount (Discount) parameter in the Pitman-Yor process model and satisfies the condition 0 ≦ ζ ≦ 1, ξ is the density parameter satisfying the condition ξ>-ζ。
S1023, expressing data vector for each geneAssigning a binary hidden variableAs an indicator factor: when Z isnkWhen 1, the gene expression data vector is indicatedBelong to the kth category; otherwise, Znk0; in which the hidden variables areHas a probability distribution of
S1024, giving parameters of the non-parametric Watson mixed modelAndassigning a prior probability distribution; wherein, Watson-Gamma distribution is adopted as parameterJoint prior distribution of (c):
wherein p isg(. cndot.) is a Gamma distribution.
S1025, obtaining a total probability expression of a nonparametric Watton mixed model based on the Pitman-Yor process model:
thus, a nonparametric Watton mixture model based on the Pitman-Yor process model is obtained.
S103, estimating model parameters of the nonparametric Watton mixed model through a variational Bayes inference algorithm.
S104, judging whether the nonparametric Watton mixed model converges according to the inferred model parameters; if not, the process returns to step S103, and if so, step S105 is executed.
Specifically, the method comprises the following steps:
firstly, initializing model parameters; the method comprises the following steps of initializing a truncation layer number K to 15; initialization of hyper-parameter 0<ak<1,0<bk<1,βk=1,ζk=0.5,ξk0.5; initializing r using K-Means algorithmnk(ii) a Initialization
The variation posteriori and the expected value are then updated with the current model parameters.
Wherein, the lower bound of the variation is defined as follows:
L(q)=<lnp(Θ|X)>-<lnq(Θ)>
here, ,<·>for calculation of desired valuesA set of all random variables and hidden variables; q (Θ) is an approximate distribution of the real posterior distribution p (Θ | X), i.e. a variational posterior; the expression of variation posteriori q (Θ) is as follows
The hybrid component is then truncated from the infinite dimensional space to the K dimensional space using a truncation technique:
Wherein K is the number of truncation layers, namely the number of categories; the value of K will reach an optimal value when converging;
all variational posteriors are then optimized by maximizing the lower variational bound, L (q):
the hyperparameters in the formula are calculated by formulas (4) to (11):
The calculation of the expected value in the above equation is calculated by the following equation:
<Znk>=rnk(14)
<lnπ′k>=Ψ(gk)-Ψ(gk+hk) (17)
<ln(1-π′k)>=Ψ(hk)-Ψ(gk+hk) (18)
where Ψ (. cndot.) is a Digamma function.
And then, obtaining a variation lower bound generated by the current iteration.
After obtaining the updated model parameters and the expected values, the lower bounds of variation generated by the current iteration can be obtained by equations (1) - (18).
And finally, comparing the variation lower bound generated by the current iteration with the variation lower bound generated by the last iteration to judge whether the nonparametric Watton mixed model converges.
Specifically, whether the difference between the lower variation bound generated by the current iteration and the lower variation bound generated by the last iteration is smaller than a preset threshold value is judged; if yes, judging that the nonparametric Watton mixed model is converged, and the number of truncation layers reaches an optimal value; if not, the non-parameter Watton mixed model is judged not to be converged, and the next iteration is needed.
In a preferred embodiment of the present invention, the preset threshold may be 0.0001, but it should be noted that other values may be used, and the smaller the preset threshold is, the higher the iteration precision is, and the present invention is not limited specifically.
And S105, judging the category of each gene expression data vector according to the posterior probability of the indicator factor, and clustering the gene expression data vectors according to the category.
In this embodiment, after the model converges, the posterior probability r of the indicative factor in the converged model parameters is obtainednkPosterior probability r of the indicatornkExpression data vector representing the nth geneProbability of belonging to the kth class, in this case according to rnkSelecting the class with the highest probability as the gene expression data vectorThe clustering of different gene expression data vectors in the gene data set can be realized according to the types of the gene expression data vectors.
In order to facilitate understanding of the present invention, the following description will be given of an application of the present embodiment as a practical example.
In this example, verification will be performed on two public gene datasets (Diauxic Shift dataset and YeastCell Cycle dataset).
In this embodiment, the Windows10 system is used as an experimental platform, Matlab is used as a programming language, and the parameter setting is described in the embodiments of the present invention. Clustering results are measured as Normalized Mutual Information (NMI).
In the embodiment, the PYP-WMM gene data clustering method, the classic clustering algorithm K-means and a method based on a DP process and a Watson mixed model, namely (DP-WMM) are compared. Each method was repeated 10 times and the average was taken as a comparison index. The results of the experiment are shown in table 1. As can be seen from the comparison result, compared with the classical clustering algorithm K-means and the prior similar technology, the invention can obtain better gene expression data clustering result (higher NMI value).
TABLE 1
In summary, the embodiment constructs a non-parametric hybrid model based on Watson probability distribution by adopting a non-parametric model framework based on the Pitman-Yor process, and performs cluster analysis on the gene expression data vector by using the model. The Watson hybrid model constructed in the embodiment refers to a probability distribution formed by a weighted combination mode of a plurality of Watson probability distributions. In the method, each piece of gene expression data is preprocessed and then normalized by using an L2 norm, and then the obtained gene data vector is modeled by using a Watson mixed model. In order to be capable of flexibly and automatically adjusting the number of gene data categories according to the size of data, the method uses a nonparametric model framework named as Pitman-Yor process to construct a nonparametric mixed model based on Watson probability distribution. The parameters of the proposed nonparametric Watson hybrid model are estimated by a variational Bayesian inference algorithm. Compared with the prior art, the mixture model based on the Pitman-Yor process provided by the embodiment has the discount parameters which can be used for controlling the generation of the new category number, so that the method has more advantages than a method based on a DP mixture model when processing unbalanced data, and a better clustering result can be obtained.
The second embodiment of the present invention further provides a gene expression data clustering device of a non-parametric Watson hybrid model, including:
a gene data set obtaining unit 210, configured to obtain a gene data set to be clustered; wherein the gene data set comprises N gene expression data vectors;
a modeling unit 220 for modeling the gene expression data vector using a non-parametric Watson mixture model;
a model parameter estimation unit 230 for estimating model parameters of the non-parametric Watson hybrid model by a variational Bayesian inference algorithm;
a convergence judging unit 240, configured to judge whether the nonparametric Watson hybrid model converges according to the estimated model parameter; if not, informing the model parameter estimation unit, if yes, informing the classification unit;
and the classification unit 250 is configured to judge a category to which each gene expression data vector belongs according to the posterior probability of the indicator, so as to cluster the gene expression data vectors according to the category to which the gene expression data vectors belong.
The embodiment of the invention also provides gene expression data clustering equipment of the non-parametric Watson mixed model, which comprises a memory and a processor, wherein a gene data set to be clustered and a computer program are stored in the memory, and the computer program can be executed by the processor so as to realize the gene expression data clustering method of the non-parametric Watson mixed model.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus and method embodiments described above are illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation 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 may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A gene expression data clustering method of a nonparametric Watson mixed model is characterized by comprising the following steps:
s101, acquiring a gene data set to be clustered; wherein the gene data set comprises N gene expression data vectors;
s102, modeling a gene expression data vector by using a nonparametric Watson mixed model;
s103, estimating model parameters of the nonparametric Watson mixed model through a variational Bayes inference algorithm;
s104, judging whether the nonparametric Watson mixed model converges according to the estimated model parameters; if not, returning to the step S103, if so, executing the step S105;
and S105, judging the category of each gene expression data vector according to the posterior probability of the indicator factor, and clustering the gene expression data vectors according to the category.
2. The method for clustering gene expression data of a non-parametric Watson hybrid model according to claim 1, wherein the modeling gene expression data vectors using the non-parametric Watson hybrid model specifically comprises:
for D-dimensional vectors obeying Watson probability distributionDefining its probability density function as:
wherein,for a data set containing N gene expression data vectors,is a position parameter and satisfies a condition| L | · | is the calculation of the norm of L2; gamma is a scale parameter and satisfies the condition gamma>0, (. cndot.) is a Gamma function, and M (. cndot.) is a Kummer function;
and (3) subjecting each gene expression data vector subjected to the nonparametric Watson mixed model, wherein the probability density function expression of each gene expression data vector is as follows:
the nonparametric Watson mixed model consists of infinite mixed components, and each mixed component corresponds to one Watson probability distribution Is a parameter of the kth mixing element, and pik>0 is the corresponding "mixing coefficient" and satisfies the condition
Expressing the data vector for each geneAssigning a binary hidden variableAs an indicator factor: when Z isnkWhen 1, the gene expression data vector is indicatedBelong to the kth category; otherwise, Znk0; in which the hidden variables areHas a probability distribution of
Parameters to nonparametric Watson hybrid modelsAndassigning a prior probability distribution; wherein, Watson-Gamma distribution is adopted as parameterJoint prior distribution of (c):
wherein p isg(. cndot.) is a Gamma distribution;
obtaining a total probability expression of a nonparametric Watton mixed model based on a Pitman-Yor process model:
3. the method for clustering gene expression data of a nonparametric Watson mixture model according to claim 2,
the non-parametric Watson mixed model is constructed on the basis of a Pitman-Yor process model adopting a Stick-Breaking representation method; in a Pitman-Yor process model based on a Stick-Breaking representation method, a mixing coefficient pikIs represented as follows:
wherein p isb(.) is Beta distribution, ζ is the discount parameter in the Pitman-Yor process model and satisfies the condition 0 ≦ ζ ≦ 1, ξ is the density parameter satisfying the condition ξ>-ζ。
4. The method for clustering gene expression data of a nonparametric Watson mixture model according to claim 3,
said estimating model parameters of said non-parametric Watson hybrid model by a variational Bayesian inference algorithm, an
Judging whether the nonparametric Watson mixed model converges according to the estimated model parameters;
the method specifically comprises the following steps:
initializing model parameters; the method comprises the following steps of initializing a truncation layer number K to 15; initialization of hyper-parameter 0<ak<1,0<bk<1,βk=1,ζk=0.5,ξk0.5; using K-Means algorithmInitialization rnk(ii) a Initialization
Updating the variation posterior and the expected value by using the current model parameters;
Obtaining a variation lower bound generated by the current iteration;
and comparing the variation lower bound generated by the current iteration with the variation lower bound generated by the last iteration to judge whether the nonparametric Watton mixed model converges.
5. The method for clustering gene expression data of non-parametric Watson mixture models according to claim 4, wherein the updating of the posterior variational and expected values using the current model parameters is specifically:
defining the lower bound of variation as:
L(q)=<lnp(Θ|X)>-<lnq(Θ)>
wherein,<·>for the calculation of the desired value of the value,a set of all random variables and hidden variables; q (Θ) is an approximate distribution of the real posterior distribution p (Θ | X), i.e. a variational posterior; the expression of variation posteriori q (Θ) is as follows
Truncating the hybrid component from an infinite dimensional space to a K dimensional space using a truncation technique:
Wherein K is the number of truncation layers, namely the number of categories; the value of K will reach an optimal value when converging;
all variational posteriors are optimized by maximizing the lower variational bound, l (q):
the hyperparameters in the formula are calculated by formulas (4) to (11):
The calculation of the expected value in the above equation is calculated by the following equation:
<Znk>=rnk(14)
<lnπ′k>=Ψ(gk)-Ψ(gk+hk) (17)
<ln(1-π′k)>=Ψ(hk)-Ψ(gk+hk) (18)
where Ψ (. cndot.) is a Digamma function.
6. The method for clustering gene expression data of a non-parametric Watson mixture model according to claim 4,
comparing the lower variation bound generated by the current iteration with the lower variation bound generated by the last iteration to judge whether the nonparametric Watson mixed model converges specifically:
whether the difference between the lower variation bound generated by the current iteration and the lower variation bound generated by the last iteration is smaller than a preset threshold value or not; the preset threshold value is 0.0001
If yes, judging that the nonparametric Watson mixed model converges;
and if not, judging that the nonparametric Watson mixed model does not converge.
7. The method for clustering gene expression data of a non-parametric Watson mixture model according to claim 5, wherein the class of each gene expression data vector is determined according to the posterior probability of the indicator, so as to cluster the gene expression data vectors according to the class, specifically:
obtaining the posterior probability r of the indicative factornk,rnkExpression data vector representing the nth geneProbability of belonging to the kth class;
8. The method for clustering gene expression data of a nonparametric Watson mixture model according to any one of claims 1 to 7, further comprising:
preprocessing the gene expression data vector:
removing data containing empty items in the gene expression data vector;
removing data with characteristic value 'NAN' in the gene expression data vector;
removing data with small time variation in the gene expression data vector;
the remaining gene expression data vectors were normalized to the L2 norm.
9. A gene expression data clustering device of a nonparametric Watson mixed model is characterized by comprising the following components:
the gene data set acquisition unit is used for acquiring a gene data set to be clustered; wherein the gene data set comprises N gene expression data vectors;
the modeling unit is used for modeling the gene expression data vector by using a nonparametric Watson mixed model;
the model parameter estimation unit is used for estimating the model parameters of the nonparametric Watson mixed model through a variational Bayes inference algorithm;
a convergence judging unit, configured to judge whether the nonparametric Watson hybrid model converges according to the estimated model parameter; if not, informing the model parameter estimation unit, if yes, informing the classification unit;
and the classification unit is used for judging the category of each gene expression data vector according to the posterior probability of the indicator factor so as to cluster the gene expression data vectors according to the category.
10. A gene expression data clustering device of a non-parametric Watson hybrid model, comprising a memory in which gene data sets to be clustered and a computer program executable by the processor are stored, and a processor, to implement the gene expression data clustering method of the non-parametric Watson hybrid model according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010499785.7A CN111612101B (en) | 2020-06-04 | 2020-06-04 | Gene expression data clustering method, device and equipment of nonparametric Watson mixed model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010499785.7A CN111612101B (en) | 2020-06-04 | 2020-06-04 | Gene expression data clustering method, device and equipment of nonparametric Watson mixed model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111612101A true CN111612101A (en) | 2020-09-01 |
CN111612101B CN111612101B (en) | 2023-02-07 |
Family
ID=72199012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010499785.7A Active CN111612101B (en) | 2020-06-04 | 2020-06-04 | Gene expression data clustering method, device and equipment of nonparametric Watson mixed model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111612101B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112508050A (en) * | 2020-11-06 | 2021-03-16 | 重庆恢恢信息技术有限公司 | Construction engineering construction planning working method based on mass data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001202358A (en) * | 2000-01-21 | 2001-07-27 | Nippon Telegr & Teleph Corp <Ntt> | Bayesian inference method for mixed model and recording medium with recorded bayesian inference program for mixed model |
CN103226595A (en) * | 2013-04-17 | 2013-07-31 | 南京邮电大学 | Clustering method for high dimensional data based on Bayes mixed common factor analyzer |
CN108804784A (en) * | 2018-05-25 | 2018-11-13 | 江南大学 | A kind of instant learning soft-measuring modeling method based on Bayes's gauss hybrid models |
-
2020
- 2020-06-04 CN CN202010499785.7A patent/CN111612101B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001202358A (en) * | 2000-01-21 | 2001-07-27 | Nippon Telegr & Teleph Corp <Ntt> | Bayesian inference method for mixed model and recording medium with recorded bayesian inference program for mixed model |
CN103226595A (en) * | 2013-04-17 | 2013-07-31 | 南京邮电大学 | Clustering method for high dimensional data based on Bayes mixed common factor analyzer |
CN108804784A (en) * | 2018-05-25 | 2018-11-13 | 江南大学 | A kind of instant learning soft-measuring modeling method based on Bayes's gauss hybrid models |
Non-Patent Citations (1)
Title |
---|
王景中等: "基于无限逆狄利克雷混合模型的变分学习", 《计算机与数字工程》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112508050A (en) * | 2020-11-06 | 2021-03-16 | 重庆恢恢信息技术有限公司 | Construction engineering construction planning working method based on mass data |
Also Published As
Publication number | Publication date |
---|---|
CN111612101B (en) | 2023-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109754078B (en) | Method for optimizing a neural network | |
US20180247193A1 (en) | Neural network training using compressed inputs | |
Orbanz et al. | Nonparametric Bayesian image segmentation | |
Joy et al. | Batch Bayesian optimization using multi-scale search | |
US20140358831A1 (en) | Systems and methods for bayesian optimization using non-linear mapping of input | |
Gramacy et al. | Parameter space exploration with Gaussian process trees | |
CN112488791A (en) | Individualized recommendation method based on knowledge graph convolution algorithm | |
JP2022553866A (en) | Method and system for estimation of computational cost of simulation | |
CN113255842B (en) | Vehicle replacement prediction method, device, equipment and storage medium | |
CN109409434A (en) | The method of liver diseases data classification Rule Extraction based on random forest | |
CN111612101B (en) | Gene expression data clustering method, device and equipment of nonparametric Watson mixed model | |
CN113590748B (en) | Emotion classification continuous learning method based on iterative network combination and storage medium | |
Markley et al. | Joint parsimonious modeling and model order selection for multivariate Gaussian mixtures | |
KR20180056013A (en) | Method and apparatus for predicting toxicity of nano material | |
Shekhar et al. | A forward–backward greedy approach for sparse multiscale learning | |
KR100842215B1 (en) | Method and apparatus for multi-class classification using support vector domain description, and computer-readable storage medium used thereto | |
CN115280329A (en) | Method and system for query training | |
Trapp et al. | Learning deep mixtures of gaussian process experts using sum-product networks | |
CN111860556A (en) | Model processing method and device and storage medium | |
CN115345303A (en) | Convolutional neural network weight tuning method, device, storage medium and electronic equipment | |
CN111611389B (en) | Text data clustering method, device and equipment based on nonparametric VMF mixed model | |
Seiferth et al. | Online Gaussian Process regression with non-Gaussian likelihood | |
CN116508035A (en) | Converting a trained artificial intelligence model into a trusted artificial intelligence model | |
Jia et al. | Gene regulatory network inference by point-based gaussian approximation filters incorporating the prior information | |
CN118429004B (en) | Commodity order prediction method in supply chain network and related products |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |