Coder Social home page Coder Social logo

Comments (2)

wangshusen avatar wangshusen commented on September 20, 2024

感觉这样可能不太对吧。是不是可以在sigmoid里面加一个权重? sigmoid( a * x)

from recommendersystem.

DoubleYing avatar DoubleYing commented on September 20, 2024

请教下,时长的loss=-[(t/1+t)*log(p) + (1/1+t)log(1-p)] ,这个应怎么理解呢?
我想到的2种理解方式:
1.未点击的样本,t=0,走后面这部分 (1/1+t)log(1-p) = 1log(1-p)
有点击的样本,走前面这部分(t/1+t)log(p) < 1log(p) => 带来的问题是负样本的loss权重均高于正样本,且正样本间的loss权重区分性不大
2.未点击的样本,t=0,带入上述完整公式推出 = 1
log(1-p)
点击的样本,t>0,走上述完整公式,那正样本受2部分loss的影响
请问是哪种呢理解?

from recommendersystem.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.