This disclosure relates generally to systems and methods of collective matrix factorization for multi-relational learning, and particularly for generating a recommendation using multi-relational learning via hierarchical nonparametric Bayesian collective matrix factorization.
Relational learning addresses problems where the data come from multiple sources and are linked together through complex relational networks. Two important goals are pattern discovery (e.g. by (co)-clustering) and predicting unknown values of a relation, given a set of entities and observed relations among entities. In the presence of multiple relations, combining information from different but related relations can lead to better insights and improved prediction. Collective Matrix Factorization (CMF) is a powerful tool for relational learning.
Relative or relational learning is related to the area of relational (co)-clustering, which refers to models on sets of related matrices or tensors where the underlying factorization involves clustering or co-clustering rows and columns in the case of matrices or higher dimensions in the case of tensors. Traditional machine learning methods assume that the data come from a homogeneous source corresponding to a single relation. In real-world problems, however, this assumption is often violated. In addition, the information available on individual entities is often scarce, while the connections among these entities are most relevant for pattern discovery. Examples include citation analysis, link prediction, epidemiology, web analytics and collaborative filtering. Multi-relational learning goes beyond standard methods to analyze the data from multiple relations, allowing dependencies between samples and samples with different distributions, to provide deeper insights into the patterns underlying the multiple relationships and their domains. CMF has emerged as a powerful tool for this purpose. More specifically, relational learning can be cast as the simultaneous factorization of several matrices, where the low-rank representations share parameters. The key idea is that one can simultaneously factor these matrices, sharing parameters among factors, when an entity participates in multiple relations. Experimental evidence suggests that combining information from multiple relations leads to better prediction.
However, the traditional CMF framework has several shortcomings: (i) the model is a point estimate that ignores uncertainty in the posterior distribution over parameters; (ii) strong generalization is not statistically well defined; and (iii) each point in the grid search over hyperparameter values involves learning a CMF on held-out data, which is computationally expensive. One proposal to solve these problems is a hierarchical Bayesian variant of collective matrix factorization (HB-CMF). However, this variant is still restrictive as the factors of rows or columns of one matrix are exactly the same as those of rows or columns of another matrix.
A system, method and computer program product to automatically control a machine is presented. The system and method particularly will provide an ability to generate a recommendation by performing multi-relational learning via hierarchical nonparametric Bayesian CMF, abbreviated as MRL-HNBP. The system can also display the recommendation.
In one aspect, there is provided a method for generating a recommendation using multi-relational learning comprising receiving at a processing device, first multi-relational data for a first relation, receiving at the processing device, second multi-relational data for a second relation associated with the first relation, unfolding the received first multi-relational data into at least two relational matrices based on a relational graph, obtaining co-clustering, related models of the at least two relational matrices, and generating and displaying the recommendation from the at least two relational matrices and the second multi-relational data. In one aspect, the unfolding is performed using hierarchical nonparametric Bayesian collective matrix factorization. In one aspect, the at least two relational matrices comprise commonly shared object types having the same latent membership across the at least two relational matrices. In one aspect, unfolding comprises using matrix factorization on the at least two relational matrices, and performing predictive modeling of each relation of the at least two relational matrices. In one aspect, obtaining co-clustering further comprises performing cluster analysis and imputing missing values for the at least two relational matrices. In one aspect, the method further comprises performing interference with Gibbs sampling for the at least two relational matrices. In one aspect, the method further comprises performing sparse point estimation for the at least two relational matrices.
In a further aspect, there is provided an apparatus for generating a recommendation using multi-relational learning. The apparatus comprises:
a memory storage device storing a program of instructions;
a processor device receiving said program of instructions to configure said processor device to: receive first multi-relational data for a first relation, receive second multi-relational data for a second relation associated with the first relation, unfold the received first multi-relational data into at least two relational matrices based on a relational graph, obtain co-clustering, related models of the at least two relational matrices, and generate and display the recommendation from the at least two relational matrices and the second multi-relational data. In one aspect, unfold is performed using hierarchical nonparametric Bayesian collective matrix factorization. In one aspect, the at least two relational matrices comprise commonly shared object types having the same latent membership across the at least two relational matrices. In one aspect, unfold comprises using matrix factorization on the at least two relational matrices, and performing predictive modeling of each relation of the at least two relational matrices. In one aspect, obtain co-clustering further comprises performing cluster analysis and imputing missing values for the at least two relational matrices. In one aspect, the processor is further configured to perform interference with Gibbs sampling for the at least two relational matrices. In one aspect, the processor is further configured to perform sparse point estimation for the at least two relational matrices.
In a further aspect, there is provided a computer program product for performing operations. The computer program product includes a storage medium readable by a processing circuit and storing instructions run by the processing circuit for running a method. The method is the same as listed above.
These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings, in which:
A system and method for determining a recommendation by using a nonparametric hierarchical Bayesian model, abbreviated as MRL-HNBP, that frames a large number of relational learning problems and improves on existing collaborative factorization models is presented. MRL-HNBP achieves this, in one embodiment, by (i) making more reasonable assumptions, (ii) enabling co-clustering and prediction analysis within a unified framework and (hi) allowing for the estimation of entire missing rows or columns is presented. The method significantly improves the prediction power, e.g., recommendation determination, of statistical modeling through leveraging/sharing information in a more sensible way, and enables entities from multiple channels have both shared relations as well as their specific features relations.
In particular, the abstract objects associated with each dyadic matrix are treated as random variables sampled from the independent Dirichlet process (DP). To embed the relation between these matrices, the random variables corresponding to the commonly shared object type are forced to have the same latent membership in the joint DP. In one embodiment, effective algorithms are used for computation. This formulation is also extended to collective tensor factorization. The methods for performing multi-relational learning via hierarchical nonparametric Bayesian CMF (MRL-FINBP) described herein exploit the correlations among different entity types and relations that can improve prediction performance. The promising results of the MRL-HNBP come from both the flexible model setup and the inference schemes, for example, extension of the exact block Gibbs. MRL-HNBP MAP converges faster than the Gibbs inference.
Accordingly, MRL-HNBP, through sharing membership among the same entities across matrices and learn relations within matrices by hierarchical co-clustering is presented. Further, a model that contains a prior based on a hierarchical Dirichlet process (HDP), which assumes independent DP mixture priors for the means and covariances of row and column factors within a matrix is presented. An embodiment of the model incorporates (co-)clustering and prediction analysis in a single unified framework, and allows for the estimation of entire missing row or column vectors in a matrix.
In one embodiment, factors of the same entity across the matrices are not forced to be the same, but instead these factors share the same membership. Further, in one aspect, factors for rows and columns of a matrix are clustered simultaneously to learn relations within a matrix. To obtain a more robust consensus in co-clustering, cluster means and covariances of the factors rather than factors themselves can be used. In this approach, factors assigned to the same cluster are allowed to share the same characteristics rather than constraining them to be equal. To avoid pre-specifying the number of co-clusters, independent DP priors can be specified for the mean and covariance of the row and column clusters. Thus, the numbers of row- and column-clustered distributions are unbounded a priori; the actual numbers of clusters can be learned a posteriori from observations.
Multi-relational learning through CMF is based on the following. Relational data consist of entities and relations between them. A relational schema defines the structure among a set of relations. Abstractly, a relational schema can he viewed as a collection of t entity-types A1 . . . , At along with a list of relations, each represented by a data matrix. λi˜λj denotes that there is a relation between entities of type i and those of type j. Assuming that there are m entities of type i and n entities of type j, such a relation is specified by a m×n relation matrix.
In one embodiment, for example, entity types are authors, words and papers, and their corresponding data matrices indicate authorship and word count. Assume that there are in entities of type i. Each matrix involves two entity-types, one for the rows and another for the columns. Each relational matrix can be fitted as the product of latent factors Xij≈∫(Ui.Vi.′), where Ui.∈Rn
DP mixture models can be described as follows. In a Bayesian mixture model, the true density of the response Y can be written as a mixture of parametric densities, conditioned on a hidden parameter θ. For example, in a Gaussian mixture, θ corresponds to the mean μ and variance σ2. The marginal probability of an observation is given by a continuous mixture, f(y)=∫Tf(y|θ)P(dθ), where T is the set of all possible parameters and the prior P is a measure on that space. The DP models uncertainty about the prior density P. If P is drawn from a DP, then it can be analytically integrated out of the conditional distribution of θn given θ1:(n−1), where θn denotes the nth parameter for observation yn. Specifically, the random variable On has a Polya urn distribution, and the clustering property of the joint distribution of θ1:n where there is a positive probability that each θi will take on the value of another θj, leading some of the parameters to share values. This equation also makes clear the roles of α and G0. The unique values of θ1:n are drawn independently from G0; the parameter a controls how likely θ1:n.G0 controls the a newly drawn value from G0 rather than to take one of values from θ1:n.G0 controls the distribution of a new component.
In a DP mixture, θ is a latent parameter to an observed data point y: That is:
P˜DP(αG0).
θi˜P, y1|θt˜∫(·|θi).
Examining the posterior distribution of θ1:n given y1:n brings out its interpretation as an ‘infinite clustering’ model. Because of the clustering property, observations are grouped by their shared parameters. Unlike finite clustering models, however, the number of groups is random and unknown. Moreover, a new data point can be assigned to a new cluster that was not previously seen in the data.
Co-clustering has emerged as an important approach for mining dyadic and relational data, where data can be organized in a matrix and rows/columns present symmetrical relations. Researchers propose both hard-partition and soft-partition solutions. In the hard-partition case, rows/columns are assigned to exactly one row/column cluster, while in the soft-partition case, rows/columns have probabilities of belonging to the row/column clusters. The Bayesian co-clustering framework (BCC) assumes two Dirichlet distributions Dir(αl) and Dir(α2) for rows and columns, respectively, given data matrix Y, from which the mixing weights π1u and π2v for each row u and each column v are generated. A row cluster i and a column cluster/together decide a co-cluster (i, j), which has an exponential family distribution pψ(y|θij), where θij is the parameter of the generative model for co-cluster (i, j). To generate each entry in the data matrix, the model first generates the row and column clusters according to the Dirichlet distribution. The value of the current entry is then generated according to the corresponding rowcolumn-cluster distribution. The BCC is a generative model which can be used to predict unseen data.
A model for a three-entity-type schema Al˜A2˜A3 in one embodiment is presented. As shown in
where px, and py are distributions from exponential family and they need not be from the same exponential family. The fixed weights Iij ∈{0, 1} and Ĩjp ∈{0,1} allow for missing data: set a weight to zero when the corresponding value in the data matrix is unobserved.
Maximizing the product of Equations (1) and (2) with respect to the factors F is an instance of CMF. A multivariate normal prior can be placed on each row of U:
where N(·|∥U,i, ΣU,i) is a Gaussian with mean vector μU,i and covariance matrix ΣU,i. The following can he the joint prior for μU,i and ΣU,i:
where η is the normalizing constant, δ0(μU,i) indicates that the random variable μU,i has a degenerate distribution with all its mass at 0 (degenerate distribution accounts for data sparsity) and IW is the abbreviation of the inverse-Wishart distribution. ξU,1, ΣU,i, βU, νU,0, ΨU,0, νU,1 and ΨU,1 are hyper-priors. Thus, with probability πU a row is shrunk toward zero and with probability 1−πU the row is shrunk toward a non-zero normal-inverse-Wishart prior. Denote KV,j=l if the ith row of V is clustered in the l'th latent cluster and Kw,j=l′ if the j'th row of W is clustered in the l'th latent cluster. The priors over V, W and Z are defined similarly, except that V and W share the same membership (or KV,j=KW,j for the joint DP) as depicted at 51 in
Since the DP prior implies that D is almost surely discrete, the prior will automatically group the m coefficient-specific hyperparameters {μU,iΣU,i} into L clusters {μU,l*, ΣU,l*}, with L≦m. One of these clusters will most likely correspond to μU,l*=0, while the other clusters will not have zero means. By denoting that KU,i=l if the i'th row is clustered in the l'th latent cluster, a prior can be seen more clearly through the equivalent stick-breaking form:
Unlike existing methods for analyzing dyadic matrices, the model run at the computer system incorporates clustering and prediction analysis in a unified framework. Clustering analysis of particular interest includes two types of unsupervised analysis, one-way clustering and co-clustering. One-way clustering groups the instances of each abstract object into small clusters based on the observed data. For instance, authors may be clustered based upon their co-authorship relationships (observed in dyads authorarticle) and the word representation of their authored articles (observed in dyads articleword). In many applications, it is also critical to exploit the duality between two abstract objects through co-clustering both dimensions of a dyadic matrix. For example, similar author groups and their relationship can be identified with article clusters.
Note that the hidden clusters are characterized by (μU,l*, ΣU,l*), l=1, . . . , L for object U, where L is the number of clusters in U. Given the model parameters obtained from the training process, the posterior probability of Ui be characterized by (μU,l*, ΣU,l*) is given as:
Pr(KU,i=l|. . . )∝πU,lN(Ui.|μU,l*, ΣU,l*), (3)
where πU,l is the prior robability of cluster (μU,l*, ΣU,l*). For co-clustering analysis, the probability of a pair of instances (Ui, V j) belonging to a co-cluster can be obtained by computing the following joint probability:
Pr[K
U,i
=l
1
, K
V,u
=l
2
| . . . ]=Pr(KU,i=l1| . . . )Pr(KV,j=l2| . . . ),
where Pr(KU,i=l| . . . ) is calculated as in Equation (3). Fur the ore, the above two-way co-clustering can be extended to the multiple-way case, which just repeats the computation of the joint distribution along multiple types of abstract objects.
Although there has been interest in imputing matrix entries that are missing at random, few existing models have capability to estimate entire missing column or row vectors. Since in the formulation described herein, the model takes into account the observed information from multiple relational dyadic matrices, it is possible to predict an entire row or column vector in one dyadic matrix given the information observed from the other dyadic matrix. For example, given an article with the representation of a dyadic vector articleword (Yjl, . . . , YjK), the row vector ({tilde over (X)}1j, . . . , {tilde over (X)}Ij) which denotes the possible authors of this article can be estimated, as discussed below. In the example of predicting authors for a given article, one can convert the continuous prediction results {tilde over (X)}ij to obtain binary authorship via any reasonable link functions or thresholding.
The observed dyads Xij and Yjk are represented by two matrix factorization models resulting in a way to recover missing values among the observed dyadic matrices. More specifically, in the qth sampling iteration, given the achieved latent space {μU*, ΣU*}, {μV*, ΣV*} and the borrowed membership KV,j, the factorization effects Ui(q), Vj(q) can be obtained, and the missing entry Xij is computed through Monte Carlo integration as in equation 4),
where Q is the number of iterations after discarding the burn-in period. Note that in the MRL-HNBP framework, estimating missing values at random or estimating entire for/column vectors are treated equally. As the particular marginal likelihood function to obtain Xij is not obtained, Monte Carlo integration is an efficient method and is performed as calculating equation (4) in every iteration to achieve a relatively good estimation of those missing values.
Posterior computations can be performed in accordance with interference via Gibbs sampling updates and sparse point estimation via hybrid Gibbs algorithm. The algorithms presented herein can be applied to both matrices and tensors. If data matrices are binary, data can initially be augmented by assuming the outcome Xij*=1 occurs when a latent variable, Xij>0. Assume Xij=Ui.Vj.′+εij where εij˜N(0, σq2) and σ12˜Inv−Gamma(v/2,v/2φ2)
This scale mixture of normals with φ2=π2(V−2)/3v and v=7.3 is a near exact representation of the logistic distribution. The data augmentation approach allows this algorithm to be readily modified for other regression models, such as probit. In one embodiment, two simple linear models can be used after the link function transformation, in accordance with an exact blocked Gibbs sampling algorithm that proceeds through the below steps based on the following:
X
ij
=U
i.
V
j.′+εij, εij˜N(0,σ12)
Y
jp
=W
j.
Z
p.′+εjp, εjp˜N(0,σ22)
wherein Ui. is updated through:
Implementing an exact block Gibbs sampler with steps of:
M
U,l=Σk
Vj. and Wi. are sampled similar to Ui, with the only difference that Pr(KV,j=l| . . . )∝1(νV,i<πV,l)N(Vj.|μV,l*, ΣV,l*)N(Wj.|μW,l*, ΣW,l*), and Wj. share the same membership with Vj. Zp. is updated simlar to Ui..
Sparse point estimation via hybrid Gibbs algorithm can be performed in accordance with Maximum A Posteriori (MAP) inference, which consists of finding the parameters minimizing the negative log-posterior: L=−log (U, V, W, Z, |X, Y, I, Ĩ, ΘU, ΘV, ΘW, ΘZ). One can take advantage of the convexity and decomposability properties of the negative log-posterior through the use of alternating optimization implemented via Newton updates. Note that hyperparameters can be fixed (as opposed to variable or random) and ignoring terms that do not depend on the factors, the negative log-posterior can be written as:
L=−log p(X|U, V, I)−log p(Y|W, Z, I{tilde over ( )})
−log p(U|ΘU)−log p(V|ΘV)
−log p(W|ΘW)−log p(Z|ΘZ)
Typically the probabilities involved in the negative log-posterior belong to the exponential family; in particular these are Gaussians, so that the negative log-posterior L is convex with respect to each of its arguments. Hence it can be minimized using alternative optimization by cycling through U, V, W, Z, respectively. In addition, since the negative log posterior L is decomposable, the alternating optimization can be efficiently implemented via Newton updates that reduce to row-wise optimization.
Then, there is denoted by Q(U i.) the ith row of ∇UL, the gradient of the loss with respect to U. Then, there similarly defined: Q(Vj.), q(Wj.), q(Zp.). Using matrix calculus, there is obtained:
q(Ui)=σ1−2Ii ⊙((Ui·V′)V+(Ui·−μU,i)ΣU,i−1
q(Vj)=σ1−2Ij ⊙((UVj′)−Xj·)′U+(Vj·−μV,j)ΣV,j−1
q(Wj)=σ2−2Ĩj ⊙((WjZ′)−Yj·)Z+(Wj·−μW,j)ΣW,j−1
q(Zp)=σ2−2Ĩp ⊙((WZp′)−Yp·)′W+(Zp·−μZ,p)⇄Z,p−1
where ⊙ denotes the element-wise product, The Hessian ∇U2 L respect to U is a block-diagonal matrix, where each non-zero block corresponds to a row of U. Hence, the Newton direction for U, [∇UL][∇U2L]−1 reduces to updating each row Ui, using the direction [q(Ui.)][q1(Ui)]−1. More precisely, the Newton step for Ui. is: Uinew=Ui.−γ[q(Ui) ][q′(Ui)]−1, where γ>0 is a small step size, for example, chosen via line search using, e.g., the Armijio rule. Similar arguments apply for Vj., Wj., Zp.. Using matrix calculus, there is then computed:
q
′(Ui.)=σq−2V′diag (Ii.)V+ΣU,i−1
q
′=σ1−2U′diag (Ij)U+ΣV,j−1
q
′=σ2−2Z′diag (Ĩj.)Z+ΣW,j−1
q
′=σ2−2W′diag (Ĩp.)W+ΣZ,p−1
Each Newton step with respect to U, V, W, Z, respectively, decreases the loss, which is lower bounded. Hence, alternating single Newton steps guarantee convergence to a local mittimizer. In view of the block-diagonal structure of the Hessian, one may think that there are no interactions between different rows of a factor. However, this is not the case: the interactions are indirect through another factor. For instance, the rows of U interact through their effect on V, etc.
In the above procedure, the update of Ui (in Step 1) can be replaced by one Newton step for Ui. Typically the most costly step in the above is not inverting the Hessian but rather computing the gradient. The cost of the latter can be reduced via stochastic approximation where the updates are similar to the above, except that they are computed on a subset of observed relations picked randomly at each iteration. One example heuristic for picking the subsets of relations is to sample the data non-uniformly without replacement from the distribution induced by weights I and Ĩ. For instance, for a row Ui,: the probability of selecting Xi,j is Ii,j/Σlli,i. In the limit, one entity can be sampled at a time, which can result in an online algorithm, offering the possibility of dealing with each relation as it appears without having to store it across iterations. This will not affect the computation operations but will esult in more efficiency for storage.
As shown in
In the method 100 of
In a conceptual view of
Implementing the methods above, the output 150 includes a first Matrix 151 illustrating a Matrix factorization and predictive model of each relation (to fill-in up to entire missing rows/columns) 152. Also, a second matrix 153 illustrating the Co-clustering of the relations 154, e.g., blocks of documents/words/authors after re-arranging the ordering, is generated. In one embodiment, the missing values in matrix 152 are imputed using the model to estimate entire missing column or row vectors. Since the model takes into account the observed information from multiple relational dyadic matrices, it is possible to predict an entire row or column vector in one dyadic matrix given the information observed from the another dyadic matrix. The steps for computing matrix 151 may include performing the posterior computations in accordance with interference via Gibbs sampling updates and sparse point estimation via exact blocked Gibbs algorithm including methods of STEP 1 and STEP 2 as discussed above, and implementing exact block Gibbs sampler steps (i)-(v) described herein above. Further, the computations for generating matrices 152, 153 may include the further steps that include sampling Vj. and Wj. sampled similar to Ui.
In one embodiment, the above-described equations for computing these matrices do not require any specific ordering as long as the Markov Chain Monte Carlo (MCMC) is convergent.
In one embodiment, the two matrices 151, 153 do not need to be identical. Instead information may be shared by imposing that the two-cluster memberships for a given document are the same. In this manner, the method automatically estimates missing values; automatically co-clusters relations; is scalable to large scale data sets through Bayesian Modeling; and minimizes the inconsistency to derive optimal functions.
The present method may be implemented on a general purpose computer or a specially adapted machine. Typically, a programmable processor will execute machine-readable instructions stored on a computer-readable medium. In other cases, the method will be implemented using application specific hardware. The present invention has significant versatility, and can be applied to a wide range of applications involving relational data. Examples include, but are not limited to: (1) Clustering web documents using both text and link information; (2) Rating prediction in a recommendation system; (3) Community detection in social network analysis; and (4) Discovering gene patterns in bioinformatics application.
The method includes outputting a high-quality recommendation(s) to a user of multi-relational network (e.g., social network, enterprise transactions) by operating: 1) (co-)clustering multi-relational data; 2) transferring/sharing information across multi-relational data matrices systematically (latent space modeling, soft clustering); 3) determining weighted values for the mixture of the latent distributions for the clusters, e.g., using exact block Gibbs sampling step (i); 4) generating a weighted mixture model of the relations based on the nonparametric Bayesian models, e.g., using exact block Gibbs sampling step (v); and 5) recommending to the user based on the statistical prediction modeling. In one embodiment, efficient Hybrid Markov Chain Monte Carlo (MCMC) utilizing optimization methods are implemented for the Hierarchical Bayesian modeling. The algorithm can be scalable to a high dimensional data.
In a first example,
In a second example,
In a third example,
In a fourth example,
In a further example,
The computer system may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. The computer system may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
The components of computer system may include, but are not limited to, one or more processors or processing units 12, a system memory 16, and a bus 14 that couples various system components including system memory 16 to processor 12. The processor 12 may include a module 10 that performs the methods described herein. The module 10 may be programmed into the integrated circuits of the processor 12, or loaded from memory 16, storage device 18, or network 24 or combinations thereof.
Bus 14 may represent one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
Computer system may include a variety of computer system readable media. Such media may be any available media that is accessible by computer system, and it may include both volatile and non-volatile media, removable and non-removable media.
System memory 16 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) and/or cache memory or others. Computer system may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 18 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (e.g., a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 14 by one or more data media interfaces.
Computer system may also communicate with one or more external devices 26 such as a keyboard, a pointing device, a display 28, etc.; one or more devices that enable a user to interact with computer system; and/or any devices (e.g., network card, modem, etc.) that enable computer system to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 20.
Still yet, computer system can communicate with one or more networks 24 such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 22. As depicted, network adapter 22 communicates with the other components of computer system via bus 14. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system. Examples include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, 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 instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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 that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements, if any, in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.