古詩詞大全網 - 成語故事 - 什麽是權重函數?

什麽是權重函數?

英文的維基百科給的解釋是:“A weight function is a mathematical device used when performing a sum, integral, or average in order to give some elements more of a "weight" than others. They occur frequently in statistics and analysis, and are closely related to the concept of a measure. Weight functions can be constructed in both discrete and continuous settings.”

有專業方面的網友給的形象解釋如下:“權重函數就好像大家投票表決,公平的時候是壹票頂壹票,誰投的票都壹樣。可是有時候,不是壹票頂壹票,比如老板想讓他投的票分量比別人重(比如壹票頂2票),就需要用上權重函數。權重函數給於老板那壹票特別重的權重(分量)。計算學生成績的“加權平均”也是這個道理。”