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

你好 #1

Open
zzstrwolf opened this issue Jun 21, 2018 · 4 comments
Open

你好 #1

zzstrwolf opened this issue Jun 21, 2018 · 4 comments

Comments

@zzstrwolf
Copy link

正在学习你的kernel,不知道是否方便加个QQ或微信交流一下

@huazai-1994
Copy link

您好,我在运行你的代码时出现了下面情况,然后在网上搜也没找到解决方法
461] training's auc: 0.985289
[462] training's auc: 0.985297
Traceback (most recent call last):
File "D:/Users/Administrator/PycharmProjects/2018-Kaggle-AdTrackingFraud/src/main.py", line 715, in
model_lgb, pred_lgb = lgb_predict(online_train_x, online_train_y, online_test_x, iterations_lgb, params_lgb)
File "D:/Users/Administrator/PycharmProjects/2018-Kaggle-AdTrackingFraud/src/main.py", line 437, in lgb_predict
predict = model.predict(test_feature)
File "D:\Users\Administrator\Anaconda3\lib\site-packages\lightgbm\basic.py", line 1802, in predict
return predictor.predict(data, num_iteration, raw_score, pred_leaf, pred_contrib, data_has_header, is_reshape)
File "D:\Users\Administrator\Anaconda3\lib\site-packages\lightgbm\basic.py", line 406, in predict
data = _data_from_pandas(data, None, None, self.pandas_categorical)[0]
File "D:\Users\Administrator\Anaconda3\lib\site-packages\lightgbm\basic.py", line 273, in _data_from_pandas
raise ValueError(msg + ', '.join(bad_fields))
ValueError: DataFrame.dtypes for data must be int, float or bool. Did not expect the data types in fields hour

@ShawnyXiao
Copy link
Owner

我这边用的是 Python2,不知道是不是这个原因导致的呢

@zzstrwolf
Copy link
Author

你好 我使用main.py没能复现你的成绩,public 0.9799072 private 0.9806912,然后我尝试去掉最后的cvr变量,public 0.9802757 private 0.9810624。另外QQ麻烦通过以下,谢谢

@ShawnyXiao
Copy link
Owner

@zzstrwolf 那个结果最终还要和榜上一些之前别人公开的结果融合一下,才能到我之前的榜上成绩,具体的那些别人的开源结果我这边没有保留了,你可以去kaggle上找找

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

3 participants