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

a problem with the seed in main_RandomSearch.py #13

Open
AdenilsonJr23 opened this issue Nov 3, 2024 · 0 comments
Open

a problem with the seed in main_RandomSearch.py #13

AdenilsonJr23 opened this issue Nov 3, 2024 · 0 comments

Comments

@AdenilsonJr23
Copy link

AdenilsonJr23 commented Nov 3, 2024

In the code below, the seed is the same for each itr in range(OUT_ITERATION) and each r_itr in range(RS_ITERATION).

tmp_max = get_main.get_valid_performance(DATA, MASK, new_parser, itr, EVAL_TIMES, MAX_VALUE=max_valid)

So the split into trainining, validation and test sets is always the same. There is no cross-validation.
I suggest replacing "seed=1234" with "seed=1234+ itr + 10*r_itr"

@AdenilsonJr23 AdenilsonJr23 changed the title a problem with the seed in get_main.py a problem with the seed in main_RandomSearch.py Nov 4, 2024
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