Skip to content

Instantly share code, notes, and snippets.

View goodrahstar's full-sized avatar
🌏
Building AI for Humans

Rahul Kumar goodrahstar

🌏
Building AI for Humans
View GitHub Profile
@goodrahstar
goodrahstar / sentiment_api.py
Created August 18, 2017 12:49
Serving Predictions code using webpy to create a RESTful API.
# -*- coding: utf-8 -*-
"""
@author: Rahul.kumar
"""
import web
#import sys,os
import json
import sentiment_model as model
@goodrahstar
goodrahstar / sentiment_model.py
Last active August 18, 2017 12:30
Inference code to load the predicting model.
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author: Rahul.kumar
"""
import data_helpers2 as data_helpers
import numpy as np
import os
import tensorflow as tf
@goodrahstar
goodrahstar / Machine Learning Curriculum.md
Created July 15, 2016 10:47 — forked from offchan42/Machine Learning Curriculum.md
Machine learning resources and related artificial intelligence concepts.

Machine Learning Curriculum

Machine Learning is a branch of Artificial Intelligence dedicated at making machines learn from observational data without being explicitly programmed.

NOTE: There is no particular rank or order for each link. The order in which they appear does not convey any meaning and is not essential.

General Machine Learning

@goodrahstar
goodrahstar / AndroidProximitySensorActivity.java
Created May 29, 2014 15:12
testing proxi sensor with volume up
package com.exercise.AndroidProximitySensor;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.net.Uri;
package com.exercise.AndroidProximitySensor;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.net.Uri;