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

bias-variance tradeoff #175

Open
Avv22 opened this issue Feb 18, 2023 · 1 comment
Open

bias-variance tradeoff #175

Avv22 opened this issue Feb 18, 2023 · 1 comment

Comments

@Avv22
Copy link

Avv22 commented Feb 18, 2023

Hello Code2Vec Team,

You mentioned in your paper Code2Vec that there are two main challenges in your work: 1) how you can decompose a program into smaller building blocks such that:

  1. large enough to be meaningful and
  2. small enough to repeat across programs.

You then defined the previous 2 points as a bias-variance tradeoff. Can you please explain this idea more?

@urialon
Copy link
Collaborator

urialon commented Feb 19, 2023

Hi @Avv22 ,
Thank you for your interest in our work, and thank you for reading the paper carefully.
This is a great question!

The bias-variance trade-off is a general concept in machine learning, that expresses the main problem in designing features or representations in machine learning models.

Too specific features may describe the training data very well, but can cause overfitting;
too general/simple features may occur across many examples, but can be insufficiently expressive.

For more information, see the Wikipedia article for example:
https://en.m.wikipedia.org/wiki/Bias%E2%80%93variance_tradeoff

Best,
Uri

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