Coder Social home page Coder Social logo

Comments (12)

YouChouNoBB avatar YouChouNoBB commented on August 19, 2024

用python3重跑

from 2018-tencent-ad-competition-baseline.

drdlfy avatar drdlfy commented on August 19, 2024

@YouChouNoBB 嗯,好的,非常感谢。昨天晚上我跑了好几次都是这个问题,早晨我重新跑了下,没有问题了。为什么会这样呢?

from 2018-tencent-ad-competition-baseline.

YouChouNoBB avatar YouChouNoBB commented on August 19, 2024

研究了一下
比如传入的数据是['1 3','2 4']这样就会有问题,会把单独的数字当成stop words
但是传入的数据是['12 34','265 3']这样就不会有问题

from 2018-tencent-ad-competition-baseline.

drdlfy avatar drdlfy commented on August 19, 2024

@YouChouNoBB 好的,非常感谢,但还是有点疑问,每次都读入的数据都一样,前面报这个错后面就不报了?

from 2018-tencent-ad-competition-baseline.

YouChouNoBB avatar YouChouNoBB commented on August 19, 2024

不太清楚这个问题

from 2018-tencent-ad-competition-baseline.

drdlfy avatar drdlfy commented on August 19, 2024

@YouChouNoBB 好的,非常感谢,后来就没有碰到这种问题。

from 2018-tencent-ad-competition-baseline.

qioooo avatar qioooo commented on August 19, 2024

用anaconda3跑也出现了这种情况,python3.6,能从程序上改下么?

from 2018-tencent-ad-competition-baseline.

klvn930815 avatar klvn930815 commented on August 19, 2024

@YouChouNoBB 你好,我顺便想问一下,代码会把单独的数字当成stop words过滤掉,但是单独数字在数据里面是有物理意义的,所以应该不能被过滤掉吧?

from 2018-tencent-ad-competition-baseline.

YouChouNoBB avatar YouChouNoBB commented on August 19, 2024

是的,对于这种数据建议单独处理

from 2018-tencent-ad-competition-baseline.

drdlfy avatar drdlfy commented on August 19, 2024

@YouChouNoBB @klvn930815 你们好,我想问一下为什么独热编码会把单独的数字当成stop words,我没查到相关资料,能给下相关资料的链接吗?非常感谢你们的指教。

from 2018-tencent-ad-competition-baseline.

YouChouNoBB avatar YouChouNoBB commented on August 19, 2024

升级下sklearn包试试

from 2018-tencent-ad-competition-baseline.

drdlfy avatar drdlfy commented on August 19, 2024

@YouChouNoBB 你好我没太理解你的意思,升级sklearn包就可以知道独热编码为什么把单独的数字当成stop words了吗?有没有相关的资料链接呢?非常感谢

from 2018-tencent-ad-competition-baseline.

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.