Open kulas2023 opened 1 year ago
Are you looking to specify weights when fitting a model, retrieve the user-specified weights from a fitted model, or something else?
I want to get the weights obtained at the end of the iterative process.
So the working weights from the final iteration of IRLS. That is stored, so technically accessible, but not in a user-facing way.
Perhaps a decent API for this would be something like weights(model; type=:working)
, analogous to working residuals as implemented in #499.
Can the weight matrix be added as a feature?