VowpalWabbit / coba

Contextual bandit benchmarking
https://coba-docs.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
48 stars 19 forks source link

Record context for interactions #28

Closed jonastim closed 1 year ago

jonastim commented 1 year ago

This change adds context to the metrics which can be recorded for interactions in the task evaluation. This is particularly useful for performing analyses like feature importance on experiment results.

mrucker commented 1 year ago

This is great! Thanks for the contribution and the unit test!

jonastim commented 1 year ago

@mrucker, do you use a formatter or some commit-hooks for enforcing the project's style (indentations, etc)?

mrucker commented 1 year ago

No, we have nothing right now. Do you have any experience with Python formatters that we might be able to use?

jonastim commented 1 year ago

No, we have nothing right now. Do you have any experience with Python formatters that we might be able to use?

We use pre-commit with Black as the formatter. Pre-commit is a great tool for keepings things consistent and offers other useful hooks like mypy.