This commit is contained in:
Nathan Borggren
2023-08-07 08:30:12 -04:00
parent 0b1a2cee1f
commit 3e38ca2436
3 changed files with 2285 additions and 126 deletions

View File

@@ -2686,7 +2686,11 @@
" observation = pm.Beta(\"decoy\", alpha, beta, observed=block_no)\n",
" sdecoy = pm.Beta(\"sdecoy\", 19.38, 1/61)\n",
" sdecoy2 = pm.Beta(\"sdecoy2\", 28.05, .249)\n",
" #decoy = pm.Beta('decoy', 19.38, 1/61)"
" #decoy = pm.Beta('decoy', 19.38, 1/61)\n",
" \n",
"with model:\n",
" step = pm.Metropolis()\n",
" trace2 = pm.sample(3000, tune=500, step=step, return_inferencedata=False)"
]
},
{

File diff suppressed because one or more lines are too long

View File

@@ -97,12 +97,12 @@ class ring:
else:
#self.txo.sinks.append(j)
if j in registry:
registry[j].sources.append(i)
registry[j].sources.append(self.txo.tx_hash)
mixins.append(registry[j])
else:
registry[j] = tx(j, registry=registry)
registry[j].sources.append(j)
registry[j].sources.append(self.txo.tx_hash)
mixins.append(registry[j])
return mixins