Exceptions
- exception recsyslearn.errors.errors.ColumnsNotExistException(columns: list, message: str = 'Dataframe does not contain columns.')
Exception raised when columns are not found in the DataFrame.
- exception recsyslearn.errors.errors.InvalidGroupException(user_group)
Exception raised when user wants to segment a non valid group
- exception recsyslearn.errors.errors.InvalidValueException(fill_na)
Exception raised when the value of fill_na of the segmentation value is invalid.
- exception recsyslearn.errors.errors.RecListTooShortException(ats: int, message: str = 'Values for the recommendation list length is not compatbile with the dataset.')
Exception raised when the values for the recommendation list length is not compatbile with the dataset.
- exception recsyslearn.errors.errors.SegmentationNotSupportedException(message: str)
Exception raised when there are too many group to be segmented.
- exception recsyslearn.errors.errors.WrongProportionsException(message: str = "Proportions doesn't cover all the items/users.")
Exception raised when proportions of the segmentation does not cover all the items or users.