Git Product home page Git Product logo

lda's Introduction

Comparison of LDA Learning Algorithms

This repository contains the code and documentation for an empirical comparison of two popular LDA learning algorithms: Variational Inference (Gensim Implementation) and Gibbs Sampling (Mallet Implementation). This project aims to evaluate and compare the performance of these algorithms across various text datasets.

Project Overview

The project consists of several key stages:

  • Preprocessing: Text datasets are preprocessed (tokenization, stopwords removal, lemmatization, and bi-grams/tri-grams creation) before modeling.
  • Training and Tuning: We explore different configurations of the number of topics and soruce dataset for comparison between the 2 learnign algorithms. For tuning, we optimizaed for cohehernce.
    • Train LDA model using Variational Inference with Gensim.
    • Train LDA model using Gibbs Sampling with Mallet.
  • Evaluation: The performance of the algorithms is evaluated using the intrusion test, leveraging Large Language Models (LLM) to assess topic quality.

Authors

This project was created by Sicun Chen and Ayush Hate.

References

This section includes references to key documentation and tutorials that heled us in this project:

  1. Gensim LDA Documentation - Documentation on using Gensim for topic modeling. Gensim LDA
  2. Gensim Coherence Documentation - Documentation on using Gensim for Coherence calculation. Gensim Coherence
  3. Gensim Tutorial - Tutorial using Gensim for topic modeling. Gensim Tutorial
  4. Gensim LDA Tips - A discussion on hyper-parameter setting for Gensim. Gensim LDA: Tips and Tricks
  5. Mallet Documentation - Documentation on using Mallet for topic modeling. Mallet Topic Modeling
  6. Mallet Tutorial - Tutorial using Mallet for topic modeling. Mallet Tutorial
  7. Mallet Python Wrapper - We adpated the wrapper fucntions implemented here: little-mallet-wrapper

These resources are fundamental for understanding the implementation details and enhancing the functionality of the project.

lda's People

Contributors

chens28 avatar ayush-hate 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.