You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems like I'm getting all zero scores when running pipenv run python -m src.evaluate --test-labels test_labels.jsonl --predictions predictions.csv where the test_labels.jsonl refer to the file generated by pipenv run python -m src.testset --train-set train.jsonl --days 2 --output-path 'out/' --seed 42 . However, submitting the same csv to kaggle gives score >0.3. Any suggestions on what might be causing this?
Ah, I see, thanks for pointing this out! I was indeed using the wrong file.
One more thing, the current test still fails because it can't catch the case when prediction doesn't have a certain key. So in evaluate.py, evaluate_session() function, change if 'clicks' in labels and labels['clicks']: to if 'clicks' in labels and labels['clicks'] and 'clicks' in prediction.keys(): and similarly for carts and orders, then the test works without error. Just want to point this out in case someone run into a similar problem.
Hi,
it seems like I'm getting all zero scores when running
pipenv run python -m src.evaluate --test-labels test_labels.jsonl --predictions predictions.csv
where the test_labels.jsonl refer to the file generated bypipenv run python -m src.testset --train-set train.jsonl --days 2 --output-path 'out/' --seed 42
. However, submitting the same csv to kaggle gives score >0.3. Any suggestions on what might be causing this?Thank you!
The text was updated successfully, but these errors were encountered: