Skip to content

Question on dummy setup #1

@ajdneuro

Description

@ajdneuro

Hello,

Thanks for this wonderful tutorial, I am getting stuck when trying to plot some of my own data, I was wondering if I could have some help as to what mismatch is causing the error. Thanks!

yhat, s2 = self.blr.predict(theta, Phi, y, Phis,
229 var_groups_test=var_groups_te,
230 var_covariates_test=var_cov_te,

~/opt/anaconda3/lib/python3.9/site-packages/pcntoolkit/model/bayesreg.py in predict(self, hyp, X, y, Xs, var_groups_test, var_covariates_test, **kwargs)
450 N_test = Xs.shape[0]
451
--> 452 ys = Xs.dot(self.m)
453
454 if self.var_groups is not None:

ValueError: shapes (58,11) and (13,) not aligned: 11 (dim 1) != 13 (dim 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions