InDEx: Integrative and Declarative Data Exploration

InDEx: Integrative and Declarative Data Exploration

As my Google Summer of Code project my plan was to develop an Integrative data visualization environment for TCIA. Over the summer me and my mentor Prof. Ashish Sharma, Emory University, decided to make a more general purpose and a declarative framework. What we finally came up with is InDEx. Integrative: InDEx is integrative in the sense that it can take data from a variety of data sources, namely: REST APIs, flat files etc. These data sources might provide data in the form of JSON, CSV etc. Declarative: Dashboard authors can declare an InDEx dashboard using 4 configuration files: dataSource.json, dataDescription.json, interactiveFilters.json, visualization.json

Continue Reading

Creating a Simple SimpleCVjs App: Face-detection

I use SimpleCV a lot. It is a computer vision library for Python. It is great for doing prototyping and experimentation. The same folks have come up with SimpleCV.js, which aims to give the same set of tools to the browser. With HTML5 folks coming up with getUserMedia, which lets app developers access the user's camera and microphone, there are tons of things that can be done with tools like SimpleCVjs to do cool Computer Vision stuff. The SimpleCVjs github page, provides an awesome demo app, with an in-browser interactive console to write stuff. That app incorporates a whole lotta

Continue Reading

Machine Learning with Javascript

Atwood's Law: Any application that can be written in JavaScript, will eventually be written in JavaScript   I like working on web applications. The idea of being able to write an application and being able to run from anywhere and from any device is appealing. Over the past few months I have been trying to get some basic light-weight machine learning algorithms to work on Javascript and use them to build "intelligent" web apps. With the advent of Node, it has become possible to train models on the server-side and use these models to make predictions on the client-side. I have explored some libraries/tools that

Continue Reading

lineareg.js - Linear Regression on Node.js

I just published my first package on npm :D. It is a linear regression with gradient descent library for node.js. It uses sylvester for linear algebra. I plan to write other machine learning libraries in nodejs to gain deeper insight into both the algorithms and Node. Github Page NPM page Installation npm install lineareg This will install the package with all the dependencies. Usage The package comes with a app.js file which is a demo. You can run it using: node app.js example_data.txt  

Continue Reading

Building a Real-time Two-player "Words in a Word" game with Node.js and Socket.io

Links: Live Demo, Github Repository Over the weekend I was working on Node.js and socket.io. I managed to develop boilerplate game app. Its a two-player word-game in which both players have to find words from a given word. The scores are calculated by finding the length of the words. The player with the maximum score wins. Here is a screenshot: Lets get started with the code Setting up the app We build the app using the Express framework, and socket.io. To create a new express app use the following command in the shell: express new <app_name> Here are a list of

Continue Reading

Why Node.js

There has been a buzz about NodeJS in the recent past. Javascript on the serverside? You gotta be kidding me right! Well NodeJS is “a set of bindings to the V8 javascript Virtual Machine. It allows one to script programs that do IO in javascript” I have been digging into it over the past few days. Before starting off learning I wanted to know whether its worth the effort. I mean we have so many options when it comes to server side scripting. Theres PHP, Ruby On Rails, Django on Python and so many other alternatives. But what seperates Node

Continue Reading