Why Nostr? What is Njump?
2023-04-19 07:32:33
in reply to

aritter on Nostr: Looking at the Iterative reweighting computation more, I could hack in weighting at ...

Looking at the Iterative reweighting computation more, I could hack in weighting at the y-mu step and just see how it performs, I wouldn't be surprised if that would be correct (equivalent to repeating rows in the x matrix and y vector):

Logistic regression iteration step
https://en.wikipedia.org/wiki/Logistic_regression#Algorithm
mu = sigmoid(x*w)
s = diag(mu * (1 - mu))
wnew = (x' * s * x)^-1 * x' * (s * x * w + y - mu)
Author Public Key
npub1dcl4zejwr8sg9h6jzl75fy4mj6g8gpdqkfczseca6lef0d5gvzxqvux5ey