1. A method for classifying data received in a computer, the method comprising: discretizing the received data via an application executing on the computer; constructing, via the application, an intermediate data structure from said received data as training instances; performing, via the application, subspace sampling on said received data as test instances; and classifying, via the application, said received data based on statistics of said subspace sampling; wherein the data is received at a variable rate, and the classifying is performed at a rate that adapts to the variable rate, the variable rate configured to minimize variations in processing time for each of the received data.