We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
# 还不懂啥意思 test_transformed['det_hh_fam_stat_ Grandchild <18 ever marr not in subfamily'] = 0
这一步是不是因为测试集里的变量det_hh_fam_stat没有 'Grandchild <18 ever marr not in subfamily', 但是训练集里面是有这个类型的,所以这里直接把测试集的设为0.
像这种训练集和测试集类别变量取值有差别的情况,有什么好的统一操作解决的吗? 增加一个Other类别?
The text was updated successfully, but these errors were encountered:
我也遇到了这个问题,请问您是如何解决的
Sorry, something went wrong.
No branches or pull requests
这一步是不是因为测试集里的变量det_hh_fam_stat没有 'Grandchild <18 ever marr not in subfamily', 但是训练集里面是有这个类型的,所以这里直接把测试集的设为0.
像这种训练集和测试集类别变量取值有差别的情况,有什么好的统一操作解决的吗? 增加一个Other类别?
The text was updated successfully, but these errors were encountered: