Skip to content

Commit

Permalink
Update process_multiSample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwang12 authored Oct 9, 2024
1 parent 761049b commit 6b71fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mNSF/process_multiSample.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def ini_multiSample(list_D_,L_, lik = 'nb', disp = "default",chol=True):
J_=list_D_[0]["Y"].shape[1]
for ksample in range(0,nsample_):
D=list_D_[ksample]
fit=pf.ProcessFactorization(J_,L_,D['Z'],psd_kernel=ker,nonneg=True,lik=lik,disp = disp, chol = chol)
fit=pf.ProcessFactorization(J_,L_,D['Z'],X=list_X[ksample],psd_kernel=ker,nonneg=True,lik=lik,disp = disp, chol = chol)
fit.init_loadings(D["Y"],X=D['X'],sz=D["sz"],shrinkage=0.3)
list_fit_.append(fit)
if ksample==0:
Expand Down

0 comments on commit 6b71fcc

Please sign in to comment.