Code Monkey home page Code Monkey logo

cnn-model-for-image-sentiment-prediction-and-confusion-matrix-'s Introduction

CNN-Model-for-Image-Sentiment-Prediction-and-Confusion-Matrix-

CNN Model for Image Sentiment Prediction and Confusion Matrix


This is work is on CNN Model for Image Sentiment Prediction and Creating Confusion Matrix in Data Frame


Package Version python 3.6.8 numpy 1.16.1
skimage 0.16.2 pandas 0.24.1 keras 2.2.4

The image sentiment prediction is carried out using CNN model. The images are read from the given folder and corresponding ground truth labels are read into a data frame. From the input images a image set suitable for CNN model is prepared.

The cross validation is with stratified folds is performed and for each fold the performance of the CNN is evaluated on both train set and test set. The true positive, false positive, true negative and false negative are collected for train and test set. A data frame 'performanceTb' is created to store true positive, false positive, true negative and false negative values.

Please set the imPath to the folder consisting of images seperated by two backslash

For example: c:\\images\\

A sample of images are kept here, please see the below link for complete image set. http://www.ee.columbia.edu/ln/dvmm/vso/download/twitter_dataset.html

Further Projects and Contact www.researchreader.com

https://medium.com/@dr.siddhaling

Dr. Siddhaling Urolagin, [email protected]

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.