You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a transformers4rec project and i want to do the proprocessing and the encoding of categorical features in my sql framework before entering the table and without using categorify() function to the model. But i get this error when i debugg .from_schema() function:
The text was updated successfully, but these errors were encountered:
TF4Rec Models are designed to read from the schema file. Categorify op is critical to give information about the number of unique categories for a given column (categorical feature), and it adds the tag Categorical automatically in the schema.
if you dont use categorify op, you need to create a proper schema file yourself. A schema should have proper tags for all categorical and continuous features. Tags like, categorical, continuous, is_list, is_ragged, etc etc..
you can check out one of the NVTabular nbs here and see how a schema file looks like.
@Oussamakhammassi sorry, we dont have a tutorial for how to create a schema file if you dont use NVTabular. if you use NVTabular it is created automatically. what you can do is to run one of the toy examples, and then take the schema file, and change the numbers and feature names and types based on your dataset.
Run this example until cell 10, you will see there is a schema file saved on disk. you can try to modify it.
I'm working on a transformers4rec project and i want to do the proprocessing and the encoding of categorical features in my sql framework before entering the table and without using categorify() function to the model. But i get this error when i debugg .from_schema() function:
The text was updated successfully, but these errors were encountered: