Coder Social home page Coder Social logo

word2vec-movies's Introduction

项目目的

学习如何使用Word2Vec来对文本文件进行处理。

来源

这个笔记是基于Kaggle比赛:Bag of words meets bags of popcorn。打开页面后可以看到有关于NLP的相关教程,于是我把Part1~3用中文做了三个笔记。

因为年代比较久远,有些库的API失效了,我重新用python3实现的过程中填了不少坑,都是可以正常运行的。

内容

Dependencies

以下库全基于python3.5.2:

  • pandas==20.3
  • scikit-learn==0.19.0
  • numpy==1.13.1
  • jupyter==1.0.0

计划

因为这个笔记里的内容只是kaggle项目上给出的教学部分,实际得分最好也只有0.84,所以充其量只能是一个了解word2vec的教程,内容本身并不深入。

于是我找到了这个项目:sentiment-analysis,作者写了三个模型,前两个在教程中出现过了,第三个使用Ensemble的方法把前两个模型组合了起来,最后得分能到0.96。而且作者代码组织得也不错,可以用来学习如何写一个完整的项目,而不是仅仅在Jupyter Notebook上写。

不过因为作者用的是python2,而且很多包的API变了,我打算用pytohn3重写一下,一边学习一边分享出来。项目地址在这里:sentiment-analysis

推荐读物

word2vec-movies's People

Contributors

bramblexu avatar

Stargazers

夕闻道 avatar

Watchers

James Cloos avatar

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.