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

libsvm数据转化问题 #37

Open
shuDaoNan9 opened this issue Dec 18, 2019 · 0 comments
Open

libsvm数据转化问题 #37

shuDaoNan9 opened this issue Dec 18, 2019 · 0 comments

Comments

@shuDaoNan9
Copy link

shuDaoNan9 commented Dec 18, 2019

建议可以加个readme
比如get_criteo_feature.py默认测试集的所有特征都在训练集出现过,否则feature_map不全;
比如测试的数据不能太少,不然cutoff都没了;
比如测试集这里跟训练集这里下标差一:val = dists.gen(i, features[continous_features[i] - 1]),然后我改成跟训练集一样的下标了,应该是我的数据格式测试集合训练集是一样的,博主的两者数据坐标差一? 测试集的label = features[0]我也加上去了,这样后面对比测试效果应该能更加方便对比,不然延用训练集的最后一个label感觉怪怪的;
比如数值型连续值不能只有一个唯一值,否则归一化出错;
...........

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