Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 750 by
Quinn775...@gmail.com: -Infinity value always come out
when i try to load xml
https://code.google.com/p/beast-mcmc/issues/detail?id=750
What steps will reproduce the problem?
1 why it always offer -Infinity value when i try to beast in beagle? This
can be solved by few attempts. But i wonder how to fix it for ever. maybe
i set some wrong prior?
here is the problem, you see "-Inf"
##########################################################################
CompoundLikelihood(compoundModel)=(
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-9190.03,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-9317.2341
Total = -Infinity
)
Total = -Infinity
#######################################################################
What version of the product are you using? On what operating system?
beast 1.8 and beagle 2.1.2
##########################################################################
Please provide any additional information below.
sing discretized relaxed clock model.
over sampling = 1
parametric model = logNormalDistributionModel
rate categories = 1
Creating state frequencies model 'frequencies': Initial frequencies =
{0.25, 0.25, 0.25, 0.25}
Creating HKY substitution model. Initial kappa = 2.0
Creating site model:
4 category discrete gamma with initial shape = 0.5
initial proportion of invariant sites = 0.5
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 0: CPU
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH EIGEN_REAL
SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE PROCESSOR_CPU
FRAMEWORK_CPU
Ignoring ambiguities in tree likelihood.
With 56 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 100 evaluations)
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 0: CPU
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH EIGEN_REAL
SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE PROCESSOR_CPU
FRAMEWORK_CPU
Ignoring ambiguities in tree likelihood.
With 56 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 100 evaluations)
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 0: CPU
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH EIGEN_REAL
SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE PROCESSOR_CPU
FRAMEWORK_CPU
Ignoring ambiguities in tree likelihood.
With 56 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 100 evaluations)
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 0: CPU
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH EIGEN_REAL
SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE PROCESSOR_CPU
FRAMEWORK_CPU
Ignoring ambiguities in tree likelihood.
With 56 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 100 evaluations)
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 0: CPU
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH EIGEN_REAL
SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE PROCESSOR_CPU
FRAMEWORK_CPU
Ignoring ambiguities in tree likelihood.
With 56 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 100 evaluations)
Using BEAGLE TreeLikelihood
Branch rate model used: discretizedBranchRates
Using BEAGLE resource 0: CPU
with instance flags: PRECISION_DOUBLE COMPUTATION_SYNCH EIGEN_REAL
SCALING_MANUAL SCALERS_RAW VECTOR_NONE THREADING_NONE PROCESSOR_CPU
FRAMEWORK_CPU
Ignoring ambiguities in tree likelihood.
With 56 unique site patterns.
Using rescaling scheme : dynamic (rescaling every 100 evaluations)
Creating swap operator for parameter branchRates.categories (weight=10.0)
Optimization Schedule: default
Likelihood computation is using a pool of 6 threads.
Creating the MCMC chain:
chainLength=20000000
autoOptimize=true
autoOptimize delayed for 200000 steps
Underflow calculating likelihood. Attempting a rescaling...
Underflow calculating likelihood. Attempting a rescaling...
Underflow calculating likelihood. Attempting a rescaling...
Underflow calculating likelihood. Attempting a rescaling...
Error running file: coi.xml
The initial model is invalid because state has a zero probability.
If the log likelihood of the tree is -Inf, his may be because the
initial, random tree is so large that it has an extremely bad
likelihood which is being rounded to zero.
Alternatively, it may be that the product of starting mutation rate
and tree height is extremely small or extremely large.
Finally, it may be that the initial state is incompatible with
one or more 'hard' constraints (on monophyly or bounds on parameter
values. This will result in Priors with zero probability.
The individual components of the posterior are as follows:
The initial posterior is zero:
CompoundLikelihood(compoundModel)=(
LogNormal(kappa)=-1.8654,
Uniform(frequencies)=0.0,
Exponential(alpha)=-0.3069,
Gamma(pInv)=-0.4231,
Exponential(ucld.stdev)=0.0986,
Uniform(yule.birthRate)=-230.2585,
BirthDeathGernhard08Model/yule(treeModel)=-630649.0281
Total = -630881.7832675388
),
CompoundLikelihood(compoundModel)=(
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-9190.03,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-Inf,
BeagleTreeLikelihood(treeLikelihood[treeLikelihood_6])=-9317.2341
Total = -Infinity
)
Total = -Infinity
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings