-
Notifications
You must be signed in to change notification settings - Fork 332
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
[doc] change_feature_pdf_to_md #415
Conversation
Code Style Test Failed |
Code Style Test Failed |
Code Style Test Failed |
Code Style Test Failed |
Code Style Test Failed |
Code Style Test Failed |
Code Style Test Failed |
Code Style Test Passed |
# Conflicts: # docs/source/feature/rtp_fg.md
Code Style Test Passed |
Code Style Test Passed |
Code Style Test Passed |
Code Style Test Passed |
Code Style Test Passed |
Code Style Test Passed |
docs/source/feature/rtp_fg.md
Outdated
@@ -267,9 +262,11 @@ set odps.sql.counters.dynamic.limit=true; | |||
|
|||
drop table if exists taobao_fg_train_out; | |||
create table taobao_fg_train_out(label bigint, user_id string, item_id string, features string); | |||
#--@resource_reference{"fg_on_odps-1.3.59-jar-with-dependencies.jar"} dataworks内运行要添加 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-- dataworks内运行,注意需要带有resource_reference这一行
--@resource_reference{"fg_on_odps-1.3.59-jar-with-dependencies.jar"}
docs/source/feature/rtp_fg.md
Outdated
@@ -267,9 +262,11 @@ set odps.sql.counters.dynamic.limit=true; | |||
|
|||
drop table if exists taobao_fg_train_out; | |||
create table taobao_fg_train_out(label bigint, user_id string, item_id string, features string); | |||
#--@resource_reference{"fg_on_odps-1.3.59-jar-with-dependencies.jar"} dataworks内运行要添加 | |||
jar -resources fg_on_odps-1.3.59-jar-with-dependencies.jar,fg.json -classpath fg_on_odps-1.3.59-jar-with-dependencies.jar com.taobao.fg_on_odps.EasyRecFGMapper -i taobao_train_input -o taobao_fg_train_out -f fg.json; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jar -resources fg_on_odps-1.3.59-jar-with-dependencies.jar,fg.json -classpath fg_on_odps-1.3.59-jar-with-dependencies.jar com.taobao.fg_on_odps.EasyRecFGMapper -i pai_online_project.taobao_train_input -o taobao_fg_train_out -f fg.json;
docs/source/feature/rtp_fg.md
Outdated
jar -resources fg_on_odps-1.3.59-jar-with-dependencies.jar,fg.json -classpath fg_on_odps-1.3.59-jar-with-dependencies.jar com.taobao.fg_on_odps.EasyRecFGMapper -i taobao_train_input -o taobao_fg_train_out -f fg.json; | ||
drop table if exists taobao_fg_test_out; | ||
create table taobao_fg_test_out(label bigint, user_id string, item_id string, features string); | ||
#--@resource_reference{"fg_on_odps-1.3.59-jar-with-dependencies.jar"} dataworks内运行要添加 | ||
jar -resources fg_on_odps-1.3.59-jar-with-dependencies.jar,fg.json -classpath fg_on_odps-1.3.59-jar-with-dependencies.jar com.taobao.fg_on_odps.EasyRecFGMapper -i taobao_test_input -o taobao_fg_test_out -f fg.json; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jar -resources fg_on_odps-1.3.59-jar-with-dependencies.jar,fg.json -classpath fg_on_odps-1.3.59-jar-with-dependencies.jar com.taobao.fg_on_odps.EasyRecFGMapper -i pai_online_project.taobao_test_input -o taobao_fg_test_out -f fg.json;
需要指定project
Code Style Test Passed |
Code Style Test Passed |
@@ -0,0 +1,32 @@ | |||
# 6.1 Id Feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改成 id_feature, 和fg.json里面保持一致, 其它类型的特征也改一下
@@ -0,0 +1,31 @@ | |||
# Combo Feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to combo_feature
@@ -0,0 +1,31 @@ | |||
# Combo Feature | |||
|
|||
combo feature是多个字段(或表达式)的组合(即笛卡尔积),id feature可以看成是一种特殊的combo feature,即参与交叉字段只有一个的combo feature。一般来讲,参与交叉的各个字段来自不同的表(比如user特征和item特征进行交叉)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
combo feature => combo_feature
@@ -0,0 +1,196 @@ | |||
# sequence 类 feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to sequence_feature
docs/source/feature/rtp_fg.md
Outdated
@@ -36,7 +36,7 @@ | |||
|
|||
- Feature配置说明: | |||
|
|||
- [id_feature](http://easyrec.oss-cn-beijing.aliyuncs.com/fg_docs/IdFeature.pdf) | |||
- [IdFeature](./fg_docs/IdFeature.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to id_feature
No description provided.