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

Chinese doc: credit card fraud, DSW demo #3045

Merged
merged 4 commits into from
Oct 22, 2020

Conversation

lhw362950217
Copy link
Collaborator

Related to #3014

shendiaomo
shendiaomo previously approved these changes Oct 19, 2020
doc/sqlflow.org_cn/fraud-dnn.cn.md Outdated Show resolved Hide resolved
doc/sqlflow.org_cn/fraud-dnn.cn.md Outdated Show resolved Hide resolved
建表完成后,将creditcard.csv的内容导入数据表。

```
LOAD DATA LOCAL INFILE 'creditcard.csv'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

直接执行这个大概率会不成功。一些 MySQL 部署会设置 LOAD DATA 的安全设置:https://dev.mysql.com/doc/refman/8.0/en/load-data-local-security.html ,如果 creditcard.csv 在当前目录很可能不会加载成功。可以用 Python 脚本或者说明导入 csv 文件的各项配置。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好像不光是绝对路径的事情。这个路径需要在mysql client中配置貌似。

Copy link
Collaborator Author

@lhw362950217 lhw362950217 Oct 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done,可以通过设置 set global local_infile = 1; 来允许本地上传

doc/sqlflow.org_cn/fraud-dnn.cn.md Outdated Show resolved Hide resolved
doc/sqlflow.org_cn/fraud-dnn.cn.md Outdated Show resolved Hide resolved
@codecov-io
Copy link

codecov-io commented Oct 20, 2020

Codecov Report

Merging #3045 into develop will decrease coverage by 3.98%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3045      +/-   ##
===========================================
- Coverage    52.87%   48.89%   -3.99%     
===========================================
  Files          216      254      +38     
  Lines        16590    19072    +2482     
===========================================
+ Hits          8772     9325     +553     
- Misses        7157     9033    +1876     
- Partials       661      714      +53     
Impacted Files Coverage Δ
python/runtime/pai/cluster_conf.py 52.94% <0.00%> (-37.06%) ⬇️
python/runtime/model/db.py 60.00% <0.00%> (-27.18%) ⬇️
python/runtime/local/xgboost_submitter/evaluate.py 73.56% <0.00%> (-17.87%) ⬇️
python/runtime/pai/submitter_evaluate.py 16.92% <0.00%> (-6.99%) ⬇️
python/runtime/model/modelzoo.py 24.24% <0.00%> (-6.53%) ⬇️
python/runtime/pai/submitter_test.py 45.98% <0.00%> (-6.19%) ⬇️
python/runtime/pai/submitter_train.py 22.78% <0.00%> (-6.17%) ⬇️
python/runtime/step/tensorflow/train.py 16.12% <0.00%> (-4.93%) ⬇️
go/model/model.go 27.45% <0.00%> (-4.63%) ⬇️
python/runtime/pai/submitter_predict.py 27.14% <0.00%> (-1.75%) ⬇️
... and 59 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dbefee4...db635d2. Read the comment docs.

@lhw362950217 lhw362950217 merged commit d4c871d into sql-machine-learning:develop Oct 22, 2020
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

Successfully merging this pull request may close these issues.

4 participants