Giter VIP home page Giter VIP logo

Comments (5)

shenweichen avatar shenweichen commented on May 25, 2024

@lyabc0826 可以提供下您使用PNN时初始化模型时使用的参数吗

from deepctr.

lyabc0826 avatar lyabc0826 commented on May 25, 2024

image

from deepctr.

shenweichen avatar shenweichen commented on May 25, 2024

@lyabc0826 建议调低embedding_size这个参数试试(1,2,4),另外为什么全部是连续特征呢?PNN其实并不是很适合处理大量连续特征,换言之,大量连续特征可以尝试使用普通的全连接神经网络。

from deepctr.

lyabc0826 avatar lyabc0826 commented on May 25, 2024

谢谢。之所以全部是连续特征,是因为我们之前用xgboost,离散特征都是已经one-hot过了,为了在处理特征的时候简单,因此全部按照连续特征放进模型PNN里。再请问下,我们这种情况怎么处理比较好?用哪个模型比较适合?

from deepctr.

shenweichen avatar shenweichen commented on May 25, 2024

@lyabc0826 deepctr的输入要求是直接将离散特征进行label encode 或者hash encode之后作为离散特征输入输入即可,对于本身就是连续型的特征可以作为连续特征使用。
建议您参考样例的处理方式对特征进行简单的预处理~

from deepctr.

Related Issues (20)

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.