AI开发平台ModelArts-文本TF-IDF:样例

时间:2023-11-01 16:20:20

样例

数据样本

id

sentence

1

ball ball fun planet galaxy

2

referendum referendum fun planet planet

3

planet planet planet galaxy ball

4

planet galaxy planet referendum ball

配置流程

运行流程

参数设置

结果查看

id

word

count

doc_count

total_word_count

total_doc_count

tf

idf

tfidf

1

galaxy

1

3

5

4

0.2

0.223144

0.044629

1

fun

1

2

5

4

0.2

0.510826

0.102165

1

ball

2

3

5

4

0.4

0.223144

0.089257

1

planet

1

4

5

4

0.2

0

0

2

fun

1

2

5

4

0.2

0.510826

0.102165

2

planet

2

4

5

4

0.4

0

0

2

referendum

2

2

5

4

0.4

0.510826

0.20433

3

ball

1

3

5

4

0.2

0.223144

0.044629

3

planet

3

4

5

4

0.6

0

0

3

galaxy

1

3

5

4

0.2

0.223144

0.044629

4

ball

1

3

5

4

0.2

0.223144

0.044629

4

planet

2

4

5

4

0.4

0

0

4

galaxy

1

3

5

4

0.2

0.223144

0.044629

4

referendum

1

2

5

4

0.2

0.510826

0.102165

support.huaweicloud.com/devtool-modelarts/devtool-modelarts_0279.html