Skip to content

Discrete (categorical) input data #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Bluerrror opened this issue Dec 17, 2024 · 2 comments
Open

Discrete (categorical) input data #32

Bluerrror opened this issue Dec 17, 2024 · 2 comments

Comments

@Bluerrror
Copy link

Hello,

I am currently using the torchvinecopula library and have a question regarding the incorporation of categorical (discrete) input features into the model.

Is there a way to include discrete variables in the input data for the copula models? If so, could you please provide guidance or examples on how to properly encode or handle these categorical features within the framework?

Thank you for your help!

Best regards,
Shahab

@TY-Cheng
Copy link
Owner

Hi Shahab,

Thank you for reaching out! Currently the repo focuses on continuous variables. Modelling discrete data via copula need to address non-uniqueness and lack of identifiability (https://www.columbia.edu/~rf2283/Conference/1Fundamentals%20(1)Seagers.pdf).

I might not have the bandwidth to explore this fully at the moment—do you have experience or time to delve into this? I'd be happy to exchange ideas if you do.

Looking forward to your thoughts!

Best regards,
TY

@Bluerrror
Copy link
Author

Hi TY,

Thank you for your reply. Actually, I dont have the time and the experience. However, in future I like to work on it. For others I can say I solved the issue of discrete variables as an input by using uniform distribution, however, I know it is not a perfect solution.

In this stage it is enough for me. However, there is many points which still could be sovled by using categorical input data.

Warm Regards,
Shahab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants