Giter Site home page Giter Site logo

bigdata's Introduction

bigData

big data course project

  1. Please download the database and models from our google drive, link below

https://drive.google.com/drive/folders/0ByehYI2Lxf1nQWZTQ05LbzV2SGM

1.) database/reviews.txt 2.) database/train_data.json 3.) doc2vec/Archive.zip

  1. Put 1.) and 2.) in database folder and unzip 3.) into doc2vec folder where you downloaded from github repository.

  2. Run tf_train.py (You can cahange the "learning_rate", "loops", "mode". Also you can change comparison sets by tweeking "CLASSES = [[1], [5]]" in myconstants.py)

  3. You don't need to run preprocess.py any more.

Note: Please Keep the folder structure the same as below, otherwise you might get unexpected Errors(Read this structure in your text editor)

--Folder structure:

bigData myconstants.py preprocess.py tf_train.py README.md LICENSE .gitignore --database train_data.json validate_data.json reviews.txt --test reviews_Electronics_5.json train_data.json validate_data.json reviews.txt --matrix b1_1234_5.npy w1_1234_5.npy ...... --ml init.py functions.py tf_training.py w2v.py d2v.py --word2vec w2v_model --test reviews.txt w2v_model w2v_model.txt --doc2vec d2v_model d2v_model.docvecs.doctag_syn0.npy d2v_model.syn0.npy d2v_model.syn1.npy --test d2v_model --results d2v_1234_5.txt mean_123_45.txt ......

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.