Prelude This blog post is based on the lecture notes I prepared for one of the courses in which I am the teaching assistant. Hopefully, this notes will be useful for anyone interested in either Approximate Query Processing (AQP) or basic Sampling theory as applied in Databases. Approximate Query Processing Consider a database D which [...]
Archive for the ‘Theory’ Category
Tutorial on Sampling Theory for Approximate Query Processing
Posted in Data Mining, Statistics, Theory, tagged approximate query processing, aqp, probability, random, reservoir sampling, sampling, statistics on November 15, 2011 | Leave a Comment »
Detailed discussion on NP-Completeness of Subset Sum
Posted in math, Theory, tagged algorithms, dynamic programming, knapsack, np-complete, polynomial, subset sum on February 7, 2011 | 2 Comments »
I recently spent some time developing notes on Subset sum – specifically the NP-Completeness part of it. I thought I will share it with the blog readers. Introduction Subset sum is one of the very few arithmetic/numeric problems that we will discuss in this class. It has lot of interesting properties and is closely related [...]