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

[doc] change_feature_pdf_to_md #415

Merged
merged 23 commits into from
Sep 13, 2023
Merged

Conversation

chenglongliu123
Copy link
Collaborator

No description provided.

@github-actions
Copy link

Code Style Test Failed

@github-actions
Copy link

Code Style Test Failed

@github-actions
Copy link

Code Style Test Failed

@github-actions
Copy link

Code Style Test Failed

@github-actions
Copy link

Code Style Test Failed

@github-actions
Copy link

Code Style Test Failed

@github-actions
Copy link

Code Style Test Failed

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

Code Style Test Passed

@@ -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内运行要添加
Copy link
Collaborator

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"}

@@ -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;
Copy link
Collaborator

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;

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;
Copy link
Collaborator

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

@github-actions
Copy link

Code Style Test Passed

@github-actions
Copy link

Code Style Test Passed

@@ -0,0 +1,32 @@
# 6.1 Id Feature
Copy link
Collaborator

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
Copy link
Collaborator

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特征进行交叉)。
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

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

change to sequence_feature

@@ -36,7 +36,7 @@

- Feature配置说明:

- [id_feature](http://easyrec.oss-cn-beijing.aliyuncs.com/fg_docs/IdFeature.pdf)
- [IdFeature](./fg_docs/IdFeature.md)
Copy link
Collaborator

Choose a reason for hiding this comment

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

change to id_feature

@chengmengli06 chengmengli06 merged commit b8f4851 into master Sep 13, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants