😃 iOS11 demo application for sentiment polarity analysis.

Overview

Sentiment Polarity CoreML Demo

A Demo application using CoreML framework for sentiment polarity analysis.

SentimentCoreMLDemo

Model

CoreML model was converted from Scikit-learn Pipeline using coremltools python package.

The model is based on LinearSVC classifier and is able to distinguish between positive and negative sentences with best CV score = 0.801013024602. It was trained using Epinions.com dataset with reviews of products and services. Accuracy can be improved by using TfidfVectorizer for feature extraction, but it's not supported by coremltools at the moment.

Requirements

  • Xcode 9
  • iOS 11

Installation

git clone https://github.com/cocoa-ai/SentimentCoreMLDemo.git
cd SentimentCoreMLDemo
open SentimentPolarity.xcodeproj/

Build the project and run it on a simulator or a device with iOS 11.

Conversion

cd Convert
python sentiment.py

Author

Vadym Markov, [email protected]

Credits

References

You might also like...
🏷 iOS11 demo application for predicting gender from first names.
🏷 iOS11 demo application for predicting gender from first names.

Names CoreML Demo A Demo application using CoreML framework for predicting gender from first names. Model This demo is based on An introduction to Mac

🖼 iOS11 demo application for image style classification.
🖼 iOS11 demo application for image style classification.

Styles Vision Demo A Demo application using Vision and CoreML frameworks to detect the most likely style of the given image. Model This demo is based

🌸 iOS11 demo application for flower classification.
🌸 iOS11 demo application for flower classification.

Flowers Vision Demo iOS11 demo application for flower classification using Vision and CoreML frameworks. Model This demo is based on Caffe CNNs for th

👀 iOS11 demo application for age and gender classification of facial images.
👀 iOS11 demo application for age and gender classification of facial images.

Faces Vision Demo iOS11 demo application for age and gender classification of facial images using Vision and CoreML. Model This demo is based on the a

Sentiments is an iOS app written in Swift that analyzes text for positive or negative sentiment
Sentiments is an iOS app written in Swift that analyzes text for positive or negative sentiment

Sentiments Sentiments is an iOS app written in Swift that analyzes text for positive or negative sentiment. Positive sentiment is highlighted in green

NFC Forum Well Known Type Data Parser for iOS11 and Core NFC

NFCNDEFParse NFC Forum Well Known Type Data Parser for iOS11 and Core NFC. Supports parsing of types: Text - NFCForum-TS-RTD_Text_1.0 2006-07-24 Uri -

AudioKit is an audio synthesis, processing, and analysis platform for iOS, macOS, and tvOS.

AudioKit is an audio synthesis, processing, and analysis platform for iOS, macOS (including Catalyst), and tvOS. Installation To add AudioKit

File management and path analysis for Swift
File management and path analysis for Swift

Pathos offers cross-platform virtual file system APIs for Swift. Pathos is implement from ground-up with on each OS's native API. It has zero dependen

OysterKit is a framework that provides a native Swift scanning, lexical analysis, and parsing capabilities. In addition it provides a language that can be used to rapidly define the rules used by OysterKit called STLR

OysterKit A Swift Framework for Tokenizing, Parsing, and Interpreting Languages OysterKit enables native Swift scanning, lexical analysis, and parsing

Swift audio synthesis, processing, & analysis platform for iOS, macOS and tvOS
Swift audio synthesis, processing, & analysis platform for iOS, macOS and tvOS

AudioKit AudioKit is an audio synthesis, processing, and analysis platform for iOS, macOS (including Catalyst), and tvOS. Installation To add AudioKit

Swift audio synthesis, processing, & analysis platform for iOS, macOS and tvOS
Swift audio synthesis, processing, & analysis platform for iOS, macOS and tvOS

AudioKit AudioKit is an audio synthesis, processing, and analysis platform for iOS, macOS (including Catalyst), and tvOS. Installation To add AudioKit

iOS hashtag generator, using image analysis and discovery
iOS hashtag generator, using image analysis and discovery

Tagger Description Want to be popular on some social network easily? Use Tagger to make your account content more popular and to raise your popularity

A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C

OCLint - https://oclint.org OCLint is a static code analysis tool for improving quality and reducing defects by inspecting C, C++ and Objective-C code

Numerical Analysis of Fundamental Frequencies (NAFF)

hpNaff Numerical Analysis of Fundamental Frequencies (NAFF) A little command line tool (macOS, Linux, Windows1) to perform high-resolution frequency a

A spatial analysis library written in Swift for native iOS, macOS, tvOS, watchOS, and Linux applications, ported from Turf.js.

Turf for Swift 📱 🖥 💻 📺 ⌚️ A spatial analysis library written in Swift for native iOS, macOS, tvOS, watchOS, and Linux applications, ported from Tu

LOL Champions app: a small Multi-Module demo application to demonstrate modern iOS application tech-stacks with a Multi-module and MVVM architecture
LOL Champions app: a small Multi-Module demo application to demonstrate modern iOS application tech-stacks with a Multi-module and MVVM architecture

LOL Champions app: a small Multi-Module demo application to demonstrate modern iOS application tech-stacks with a Multi-module and MVVM architecture

Px-mobile-sdk-demo-app - PerimeterX Mobile SDK - Demo App
Px-mobile-sdk-demo-app - PerimeterX Mobile SDK - Demo App

About PerimeterX PerimeterX is the leading provider of application security solu

ARKit Demo Application
ARKit Demo Application

ARKitNavigationDemo Work in progress. In Progress Region — For one, we could render far fewer nodes. In fact, it’s a bit distracting that the entire t

The demo app demonstrates a real-time application using FindSurface to search point clouds, which ARKit provides, for geometry shapes.
The demo app demonstrates a real-time application using FindSurface to search point clouds, which ARKit provides, for geometry shapes.

FindSurface-GUIDemo-iOS (Swift) CurvSurf FindSurface™ GUIDemo for iOS (Swift) Overview This demo app demonstrates a real-time application using FindSu

Owner
Cocoa AI
The Cocoa Artificial Intelligence Lab
Cocoa AI
🏷 iOS11 demo application for predicting gender from first names.

Names CoreML Demo A Demo application using CoreML framework for predicting gender from first names. Model This demo is based on An introduction to Mac

Cocoa AI 34 Jan 29, 2022
🖼 iOS11 demo application for image style classification.

Styles Vision Demo A Demo application using Vision and CoreML frameworks to detect the most likely style of the given image. Model This demo is based

Cocoa AI 47 Oct 22, 2022
🌸 iOS11 demo application for flower classification.

Flowers Vision Demo iOS11 demo application for flower classification using Vision and CoreML frameworks. Model This demo is based on Caffe CNNs for th

Cocoa AI 93 Nov 16, 2022
👀 iOS11 demo application for age and gender classification of facial images.

Faces Vision Demo iOS11 demo application for age and gender classification of facial images using Vision and CoreML. Model This demo is based on the a

Cocoa AI 300 Dec 9, 2022
Ezviz IoT Home SDK iOS Demo.

SDK Demo SDK Demo 演示了萤石 App SDK 的接入流程以及 SDK 开放的功能,因此通过参考 Demo 可以基本解决再接入过程中碰到的问题。 Demo 模块介绍: 登录模块:包含注册,登录,忘记密码功能 家庭模块:包含添加家庭,删除家庭,修改家庭信息,邀请家庭成员和移除家庭成员等

萤石.开放平台 1 May 27, 2022
iWatchTableView Demo

iWatchTableView iWatch Table View Demo Download You can get the complete project from Github repository Enahanced Table for iWatch ![Video] (https://r

Vinod Vishwakarma 4 Nov 20, 2017
Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Jitsi Meet is a set of Open Source projects which empower users to use and deploy video conferencing platforms with state-of-the-art video quality and features.

Jitsi 19.1k Jan 5, 2023
Scutil - The swift version of my ASOC scutilUtil application. An interesting learning excercise

scutil this is the swift version of my ASOC "scutilUtil" application. An interes

null 1 Feb 15, 2022
🌅 iOS11 demo application for visual sentiment prediction.

Sentiment Vision Demo A Demo application using Vision and CoreML frameworks to detect the most likely sentiment of the given image. Model This demo is

Cocoa AI 34 Jan 29, 2022
Profiler Application using Sentiment Analysis

Profiler Application using Sentiment Analysis Abstract We send many posts and pictures over the time on our social channels such as Facebook, Instagra

Soheil Novinfard 17 Nov 10, 2022