Code Monkey home page Code Monkey logo

muhammedbuyukkinaci / tensorflow-sentiment-analysis-on-amazon-reviews-data Goto Github PK

View Code? Open in Web Editor NEW
51.0 4.0 17.0 61.91 MB

Implementing different RNN models (LSTM,GRU) & Convolution models (Conv1D, Conv2D) on a subset of Amazon Reviews data with TensorFlow on Python 3. A sentiment analysis project.

Python 100.00%
tensorflow long-short-term-memory-models sentiment-analysis sentiment-classification amazon-reviews tensorflow-examples tensorflow-tutorials tensorflow-gpu tensorflow-experiments tensorflow-api

tensorflow-sentiment-analysis-on-amazon-reviews-data's Issues

Invalid requirements file format

The format of requirements file doesn't meet expected format for pip3 requirements file. You can generate content of this file automatically using pip3 freeze

Error while training the tensorflow model

All of the training underwent good on GPU Machine, but the training has been stopped before the training steps like for 18000 steps it is showing Training has finished. What was the issue?

error while executing

The issue is Coming while involving 100-Dimensional GloVe Word Embeddings for this project.

Here i am using Notepad++
Traceback (most recent call last):
File "08_CPU_Optimized_LSTM.py", line 93, in
print(open(os.path.join(working_dir,EMBEDDING_FILE),'r' ).read())
File "C:\Users\AppData\Local\Programs\Python\Python35\lib\encodings\cp
1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1215192:
character maps to

Model Testing

firstly thank you for your effort. Please, I have a question. I'm a little bit confused about why you are using the testing data for the validation process? Because as far as I know there should be training, validation, and testing. But I don't see that in your implementation!

Also, I want to ask if there is a way to visualize the attention weights in 11_Attention_GRU file?

Thanks

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.