AI开发平台MODELARTS-文本分类:样例
样例
数据样本
id |
sentence |
label |
---|---|---|
1 |
ball ball fun planet galaxy |
1 |
2 |
referendum referendum fun planet planet |
0 |
3 |
planet planet planet galaxy ball |
1 |
4 |
planet galaxy planet referendum ball |
1 |
sentence |
---|
ball ball ball |
referendum referendum |
planet planet ball |
配置流程
运行流程
参数设置
结果查看
sentence |
words |
rawFeatures |
features |
rawPrediction |
probability |
prediction |
---|---|---|---|---|---|---|
ball ball ball |
['ball', 'ball', 'ball'] |
(8000,[5492],[3.0]) |
(8000,[5492],[0.6694306539426294]) |
[-7.115045557028399,-5.9949311191899355] |
[0.24599005712406302,0.7540099428759369] |
1 |
referendum referendum |
['referendum', 'referendum'] |
(8000,[999],[2.0]) |
(8000,[999],[1.0216512475319814]) |
[-9.561433564101923,-9.165985052719044] |
[0.402406373461625,0.5975936265383749] |
1 |
planet planet ball |
['planet', 'planet', 'ball'] |
(8000,[5492,6309],[1.0,2.0]) |
(8000,[5492,6309],[0.22314355131420976,0.0]) |
[-3.104090044788206,-2.2686204451354213] |
[0.3024897957164007,0.6975102042835993] |
1 |