Code Monkey home page Code Monkey logo

text-analysis-lab's Introduction

Important comment

If do not want to download .ipynb files and face some issues with graph displaying, please refer to the html folder.


Overview

Given set of financial reports, issued by companies, which are publicly traded. Apply machine learning techniques to find topics of paragraphs of documents.

  • Use programming language python3.4;
  • Use libraries spacy, sklearn;
  • Apply methods TF/IDF and LDA to analyze given texts.

Folder/Structure

  • html contains html-version of .ipynb files;
  • img contains the charts from the result of two methods TF/IDF and LDA;
  • presentation has the slides of our presentation;
  • src has all the configurations we needed;
  • file LDA apply the method LDA;
  • file TFIDF apply the method TF/IDF.

Theory and Algorithm

Preprocessing

  • Remove all the unnecessary symbols;
  • Remove all the stop words;
  • Remove all the numbers;
  • Classify all the words with their lemma.

TF/IDF

  • Stands for term frequency-inverse document frequency
  • Our goals:
    1. Find the most important words for certain text;
    2. Learn the trend for this words during several years.
    3. Apply LSI technique at TF/IDF matrix to implement an information query program.

LDA

  • Stands for Latent Dirichlet Allocation
  • Our goals:
    1. Find several topics from certain text;
    2. Find paragraphs in the text, which are mostly related to the topic;
    3. Learn the trend for topics during several years.

Reference

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.