Multiple Sample Weight in BF #826
henrydingliu
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently in test_workflow, there's a broadcast warning because the test would try to fit BF on both incurred and paid. this can be replicated thus.
it would be simple enough to change one of the slicing operators to broadcast explicitly. but then I got thinking, it's entirely realistic for users to want to have different
sample_weight, for example, if they want to get ultimate loss and ultimate count in a single BF estimator, and want to use premium as the sample weight for loss and exposure as the sample weight for count. however, this is currently not supported.Looks like BF is trying to join between columns from the triangle to columns from sample weight.
Do people actually want to have different sample_weights inside BF (and benktander by extension)?
Beta Was this translation helpful? Give feedback.
All reactions