Description Usage Arguments Value Author(s) See Also Examples
This function is used to learn the model parameters from formatted PET clusters
1 | MICCMainLearn(data_formatted, params.init = NULL, reltol = 1e-05, abstol = 0.001, step = 200, restart = 5, MinConfident = 5)
|
data_formatted |
Formatted data matrix by "InputMatrixFormatted" function |
params.init |
Initialized paramters, see value section for more details |
reltol |
Relative tolerance, default value: 1e-5 |
abstol |
Absolute tolerance, default value: 1e-5 |
step |
Max number of steps before convergence, default value: 200 |
restart |
Times to restart before convergence, default value: 5 |
MinConfident |
Minimal number of PET-count to classify true interaction PET clusters when initializing the paramters, default value: 5 |
params |
A list of model parameters
|
LogLik |
Logliklihood after fitting the model |
PostProb |
A matrix with 3 columns to describe the posterior probability of each PET clusters for each state, respectively |
CONVERGED! |
The training is absolutely converged! |
RELCONVERGED! |
The training is relatively converged! |
NOT CONVERGED! |
The training is neither absolutely nor relatively converged! |
Chao He
InputMatrixFormatted
,
MICC_1.0-package
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(MICC)
## Import data
data(TestData)
# format the data
data_formatted <- InputMatrixFormatted(TestData)
# train the model
Par <- MICCMainLearn( data_formatted, reltol=1e-5, step=200 )
## The function is currently defined as
function (data_formatted, params.init = NULL, reltol = 1e-05,
abstol = 0.001, step = 200, restart = 5, MinConfident = 5)
{
Par <- EMIter(data_formatted, params.init = params.init,
reltol = reltol, abstol = abstol, step = step, restart = restart,
MinConfident = MinConfident)
Par
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.