We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0139db1 commit 6d848b2Copy full SHA for 6d848b2
batchglm/train/numpy/base_glm/estimator.py
@@ -280,7 +280,7 @@ def iwls_step(
280
).squeeze().T.compute()
281
elif len(idx_update[invertible]) == 1:
282
delta_theta[:, idx_update[invertible]] = np.expand_dims(
283
- np.linalg.solve(a[invertible], b[invertible]).compute(),
+ np.linalg.solve(a[invertible[0]], b[invertible[0]]).compute(),
284
axis=-1
285
)
286
else:
0 commit comments