Skip to content

Instantly share code, notes, and snippets.

View ovicus's full-sized avatar

Lester Sanchez ovicus

View GitHub Profile
@ovicus
ovicus / CrashReportParseObject.java
Last active August 29, 2015 14:10
ParseSender for ACRA
/*
* Copyright 2014 Lester Sanchez
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@ovicus
ovicus / naive-bayes.py
Created March 23, 2014 16:15
Sentiment Classifier based on Naive Bayes
# ###########################################################################################
# Sentiment Classifier based on Naive Bayes
#
# Author: Lester Sanchez
# Email: lestersd@gmail.com
# Date: March, 2014
# Accuracy: above 82%
#
# This is a very simple implementation of a sentiment classifier based on naive bayes.
# In my tests, I got better results generating bi-grams in addition to simple tokens.