Description Usage Arguments Value
The computational function for the SUGS with variable selection algorithm.
1 2 3 |
mydata |
Data matrix with observations as rows. |
intfeature |
A binary vector of feature which are parition as irrelevant (0) or relevant (1). |
Model |
A character string sating whether PML, ML or both are used for feature selection and returned. |
mu_0 |
The mean hyperparameter, default is the column means of the data matrix. |
lambda_0 |
The variance of the Guassian mean prior, the dafault value is |
nu_0 |
The degrees of freedom hyperparameter, the default value is |
S_0 |
The scale hyperparamter, the deault value is a fifth of the column variance of the data matrix. |
betaHat |
A grid of hyperparameters for the dirichlet concentration parameter, the default is |
a |
The scale of the gamma prior for the dirichlet concentration parameter, the dafault value is |
b |
The rate of the gamma prior for the dirichlet concentration parameter, the default value is |
w |
The prior probability of a variable belong to the irrelevant or relevant partition. The vector must
contain two entries the first entry being the probabiliy of being irreleavnt and the second being the probability of being relevant
The default value is |
An allocation vector, called member, of observation to clusters, K the number of clusters, n the number of observation in each cluster, the log PML or log ML or both as appropriate, a binary vector of features that have been classified as irrelevant (0) or relevant (1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.