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

关于train()模式和eval()模式结果不一样的疑问 #13

Open
xiaoliangsjsxka opened this issue Jun 5, 2024 · 0 comments
Open

Comments

@xiaoliangsjsxka
Copy link

您好,非常感谢您的代码,我在evalueate.py文件里,更改了estimator.eval()和regressor.eval(),分别改为estimator.train()和regressor.train(),在同样的模型参数、同样的数据集(test)下,得到了不一致的结果。二者的结果分别是
train模式:# AUC: 0.4784 # Error Rate: 5.66% # Failure Rate: 8.36%
eval模式: # AUC: 0.4472 # Error Rate: 6.45% # Failure Rate: 12.28%。
请问这是正常的吗?我理解的在同一个模型参数文件,同样的数据集,train和eval模式应该输出结果一致。您可以帮我解答一下嘛?

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