Skip to content
Snippets Groups Projects
Commit 31b22387 authored by Farid Mohammadi's avatar Farid Mohammadi
Browse files

[BayesInference][MCMC] update script style.

parent 8457a6e8
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ class MCMC(): ...@@ -78,7 +78,7 @@ class MCMC():
initsamples = priorDist.sample(self.nwalkers).T initsamples = priorDist.sample(self.nwalkers).T
except: except:
# when aPCE selected - gaussian kernel distribution # when aPCE selected - gaussian kernel distribution
inputSamples = PCEModel.ExpDesign.Input_distributions.T inputSamples = PCEModel.ExpDesign.raw_data.T
random_indices = np.random.choice(len(inputSamples), random_indices = np.random.choice(len(inputSamples),
size=self.nwalkers, size=self.nwalkers,
replace=False) replace=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment