You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = buildGLM.buildModel(dspec, 'Poisson', 'exp', hasBias);
%% Do regression
[w, stats] = fitGLM(model, dm, y);
%}
%%Visualize fit
visualizeFit(w, model, dspec, vparam(1)); % ???
Line 130 references an unresolved model variable that seems to be set in the previously commented L121-L126.
Uncommenting the commented lines is also funky:
buildGLM.buildModel does not exist
fitGLM I assume should exist under buildGLM but it does not. Currently it conflicts with Matlab's inbuilt fitglm
Giving a quick look through the available source in this repo neuroGLM\matRegress\+glms\autoFitGLM.m is the closest to actually returning a model, but does not seem to match the function call in L130?
Afterwards I imagine generatePrediction, simulateModel, goodnessOfFit, visualizeGoodnessOfFit would also be unresolved as I cannot find anything with those names in the repo.
Am I missing something obvious? The docs/tutorial.md does seem to suggest another approach using the dm matrix that I can explore further, but I was expecting the tutorial to work in the first instance regardless.
Have unsuccessfully tried to run
tutorial.m
, seemingly because it is unclear whatfitGLM
andbuildGLM.buildModel
resolve to.Initial Point of Failure
neuroGLM/tutorial.m
Lines 120 to 130 in e603491
Line 130 references an unresolved
model
variable that seems to be set in the previously commented L121-L126.Uncommenting the commented lines is also funky:
buildGLM.buildModel
does not existfitGLM
I assume should exist underbuildGLM
but it does not. Currently it conflicts with Matlab's inbuiltfitglm
Giving a quick look through the available source in this repo
neuroGLM\matRegress\+glms\autoFitGLM.m
is the closest to actually returning a model, but does not seem to match the function call in L130?neuroGLM/matRegress/+glms/autoFitGLM.m
Line 1 in e603491
Likely Further Points of Failures
neuroGLM/tutorial.m
Lines 136 to 141 in e603491
Afterwards I imagine
generatePrediction
,simulateModel
,goodnessOfFit
,visualizeGoodnessOfFit
would also be unresolved as I cannot find anything with those names in the repo.Am I missing something obvious? The
docs/tutorial.md
does seem to suggest another approach using thedm
matrix that I can explore further, but I was expecting the tutorial to work in the first instance regardless.neuroGLM/docs/tutorial.md
Lines 185 to 186 in e603491
The text was updated successfully, but these errors were encountered: