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

is there a loss implementation for continuos targets(regression task)? #154

Open
tomer-erez opened this issue Jan 27, 2025 · 0 comments
Open

Comments

@tomer-erez
Copy link

tomer-erez commented Jan 27, 2025

i am encoding my input data into shape [batch,K], and my target is in shape [batch,K],
but each element in the target is continous between 0,1.
i want to make the encoder minimize the distance between vectors with closer embeddings, and push other away.
trying to do it without grouping items to bins/quantization.
do you have an idea how to modify the supcontrast to handle it?
basically asking for a suloution for a regression problem, not classification

@tomer-erez tomer-erez changed the title is there an implementation for continuos targets? is there an implementation for continuos targets(regression task)? Jan 27, 2025
@tomer-erez tomer-erez changed the title is there an implementation for continuos targets(regression task)? is there a loss implementation for continuos targets(regression task)? Jan 27, 2025
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