Skip to content
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

How to Use the TFT Model for Binary Classification on Time Series Data #1792

Open
Hspix opened this issue Mar 11, 2025 · 0 comments
Open

How to Use the TFT Model for Binary Classification on Time Series Data #1792

Hspix opened this issue Mar 11, 2025 · 0 comments

Comments

@Hspix
Copy link

Hspix commented Mar 11, 2025

Hello,

I would like to know about how to configure the Temporal Fusion Transformer (TFT) model for training on a binary classification task over time series data. It's important to note that in my dataset, the classification label Y is not part of the input features X.

Based on the example provided in the official documentation, would simply replacing QuantileLoss with CrossEntropy as the loss function suffice for this purpose? If there are any other adjustments needed, could you please advise?

Thank you very much for your assistance!

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

1 participant