Support for userCol
and itemCol
as String Types in SAR Model
#2275
Labels
userCol
and itemCol
as String Types in SAR Model
#2275
Is your feature request related to a problem? Please describe.
I'm always frustrated when I try to use the SAR model with
userCol
anditemCol
as string types. Currently, the SAR model only accepts these columns as integer types, which requires additional data preprocessing steps to convert string IDs to integers. This limitation can be cumbersome and time-consuming, especially when dealing with large datasets where user and item IDs are naturally represented as strings.Describe the solution you'd like
I would like the SAR model to support
userCol
anditemCol
as string types. This would allow for more flexibility and ease of use, as many real-world datasets use string identifiers for users and items. By supporting string types, the SAR model would eliminate the need for additional preprocessing steps, making it more user-friendly and efficient.Additional context
Add any other context or screenshots about the feature request here.
Example Code
Here is an example of how the feature could be used if implemented:
The text was updated successfully, but these errors were encountered: