adding weights to the regression
CamDavidsonPilon opened this issue · comments
Cameron Davidson-Pilon commented
ex:
from bevel import OrderedLogit
w = np.array([1, 2., 3.4, 1.1, 0.5])
orf = OrderedLogit()
orf.fit(X, y, weights=w)
And defaults to an array of 1s if not provided.