Giter Club home page Giter Club logo

itai_midterm2019's Introduction

Movie Data Analysis and A Model of Movie Commendation

This repository is for our website. Issues are welcomed.

Information for Teachers

The core code you need to review are placed at /server. Please refer to /server/README.md.

How to run it locally

Environment Requirement

  • Node.js
  • Python3
  • MariaDB

Dependencies

Python

pip install -r requirements.txt Including

  • nltk
  • numpy
  • tensorflow

Besides, you need to install NLTK Corpus Wordnet according to the manual. For example, run this command after installing the dependencies. python -m nltk.downloader wordnet

Node.js

yarn or npm install

Data Import

Due to the fact that we use MariaDB as our database, you need to import data in.

  • Go to directory /server/data/
  • Log in your MariaDB
  • Run source sql.sql We have crawled the posters needed for better user interface. Download posters.zip and unzip to /static/posters/.

Configure

You may need to enter correct username and password to connect to MariaDB. Config at /server/lib/db.js.

Run

yarn build
yarn start

or

npm run build
npm  start

Possible Issues

  • The recommendation and rate forecast don't work? Please check your python version and whether the dependencies have been installed correctly. Note that the backend calls python directly other than python3 or check the version. Can be modified in /server/lib/processor.js.

More Information

Refer to the READNE.mds in the folders (though only /server/ needs revision }:\).

itai_midterm2019's People

Contributors

ferricion avatar jeff0115 avatar foreverdimo avatar

Stargazers

 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.