Hello, I'm glad this package exists, but I ran into several bugs when I tried out the example notebooks. This is my attempt at fixing those errors I encountered.
The version string had not been updated, which made the advice to check torch_choice.__version__ confusing.
The code that used torch_choice.utils.easy_data_wrapper.EasyDatasetWrapper generated errors when I tried running them. I updated the __init__.py file and changed to directly importing from torch_choice.utils import EasyDatasetWrapper
Several examples had price_ columns, but it appears the current version of the code is instead giving those columns the prefix itemsession_. I updated all of the places I saw price_ prefixed columns.
Hello, I'm glad this package exists, but I ran into several bugs when I tried out the example notebooks. This is my attempt at fixing those errors I encountered.
torch_choice.__version__
confusing.torch_choice.utils.easy_data_wrapper.EasyDatasetWrapper
generated errors when I tried running them. I updated the__init__.py
file and changed to directly importingfrom torch_choice.utils import EasyDatasetWrapper
price_
columns, but it appears the current version of the code is instead giving those columns the prefixitemsession_
. I updated all of the places I sawprice_
prefixed columns.