Code Monkey home page Code Monkey logo

lda_topicmodeling's Introduction

Topic Modeling using Sklearn LDA API

详细解释,请参见利用sklearn训练LDA主题模型及调参详解。其中,主要内容包括:

  • 1加载语料库及预处理

  • 2CountVectorizer统计词频

  • 3LDA主题模型训练

  • 4结果展示

  • 5Optional调参过程

  • 附录:sklearn LDA API 中文解释

P.S. 原代码基于anaconda3编写,依赖python3,nltk以及sklearn,可根据实际情况转换为python2.或升级你的python python2转python3可利用现成工具 " 2to3 -w sample_lda_training.py " " 2to3-2 -w sample_lda_training.py "

lda_topicmodeling's People

Contributors

rucinfo-tiffany avatar

Watchers

 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.