Comments (2)
并且经过迭代,scores会趋近于相同的值,均大于0.5。
epoch 100的scores:
[0.6115123 0.6114054 0.61139154 0.6114779 0.61137956 0.61161387
0.61143994 0.6114869 0.61154795 0.6115096 0.61156523 0.6115037
0.61160225 0.6115904 0.6115719 0.6115233 0.6114517 0.6115886
0.61146796 0.61146057 0.6116442 0.6114422 0.61163694 0.61163735
0.61164653 0.61165637 0.6117011 0.6116333 0.6116859 0.61159563
0.6115844 0.6115843 0.61142695 0.611486 0.61143196 0.6114803
0.61162037 0.6115111 0.611487 0.61162305 0.61148 0.61146945
0.6116037 0.61147493 0.61148036 0.6115005 0.61152196 0.611457
0.61145115 0.611455 0.61178094 0.6114728 0.6114974 0.6115483
0.61075866 0.6115139 0.61145407 0.61204046 0.6114398 0.6114612
0.61145985 0.61156857 0.6114633 0.61145943 0.6114787 0.6114995
0.61147964 0.6114583 0.6115954 0.6114905 0.6114755 0.6114817
0.61148715 0.61149585 0.6116051 0.6115575 0.6115743 0.61157537
0.6116407 0.6114951 0.6114755 0.6115757 0.61147726 0.6116489
0.6115388 0.6114774 0.61162347 0.6117288 0.61155486 0.61141336
0.6115781 0.6114775 0.61148745 0.6116252 0.61145645 0.6115031
0.61148727 0.61160564 0.6114633 0.6115152 0.6114772 0.61195594
0.6115621 0.61147606 0.6114791 0.61144435 0.6115839 0.6116113
0.61176085 0.6119781 0.6114788 0.61148775 0.6115062 0.6114819
0.61145043 0.6114481 0.61145234 0.61144483 0.6114232 0.6115229
0.6115089 0.61150545 0.61167985 0.6114568 0.6115693 0.61169976
0.6114971 0.611571 0.61146647 0.61149913 0.6114649 0.61154944
0.6115158 0.61152416 0.61151785 0.61149395 0.61153257 0.61151063
0.6114777 0.611481 0.6114493 0.61162025 0.6114731 0.61147285
0.6115188 0.6115083 0.6114816 0.6114405 0.6114401 0.611522
0.61146253 0.6114677 0.61156005 0.61160976 0.61169064 0.6115875
0.61149746 0.6115005 0.6114717 0.61157537 0.6116201 0.6114725
0.6115349 0.61152714 0.6114577 0.61151236 0.61142987 0.6114892
0.6115098 0.6115098 0.61144745 0.61147696 0.6116617 0.6115117
0.61142516 0.6114512 0.6114565 0.611465 0.6115501 0.61148393
0.6116086 0.6116134 0.6115412 0.61153877 0.6115322 0.6118245
0.6117899 0.61156166 0.611499 0.6114515 0.61152226 0.6115887
0.6114243 0.61141986 0.61152965 0.6114705 0.6114905 0.6115686
0.6115762 0.6115979 0.6115433 0.61149 0.61153376 0.61161363
0.6115198 0.6119632 0.61155605 0.61169696 0.6114717 0.6115685
0.6115464 0.61152184 0.6115747 0.6114677 0.6114795 0.6115308
0.6120767 0.6114688 0.61150825 0.61152756 0.61143285 0.6114208
0.6114341 0.61201936 0.6115666 0.61156 0.61169827 0.61161727
0.6114612 0.61154735 0.6116933 0.6116828 0.6115934 0.611559
0.6116178 0.6113787 0.61177605 0.61146474 0.61157674 0.61157686
0.6117026 0.6115873 0.61152065 0.61151624 0.6115169 0.61147875
0.6115388 0.61145484 0.6114155 0.61172426 0.6114926 0.61169463
0.61202693 0.6116871 0.61146367 0.6115699 0.61147976 0.61168206
0.6115496 0.6116751 0.6116751 0.6116832 0.61181927 0.61167437
0.6118379 0.61167955 0.6117714 0.61184907 0.61166626 0.61172056
0.61195 0.61169755 0.61167455 0.61184883 0.611589 0.61166745
0.61161 0.61161625 0.6115706 0.6115128 0.6115843 0.6114835
0.61147076 0.6115354 0.6114693 0.6114853 0.6114687 0.61192715
0.6114689 0.6118907 0.61174035 0.61150354 0.6114521 0.6114548
0.6114514 0.61154497 0.61146706 0.6115333 0.6114552 0.6114551
0.6115092 0.6114662 0.6115486 0.61145365 0.6115531 0.611501
0.6115386 0.6114861 0.61148 0.61145484 0.61147463 0.6115061
0.6115035 0.6116509 0.61156404 0.6115929 0.6116065 0.6115542
0.61157763 0.6116215 0.6116418 0.611624 0.6118112 0.61147755
0.61147606 0.6114789 0.6114504 0.61150193 0.6115481 0.6114471
0.6114365 0.611542 0.6114506 0.6115021 0.61145043 0.61143446
0.6114365 0.61151433 0.61145675 0.6115629 0.6115369 0.6115444
0.6115035 0.6115226 0.61158335 0.6114892 0.61168426 0.61167663
0.61171633 0.61177063 0.6119019 0.6119002 0.6117494 0.6119032
0.61189985 0.6118589 0.61189365 0.6118982 0.61177874 0.61191934
0.61166716 0.61152434 0.6114509 0.611549 0.6114744 0.611504
0.61163473 0.61142534 0.61154354 0.6115311 0.611575 0.6114666
0.61151314 0.6114647 0.61149204 0.61147994 0.6115247 0.61153936
0.611466 0.6115005 0.6115166 0.6114986 0.6116704 0.611531
0.61149895 0.61152023 0.61159164 0.61159146 0.61145127 0.6115469
0.6114621 0.61157674 0.611449 0.6114639 0.6114617 0.6115296
0.6114814 0.6114664 0.6114545 0.6114854 0.61153114 0.6117027
0.6116931 0.6115784 0.6116659 0.6115674 0.6114564 0.611547
0.6116398 0.6115715 0.6115761 0.61157686 0.611576 0.6116165
0.6115733 0.61156857 0.6115343 0.611556 0.6115236 0.61180246
0.61161375 0.61161387 0.61160934 0.611944 0.611585 0.61162806
0.61156034 0.6115134 0.6114713 0.6117383 0.6115707 0.6116656
0.61173284 0.61170304 0.61155754 0.611491 0.6115335 0.6116363
0.6115564 0.6115818 0.61152816 0.6114813 0.61148465 0.61156917
0.61167854 0.611498 0.61167854 0.61142284 0.6122131 0.61146617
0.6114554 0.61148167 0.6114987 0.6114814 0.61147666 0.611526
0.61160266 0.6115053 0.61166346 0.61163807 0.61159307 0.6116459 ]
from dkn.
王老师您好,我在评估模型时将通过sigmoid转换之后得到的预测概率值scores输出,发现他们全部大于0.5,请问模型划分正负例的阈值是多少呢?(应该不是0.5?)
例如某一个epoch得到的scores: [0.5778407 0.61155593 0.57902104 0.6150518 0.61513776 0.605235 0.5789735 0.57939625 0.58373684 0.5776857 0.5788436 0.5802991 0.58303684 0.57765114 0.58011097 0.5782152 0.58273846 0.59276307 0.5777418 0.5781118 0.58053976 0.5770587 0.5848505 0.6206129 0.5796546 0.5936298 0.5800667 0.5841336 0.5985693 0.5795024 0.57965916 0.57965916 0.5940067 0.58897567 0.581066 0.5788839 0.59576434 0.5785835 0.5783613 0.5984433 0.5783426 0.5845572 0.5854817 0.5777896 0.5783829 0.58128166 0.5843682 0.57781625 0.58254665 0.5966302 0.592908 0.57927406 0.57772964 0.5805329 0.5793939 0.5789313 0.580673 0.62930167 0.57700074 0.5771642 0.5793654 0.5801946 0.5798775 0.57729614 0.5778348 0.5773217 0.5789409 0.5803839 0.58697975 0.57710063 0.5773818 0.57703525 0.57772624 0.58213145 0.58688086 0.58625937 0.5790521 0.583711 0.6132932 0.6129931 0.5814061 0.5788394 0.57913923 0.61161196 0.5792562 0.5790782 0.6079845 0.5920574 0.5793936 0.578782 0.584119 0.5926744 0.5794713 0.6049938 0.6050354 0.60463595 0.6047081 0.61172765 0.619973 0.60173035 0.6009864 0.58058125 0.60348684 0.5824682 0.57886064 0.5884625 0.5974402 0.578675 0.578743 0.57945085 0.5773963 0.57785344 0.5776528 0.57766426 0.577414 0.5773697 0.5899348 0.5813688 0.5976933 0.58020246 0.5853191 0.5883258 0.5884458 0.57786816 0.57844496 0.61082983 0.58969355 0.59313047 0.5914415 0.61171293 0.5790724 0.58127683 0.5841514 0.58132464 0.58002347 0.57958114 0.57698256 0.57736045 0.5829809 0.5780082 0.5776665 0.58005613 0.5967956 0.5783363 0.5775785 0.57833403 0.6010081 0.57743883 0.5820395 0.57780135 0.57779527 0.5832522 0.5774031 0.5813955 0.64714086 0.5897089 0.58454174 0.5777361 0.57789356 0.5920431 0.58439016 0.5799597 0.5790718 0.57887685 0.58060193 0.58858824 0.58267885 0.57806975 0.59110266 0.59110266 0.6118623 0.5787403 0.58097917 0.579126 0.58345675 0.5919414 0.5799597 0.57892144 0.6185592 0.5814157 0.5828195 0.5790548 0.57929236 0.5790717 0.5797003 0.58137774 0.58160037 0.5781356 0.5776759 0.57675505 0.5767635 0.5821508 0.5782573 0.57824135 0.58539546 0.577819 0.57790375 0.583094 0.6229433 0.5897612 0.5794023 0.5936962 0.59367275 0.59711105 0.57778823 0.5777652 0.6049461 0.5809651 0.57757777 0.5777028 0.58331954 0.57804024 0.5784547 0.5791342 0.58031636 0.6046847 0.60520047 0.5937593 0.58349776 0.58918655 0.585288 0.57771075 0.57864183 0.5796051 0.5799217 0.57687336 0.58341265 0.5785788 0.5789991 0.5795324 0.5821006 0.5966433 0.57749677 0.57777035 0.5910414 0.5773269 0.58567226 0.5843944 0.5774361 0.5958311 0.57861346 0.5779085 0.5836908 0.5775305 0.5810351 0.58814144 0.5789568 0.57872987 0.5776423 0.6053786 0.5790132 0.5928653 0.6052447 0.61543584 0.58458525 0.5783247 0.5830784 0.5811673 0.57899153 0.5809654 0.5809654 0.58994776 0.6330279 0.61973125 0.58105934 0.6396998 0.5890624 0.5808206 0.63922584 0.61993045 0.652699 0.58934414 0.6063602 0.61180705 0.5771982 0.5777954 0.5781886 0.5786163 0.5782559 0.5784811 0.5793637 0.5890808 0.5830033 0.58249104 0.60447097 0.57843167 0.57877594 0.57799184 0.59080225 0.57873803 0.5795959 0.5849787 0.5797996 0.579682 0.5805923 0.5797924 0.6207965 0.6172974 0.579682 0.5796384 0.5796296 0.5794636 0.58130836 0.61685055 0.581454 0.5855957 0.58034426 0.57981044 0.5810036 0.5794597 0.57951933 0.5829626 0.5786414 0.6041503 0.5790655 0.57868075 0.58829325 0.5786846 0.5817085 0.57936454 0.60755956 0.57873625 0.5784768 0.58369076 0.58381605 0.5836887 0.5858248 0.6171568 0.5904521 0.61717606 0.57917815 0.585089 0.5946311 0.57941866 0.5956347 0.5800357 0.57921237 0.57977897 0.57950985 0.59980136 0.5794211 0.5854362 0.57901037 0.5847996 0.5779387 0.57809323 0.5930451 0.58091354 0.5784779 0.578267 0.58326787 0.5783494 0.57879704 0.57847404 0.6102496 0.6100861 0.57847404 0.5784781 0.5782633 0.57895887 0.57854944 0.5831228 0.5891479 0.5931571 0.5818151 0.5823464 0.5790161 0.5795622 0.57984537 0.578698 0.5784987 0.58045685 0.57848155 0.5787312 0.57871133 0.5899911 0.5964079 0.5974127 0.6086674 0.59137857 0.57906425 0.58017033 0.62536037 0.5906543 0.57994765 0.5836277 0.6060708 0.60615116 0.5792676 0.5819194 0.5815447 0.57876724 0.57835925 0.57756114 0.58080244 0.5824134 0.579684 0.579288 0.59036326 0.5790007 0.57904476 0.58419985 0.5783132 0.57883286 0.6001782 0.57851803 0.57872695 0.5791408 0.5799836 0.57987076 0.5796064 0.5799593 0.57966936 0.59356964 0.58866215 0.5802649 0.58128166 0.58034664 0.5771053 0.5780635 0.57781297 0.58299184 0.5775686 0.5819763 0.57897043 0.5776775 0.5777392 0.5810676 0.57942575 0.5794476 0.5778632 0.59433913 0.5929802 0.6113254 0.58432055 0.5885272 0.5841351 0.57888293 0.58728164 0.57860404 0.5781007 0.57765305 0.5887117 0.584502 0.58222306 0.5774401 0.58222306 0.57812953 0.64316356 0.581735 0.58159864 0.57851267 0.5795053 0.5944862 0.5847298 0.57949877 0.58130103 0.58020645 0.5800007 0.5978961 0.5795877 0.5803144 ]
王老师您好,我在评估模型时将通过sigmoid转换之后得到的预测概率值scores输出,发现他们全部大于0.5,请问模型划分正负例的阈值是多少呢?(应该不是0.5?)
例如某一个epoch得到的scores: [0.5778407 0.61155593 0.57902104 0.6150518 0.61513776 0.605235 0.5789735 0.57939625 0.58373684 0.5776857 0.5788436 0.5802991 0.58303684 0.57765114 0.58011097 0.5782152 0.58273846 0.59276307 0.5777418 0.5781118 0.58053976 0.5770587 0.5848505 0.6206129 0.5796546 0.5936298 0.5800667 0.5841336 0.5985693 0.5795024 0.57965916 0.57965916 0.5940067 0.58897567 0.581066 0.5788839 0.59576434 0.5785835 0.5783613 0.5984433 0.5783426 0.5845572 0.5854817 0.5777896 0.5783829 0.58128166 0.5843682 0.57781625 0.58254665 0.5966302 0.592908 0.57927406 0.57772964 0.5805329 0.5793939 0.5789313 0.580673 0.62930167 0.57700074 0.5771642 0.5793654 0.5801946 0.5798775 0.57729614 0.5778348 0.5773217 0.5789409 0.5803839 0.58697975 0.57710063 0.5773818 0.57703525 0.57772624 0.58213145 0.58688086 0.58625937 0.5790521 0.583711 0.6132932 0.6129931 0.5814061 0.5788394 0.57913923 0.61161196 0.5792562 0.5790782 0.6079845 0.5920574 0.5793936 0.578782 0.584119 0.5926744 0.5794713 0.6049938 0.6050354 0.60463595 0.6047081 0.61172765 0.619973 0.60173035 0.6009864 0.58058125 0.60348684 0.5824682 0.57886064 0.5884625 0.5974402 0.578675 0.578743 0.57945085 0.5773963 0.57785344 0.5776528 0.57766426 0.577414 0.5773697 0.5899348 0.5813688 0.5976933 0.58020246 0.5853191 0.5883258 0.5884458 0.57786816 0.57844496 0.61082983 0.58969355 0.59313047 0.5914415 0.61171293 0.5790724 0.58127683 0.5841514 0.58132464 0.58002347 0.57958114 0.57698256 0.57736045 0.5829809 0.5780082 0.5776665 0.58005613 0.5967956 0.5783363 0.5775785 0.57833403 0.6010081 0.57743883 0.5820395 0.57780135 0.57779527 0.5832522 0.5774031 0.5813955 0.64714086 0.5897089 0.58454174 0.5777361 0.57789356 0.5920431 0.58439016 0.5799597 0.5790718 0.57887685 0.58060193 0.58858824 0.58267885 0.57806975 0.59110266 0.59110266 0.6118623 0.5787403 0.58097917 0.579126 0.58345675 0.5919414 0.5799597 0.57892144 0.6185592 0.5814157 0.5828195 0.5790548 0.57929236 0.5790717 0.5797003 0.58137774 0.58160037 0.5781356 0.5776759 0.57675505 0.5767635 0.5821508 0.5782573 0.57824135 0.58539546 0.577819 0.57790375 0.583094 0.6229433 0.5897612 0.5794023 0.5936962 0.59367275 0.59711105 0.57778823 0.5777652 0.6049461 0.5809651 0.57757777 0.5777028 0.58331954 0.57804024 0.5784547 0.5791342 0.58031636 0.6046847 0.60520047 0.5937593 0.58349776 0.58918655 0.585288 0.57771075 0.57864183 0.5796051 0.5799217 0.57687336 0.58341265 0.5785788 0.5789991 0.5795324 0.5821006 0.5966433 0.57749677 0.57777035 0.5910414 0.5773269 0.58567226 0.5843944 0.5774361 0.5958311 0.57861346 0.5779085 0.5836908 0.5775305 0.5810351 0.58814144 0.5789568 0.57872987 0.5776423 0.6053786 0.5790132 0.5928653 0.6052447 0.61543584 0.58458525 0.5783247 0.5830784 0.5811673 0.57899153 0.5809654 0.5809654 0.58994776 0.6330279 0.61973125 0.58105934 0.6396998 0.5890624 0.5808206 0.63922584 0.61993045 0.652699 0.58934414 0.6063602 0.61180705 0.5771982 0.5777954 0.5781886 0.5786163 0.5782559 0.5784811 0.5793637 0.5890808 0.5830033 0.58249104 0.60447097 0.57843167 0.57877594 0.57799184 0.59080225 0.57873803 0.5795959 0.5849787 0.5797996 0.579682 0.5805923 0.5797924 0.6207965 0.6172974 0.579682 0.5796384 0.5796296 0.5794636 0.58130836 0.61685055 0.581454 0.5855957 0.58034426 0.57981044 0.5810036 0.5794597 0.57951933 0.5829626 0.5786414 0.6041503 0.5790655 0.57868075 0.58829325 0.5786846 0.5817085 0.57936454 0.60755956 0.57873625 0.5784768 0.58369076 0.58381605 0.5836887 0.5858248 0.6171568 0.5904521 0.61717606 0.57917815 0.585089 0.5946311 0.57941866 0.5956347 0.5800357 0.57921237 0.57977897 0.57950985 0.59980136 0.5794211 0.5854362 0.57901037 0.5847996 0.5779387 0.57809323 0.5930451 0.58091354 0.5784779 0.578267 0.58326787 0.5783494 0.57879704 0.57847404 0.6102496 0.6100861 0.57847404 0.5784781 0.5782633 0.57895887 0.57854944 0.5831228 0.5891479 0.5931571 0.5818151 0.5823464 0.5790161 0.5795622 0.57984537 0.578698 0.5784987 0.58045685 0.57848155 0.5787312 0.57871133 0.5899911 0.5964079 0.5974127 0.6086674 0.59137857 0.57906425 0.58017033 0.62536037 0.5906543 0.57994765 0.5836277 0.6060708 0.60615116 0.5792676 0.5819194 0.5815447 0.57876724 0.57835925 0.57756114 0.58080244 0.5824134 0.579684 0.579288 0.59036326 0.5790007 0.57904476 0.58419985 0.5783132 0.57883286 0.6001782 0.57851803 0.57872695 0.5791408 0.5799836 0.57987076 0.5796064 0.5799593 0.57966936 0.59356964 0.58866215 0.5802649 0.58128166 0.58034664 0.5771053 0.5780635 0.57781297 0.58299184 0.5775686 0.5819763 0.57897043 0.5776775 0.5777392 0.5810676 0.57942575 0.5794476 0.5778632 0.59433913 0.5929802 0.6113254 0.58432055 0.5885272 0.5841351 0.57888293 0.58728164 0.57860404 0.5781007 0.57765305 0.5887117 0.584502 0.58222306 0.5774401 0.58222306 0.57812953 0.64316356 0.581735 0.58159864 0.57851267 0.5795053 0.5944862 0.5847298 0.57949877 0.58130103 0.58020645 0.5800007 0.5978961 0.5795877 0.5803144 ]
你好,想请问你一下,sigmoid要如何转化为概率值进行输出,谢谢
from dkn.
Related Issues (20)
- Resource exhausted: OOM when allocating tensor HOT 4
- .vec not found HOT 10
- 两个疑惑之处 HOT 2
- 关于TransE代码的一些疑问 HOT 1
- About the kg.txt HOT 1
- TransE HOT 4
- Question about DKN/data/kg/kg_preprocess.py / HOT 1
- Question about the experimental results HOT 4
- 请问怎么对推荐结果进行验证
- 请问在训练的时候怎么样在训练集里划分出用户的history clicked news HOT 1
- 请求帮助help
- convert to tf 2.0 code HOT 1
- How can we get the complete dataset?
- 关于使用的知识图谱 HOT 2
- c++程序无法执行 HOT 1
- 代码有些问题 HOT 6
- Some question about DKN HOT 3
- entity embeddings
- how do you implement the procedure of entity linking HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dkn.