Giter VIP home page Giter VIP logo

lsa-model's Introduction

LSA model

Implementation of Latent semantic analysis model. Functionality visualized on the task of finding similar articles in a database.

sample-image

Authors

David Mašek and Kristýna Klesnilová

Installation

$ ./init.sh

Install packages as needed on errors and rerun init.

Getting started

Running the server

$ ./run.sh # displays address and port of server (e.g. localhost:5000)

Modifying server data

  1. replace data inside server/data/
  2. update source code to reflect changes
  3. recompute LSA - $ flask update

Modifying LSA parameters

  1. $ export FLASK_APP=server # if not already set
  2. modify values in server/lsa_config.json
  3. recompute LSA - $ flask update

Initializing/Recomputing LSA

$ flask update # may take some time

Project structure

├── lsa                # LSA package
│   ├── data                     # selected usable data
│   ├── raw_data                 # unprocessed/large data - not saved to git
│   ├── data.ipynb               # notebook for data exploration
│   ├── lsa.py                   # LSA related code
│   └── select_articles.py       # script to select articles
├── server             # demo server
│   ├── static
│   ├── templates
│   ├── cache                    # LSA cache files used by server
│   ├── data                     # data files used by server
│   ├── __init__.py              # server + CLI initialization
│   ├── lsa_config.py            # config file with LSA parameters
│   └── views.py                 # server request handling
├── articles_source.txt          # data sources
├── init.sh                      # install this package
├── README.md
├── run.sh                       # start server
├── setup.py                     # package setup file
└── .gitignore

About

Created as a semestral project for the Searching Web and Multimedia Databases course at FIT CTU.

lsa-model's People

Contributors

davidmasek avatar klesnkri avatar

Stargazers

 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.