From 2145e6444a01889f161b67bd847aeb6bc8c6793d Mon Sep 17 00:00:00 2001 From: wwxxzz Date: Tue, 4 Jul 2023 20:08:53 +0800 Subject: [PATCH] Features/add data link on mc tutorial inner (#393) * add_link_on_mc_tutorial_inner * delete tree * fix public and inner --- docs/source/quick_start/mc_tutorial.md | 6 +++--- docs/source/quick_start/mc_tutorial_inner.md | 22 ++++++++++++++------ 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/docs/source/quick_start/mc_tutorial.md b/docs/source/quick_start/mc_tutorial.md index 86a654d4b..16761d2db 100644 --- a/docs/source/quick_start/mc_tutorial.md +++ b/docs/source/quick_start/mc_tutorial.md @@ -1,8 +1,8 @@ # MaxCompute Tutorial -``` -EasyRec在MaxCompute公有云版本上的使用文档. -``` +**此文档是针对公网用户(非阿里内部开发)**,在MaxCompute公有云版本上使用EasyRec的说明。 + +针对阿里集团内部用户,请参考[mc_tutorial_inner](mc_tutorial_inner.md)。 ### 输入数据: diff --git a/docs/source/quick_start/mc_tutorial_inner.md b/docs/source/quick_start/mc_tutorial_inner.md index c9a07661b..04940ad8c 100644 --- a/docs/source/quick_start/mc_tutorial_inner.md +++ b/docs/source/quick_start/mc_tutorial_inner.md @@ -1,17 +1,27 @@ # MaxCompute(Inner) Tutorial -``` -EasyRec在MaxCompute内部版本上的使用文档. -``` +**此文档是针对阿里集团内部用户**,在MaxCompute上使用EasyRec的说明。 ### 输入数据: 输入一般是odps表: -- train: pai_online_project.dwd_avazu_ctr_deepmodel_train -- test: pai_online_project.dwd_avazu_ctr_deepmodel_test +- train: your_own_project.dwd_avazu_ctr_deepmodel_train +- test: your_own_project.dwd_avazu_ctr_deepmodel_test + +说明:这两张表是自己odps project的表,由于阿里集团内部无法访问公共云的pai_online_project,可以通过自行下载数据集到本地,并使用odpscmd [tunnel upload](https://help.aliyun.com/document_detail/27833.html?spm=a2c4g.27797.0.i1)命令上传至自己的project进行使用。 + +- dwd_avazu_ctr_deepmodel_train.csv (http://easyrec.oss-cn-beijing.aliyuncs.com/data/dwd_avazu_ctr_deepmodel_train.csv) + +- dwd_avazu_ctr_deepmodel_test.csv (http://easyrec.oss-cn-beijing.aliyuncs.com/data/dwd_avazu_ctr_deepmodel_test.csv) -说明:原则上这两张表是自己odps的表,为了方便,以上提供case的两张表在任何地方都可以访问。两个表可以带分区,也可以不带分区。 +参考命令: + +```sql +create table if not exists dwd_avazu_ctr_deepmodel_train (click bigint, hour string, c1 string, banner_pos string, site_id string, site_domain string, site_category string, app_id string, app_domain string, app_category string, device_id string, device_ip string, device_model string, device_type string, device_conn_type string, c14 string, c15 string, c16 string, c17 string, c18 string, c19 string, c20 string, c21 string); + +tunnel upload dwd_avazu_ctr_deepmodel_train.csv your_own_project.dwd_avazu_ctr_deepmodel_train; +``` ### 训练: