# Patent

## Title
Systems and methods for sequential modeling in less than one sequential scan

## Abstract

Most recent research of scalable inductive learning on very large streaming dataset focuses on eliminating memory constraints and reducing the number of sequential data scans. However, state-of-the-art algorithms still require multiple scans over the data set and use sophisticated control mechanisms and data structures. There is discussed herein a general inductive learning framework that scans the dataset exactly once. Then, there is proposed an extension based on Hoeffding's inequality that scans the dataset less than once. The proposed frameworks are applicable to a wide range of inductive learners.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation application of U.S. patent application Ser. No. 10/903,336 filed on Jul. 30, 2004 now U.S. Pat. No. 7,337,161, the contents of which are hereby incorporated by reference in its entirety.


FIELD OF THE INVENTION
The present invention relates generally to sequential modeling in the interpretation of, and other extraction of information from, large quantities of data.
BACKGROUND OF THE INVENTION
Herebelow, numeral in square brackets—[ ]—are keyed to the numbered list of references found towards the end of the disclosure.
During the last two decades, our ability to collect and store data has significantly out-paced our ability to analyze, summarize and extract “knowledge” from the continuous stream of input. Traditional data mining methods that require all data to be held in memory are becoming inadequate. Securing an effective interface between data mining and very large database essentially requires scalability. The scalability and accuracy of data mining methods are constantly being challenged by real-time production systems that generate tremendous amount of data continuously at unprecedented rate. Examples of such data streams include security buy-sell transactions, credit card transactions, phone call records, network event logs, etc.
A very significant characteristic of streaming data is “evolving pattern”. In other words, both the underlying true model and distribution of instances evolve and change continuously over time. Streaming data is also characterized by large data volumes. Knowledge discovery on data streams has become a research topic of growing interest. A need has thus been recognized in connection with solving the following problem: given an infinite amount of continuous measurements, how do we model in order to capture time-evolving trends and patterns in the stream, and make time critical decisions?
Most recent research on scalable inductive leaning over very large streaming dataset focuses on eliminating memory-constraints and reducing the number of sequential data scans, particularly for decision tree construction. State-of-the-art decision tree algorithms (SPRINT [9], RainForest [5], and later BOAT [6] among others) still scan the data multiple times, and employ rather sophisticated mechanisms in implementation. Most recent work [8] applies the Hoeffding inequality to decision tree learning on steaming data in which a node is reconstructed if it is statistically necessary. Outside of decision trees, there hasn't been much research on reducing the number of data scans for other inductive learners. A need has thus been recognized in connection with developing a general approach for a wide range of inductive learning algorithms to scan the dataset less than once (which can be interpreted as “less than one full time” or “less than one time in entirety”), and for the approach to be broadly applicable beyond decision trees to other learners, e.g., rule and naive Bayes learners.
“Ensemble of classifiers” has been studied as a general approach for scalable learning. Previously proposed meta-learning [2] reduces the number of data scans to 2. However, empirical studies have shown that the accuracy of the multiple model is sometimes lower than respective single model. Bagging [1] and boosting [4] are not scalable since both methods scan the dataset multiple times. In this context, a need has thus been recognized in connection with being able to scan the dataset less than once and to provide higher accuracy than a single classifier.
SUMMARY OF THE INVENTION
In accordance with at least one presently preferred embodiment of the present invention, there is proposed, based on an averaging ensemble, a statistically-based multiple model inductive learning algorithm that scans a dataset less than once ( the definition of which can be appreciated in the Background section hereinabove and also from the discussion presented herebelow).
Previous research [3] on averaging ensemble concept has shown that it is more efficient and accurate than both bagging and meta-learning. Herein, in accordance with at least one preferred embodiment of the present invention, there is applied the Hoeffding inequality to estimate the probability that the partial and complete model are equal in accuracy. When the probability is higher than a threshold, the algorithm stops model construction and returns the current model, resulting in less than one scan of the dataset.
Significant difference exist in comparison with [8] in terms of determining whether to change the shape of a decision tree. Unlike previous research [8, 6], the presently proposed methods and arrangements are not limited to decision trees, but are applicable to a wide range of inductive learners. When applied to decision tree learning, accuracy will be greater than in the case of a single decision tree. Another advantage is that the ensemble reduced the asymptotic complexity of the algorithm, in addition to simply scanning less data.
In summary, one aspect of the invention provides an arrangement for effecting inductive learning for a large data set, the arrangement comprising: an arrangement for scanning at least a portion of an input large data set; the scanning arrangement being adapted to undertake less than a full scan of the entire input large data set.
Another aspect of the invention provides a method of effecting inductive learning for a large data set, the method comprising the steps of: scanning at least a portion of an input large data set; the scanning step comprising undertaking less than a full scan of the entire input large data set.
Furthermore, an additional aspect of the invention provide a program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform method steps for effecting inductive learning for a large data set, the method comprising the steps of: scanning at least a portion of an input large data set; the scanning step comprising undertaking less than a full scan of the entire input large data set.
For a better understanding of the present invention, together with other and further features and advantages thereof, reference is made to the following description, taken in conjunction with the accompanying drawings, and the scope of the invention will be pointed out in the appended claims.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1A is a plot of credit card data accuracy derived from experimentation.
FIG. 1B is a plot of credit card benefits derived from experimentation.
FIG. 1C is a plot of donation data benefits derived from experimentation.
FIG. 2 comparatively plots serial improvements obtained in accordance with an embodiment of the present invention over conventional results.



DESCRIPTION OF THE PREFERRED EMBODIMENTS
We first describe a strawman algorithm that scans the data set exactly once, then propose the extension that scans the data set less than once. The strawman algorithm is based on probabilistic modeling.
Suppose p(li|x) is the probability that x is an instance of class li. In addition, we have a benefit matrix b[li′,li] that records the benefit received by predicting an example of class li′ to be an instance of class li. For traditional accuracy-based problems, ∀i,b[li,li]=1 and ∀i′≠i,b,[li′,li]=0. For cost-sensitive application such as credit card fraud detection, assume that the overhead to investigate a fraud is $90 and y(x)is transaction amount, then b[fraud,fraud]=y(x)−$90 and b[fraud,fraud]=−$90. Using benefit matrix and probability, the expected benefit received by predicting x to be an instance of class li is




  
    
      
        
          Expected
          ⁢
          
            
          
          ⁢
          Benefit
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          
            e
            ⁡
            
              (
              
                
                  l
                  i
                
                |
                x
              
              )
            
          
        
        =
        
          
            ∑
            
              l
              
                i
                ′
              
            
          
          ⁢
          
            
              b
              ⁡
              
                [
                
                  
                    l
                    
                      i
                      ′
                    
                  
                  ,
                  
                    l
                    i
                  
                
                ]
              
            
            ·
            
              p
              ⁡
              
                (
                
                  
                    l
                    
                      i
                      ′
                    
                  
                  |
                  x
                
                )
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




Based on optimal decision policy, the best decision is the label with the highest expected benefit:

lmax=arg maxli e(li|x)  (2)

Assuming that l(x) is the true label of x, the accuracy of the decision tree on a test data set ST is




  
    
      
        
          Accuracy
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          A
        
        =
        
          
            ∑
            
              x
              ∈
              ST
            
          
          ⁢
          
            b
            ⁡
            
              [
              
                
                  l
                  ⁡
                  
                    (
                    x
                    )
                  
                
                ,
                
                  l
                  max
                
              
              ]
            
          
        
      
    
    
      
        (
        3
        )
      
    
  




For traditional accuracy-based problems, A is always normalized by dividing |ST|; for cost-sensitive problems, A is usually represented in some measure of benefits such as dollar amount. For cost-sensitive problems, we sometimes use “total benefits” to mean accuracy.
The strawman algorithm is based on averaging ensemble [3]. Assume that a data set S is partitioned into K disjoint subsets Sj with equal size. A base level model Cj is trained from each Sj. Given an example x, each classifier outputs individual expected benefit based on probability pj(li′|x)




  
    
      
        
          
            e
            j
          
          ⁡
          
            (
            
              
                l
                i
              
              |
              x
            
            )
          
        
        =
        
          
            ∑
            
              l
              
                i
                ′
              
            
          
          ⁢
          
            
              b
              ⁡
              
                [
                
                  
                    l
                    
                      i
                      ′
                    
                  
                  ,
                  
                    l
                    i
                  
                
                ]
              
            
            ·
            
              
                p
                j
              
              ⁡
              
                (
                
                  
                    l
                    
                      i
                      ′
                    
                  
                  |
                  x
                
                )
              
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




The averaged expected benefit from all base classifiers is therefore




  
    
      
        
          
            E
            K
          
          ⁡
          
            (
            
              
                l
                i
              
              |
              x
            
            )
          
        
        =
        
          
            
              
                ∑
                1
              
              K
            
            ⁢
            
              
                e
                j
              
              ⁡
              
                (
                
                  
                    l
                    i
                  
                  |
                  x
                
                )
              
            
          
          K
        
      
    
    
      
        (
        5
        )
      
    
  




We then predict the class label with the highest expected return as in Eq[2].

Optimal Decision: LK=arg maxli EK(li|x)  (6)

A clear advantage is that the strawman algorithm scans the dataset exactly once as compared to two scans by meta-learning and multiple scans by bagging and boosting. In previous research [3], the accuracy by the strawman algorithm is also significantly higher than both meta-learning and bagging. [3] explains the statistical reason why the averaging ensemble is also more likely to have higher accuracy that a single classifier trained from the same dataset.
A “less-than-one-scan” algorithm, in accordance with at least one presently preferred embodiment of the present invention, returns the current ensemble with k(<K) number of classifiers when the accuracy of current ensemble is the same as the complete ensemble with high confidence. For a random variable y in the range of R=a−b with observed mean of Y after n observations, without any assumption about the distribution of y, Hoeffding's inequality states that with probability ≧p, the error of Y to the true mean is at most




  
    
      
        
          ɛ
          n
        
        =
        
          
            R
            ⁡
            
              (
              
                
                  
                    1
                    -
                    f
                  
                  
                    2
                    ⁢
                    n
                  
                
                ⁢
                
                  ln
                  ⁡
                  
                    (
                    
                      1
                      
                        1
                        -
                        p
                      
                    
                    )
                  
                
              
              )
            
          
          
            1
            2
          
        
      
    
    
      
        (
        7
        )
      
    
  




For finite population of size N, the adjusted error is




  
    
      
        
          ɛ
          n
        
        =
        
          
            
              
                R
                ⁡
                
                  (
                  
                    
                      
                        1
                        -
                        f
                      
                      
                        2
                        ⁢
                        n
                      
                    
                    ⁢
                    
                      ln
                      ⁡
                      
                        (
                        
                          1
                          
                            1
                            -
                            p
                          
                        
                        )
                      
                    
                  
                  )
                
              
              
                1
                2
              
            
            ⁢
            
              
            
            ⁢
            where
            ⁢
            
              
            
            ⁢
            f
          
          =
          
            n
            N
          
        
      
    
    
      
        (
        8
        )
      
    
  




The range R of expected benefit for class label li can be found from the index to the data, or predefined. When k base models are constructed, the Hoeffding error εk can be computed by using Eq[8]. For data example x, assume that E(la|x) is the highest expected benefit and E(lb|x) is the second highest, εk(la) and εk(lb) are the Hoeffding errors. If E(la|x)−εk(la)>E(lb|x)+εk(lb) or E(la|x)−E(lb|x)>εk(la)+εk(lb), with confidence ≧p, the prediction on x by the complete multiple model and the current multiple model is the same. Otherwise, more base models will be trained. The algorithm is summarized in Algorithm 1 (all algorithms appear in the Appendix hereto).
If an example x satisfies the confidence p when k classifiers are computed, there is no utility to check its satisfaction when more classifiers are computed. This is because that an ensemble with more classifiers is likely to be a more accurate model. In practice, we can only read and keep one example x from the validation set in memory at one time. We only read a new instance from the validation set if the current set of classifiers satisfy the confidence test. In addition, we keep only the predictions on one example at any given time. This guarantees that the algorithm scans the validation dataset once with nearly no memory requirement.
The extra overhead of the Hoeffding-based less than one scan algorithm is the cost for the base classifiers to predict on the validation set and calculate the statistics. All these can be done in main memory. As discussed above, we can predict on one example from the validation set at any given time. Assume that we have k classifiers at the end and n is the size of the validation set, the total number of predictions is approximately




  
    n
    ×
    k
  
  2




on average. The calculation of both averaging and standard deviation can be done incrementally. We only need to keep ΣXi and ΣXi2 for just one example at anytime and calculate as follows:





  
    
      
        
          X
          _
        
        =
        
          
            ∑
            
              X
              i
            
          
          k
        
      
    
    
      
        (
        9
        )
      
    
  
  
    
      
        
          
            σ
            2
          
          ⁡
          
            (
            X
            )
          
        
        =
        
          
            
              ∑
              
                X
                i
                2
              
            
            -
            
              k
              ·
              
                
                  X
                  _
                
                2
              
            
          
          
            k
            -
            1
          
        
      
    
    
      
        (
        10
        )
      
    
  




The average number of arithmetic operation is approximately




  3
  ×
  
    
      
        n
        ×
        k
      
      2
    
    .
  




The problem that the proposed algorithm solves is one in which the training set is very large and the I/O cost of data scan is the major overhead. When I/O cost is the bottle neck, the extra cost of prediction and statistical analysis is minimum.
To illustrate the effectiveness of at least one embodiment of the present invention by way of experimentation, we first compare the accuracy of the complete multiple model (one scan as well as less than one scan) and the accuracy of the single model trained from the same data set. We then evaluate the amount of data scan and accuracy of the less than one scan algorithm as compared to the one scan models. Additionally, we generate a dataset with biased distribution and study the results of the less than one scan algorithm.
The first one is the famous donation data set that first appeared in KDDCUP'98 competition (the 1998 Knowledge Discovery and Data Mining Cup Competition). Suppose that the cost of requesting a charitable donation from an individual x is $0.68, and the best estimate of the amount that x will donate is Y(x)Y (x). Its benefit matrix is:














predict donate
predict   donate




















actual donate
Y(x) − $.0.68
0



actual   donate
−$0.68
0










As a cost-sensitive problem, the total benefit is the amount of received charity minus the cost of mailing. The data has already been divided into a training set and a test set. The training set consists of 95,412 records for which it is known whether or not the person made a donation and how much the donation was. The test set contains 96,367 records for which similar donation information was not published. We used the standard training/test set splits to compare with previous results. The feature subsets were based on the KDDCUP'98 winning submission. To estimate the donation amount, we employed the multiple linear regression method.
The second data set is a credit card fraud detection problem. Assuming that there is an overhead $90 to dispute and investigate a fraud and y(x) is the transaction amount, the following is the benefit matrix:














predict fraud
predict   fraud




















actual fraud
y(x)~$90
0



actual   fraud
~$90
0










As a cost-sensitive problem, the total benefit is the sum or recovered frauds minus investigation costs. The data set was sampled from a one year period and contains a total of 5 million transaction records. We use data of the last month as test data (40,038 examples) and data of previous months as training data (406,009 examples).
The third data set is the adult data set from UCI repository. For cost-sensitive studies, we artificially associate a benefit of $2 to class label F and a benefit of $1 to class label N, as summarized below:














predict F
predict N




















actual F
$2
0



actual N
0
$1










We use the natural split of training and test sets, so the results can be easily duplicated. The training set contains 32,561 entries and the test set contains 16,281 records.
By way of experimental setup, there were selected three learning algorithms, decision tree learner C4.5, rule builder RIPPER, and a naive Bayes learner. (these three algorithms are described in detail in the following publications, respectively: Quinlan, R., “C4.5: Programs for Machine Learning”, Morgan Kaufman, 1993; Cohen, W., “A Fast Rule Induction Algorithm”, Proceedings of 1995 International Conferences on Machine Learning; and Mitchell, T., “Machine Learning”, McGraw Hill, 1997. ) We have chosen a wide rage of partitions, K ε {8, 16, 32, 64, 128, 256}. The validation dataset SV is the complete training set. All reported accuracy results were run on the test dataset.
In Tables 1 and 2 (all table appear in the Appendix hereto), we compare the results of the single classifier (which is trained from the complete dataset as a whole), one scan algorithm, and the less than one scan algorithm. We use the original “natural order” of the dataset. Later on, we use a biased distribution. Each data set under study is treated both as a traditional and cost-sensitive problem. The less than one san algorithm is run with confidence p=99.7%.
The baseline traditional accuracy and total benefits of the single model are shown in the two columns under “single” in Tables 1 and 2. These results are the baseline that the one scan and less than one scan algorithms should achieve. For the one scan and less than one scan algorithm, each reported result is the average of different multiple models with K ranging from 2 to 256. In Tables 1 and 2, the results are shown in two columns under accuracy and benefit. As we compare the respective results in Tables 1 and 2, the multiple model either significantly beat the accuracy of the single model or have very similar results. The most significant increase in both accuracy and total benefits is for the credit card data set. The total benefits have been increased by approximately $7,000 ̃$10,000; the accuracy has been increased by approximately 1% ̃3%. For the KDDCUP'98donation data set, the total benefit has been increased by $1400 for C4.5 and $250 for NB.
We next study the trends of accuracy when the number of partitions K increases. In FIGS. 1A, 1B and 1C, we plot the accuracy and total benefits for the credit card data sets, and the total benefits for the donation data set with increasing number of partitions K. C4.5 was the base learner for this study. As we can see clearly that for the credit card data set, the multiple model consistently and significantly improve both the accuracy and total benefits over the single model by at least 1% in accuracy and $40000 in total benefits for all choices of K. For the donation data set, the multiple model boost the total benefits by at least $1400. Nonetheless, when K increases, both the accuracy and total benefits show a slow decreasing trend. It would be expected that when K is extremely large, the results will eventually fall below the baseline.
Another important observation is that the accuracy and total benefit of the less than one scan algorithm are very close to the one scan algorithm. Their results are nearly identical.
In both Tables 1 and 2, we show the amount of data scanned for the less than one scan algorithm. It ranges from 40% (0.4) to about 70% (0.7). The adult dataset has the most amount of data scanned since the training set is the smallest and it requires more data partitions to compute an accurate model. C4.5 scans more data than both RIPPER and NB. This is because we generate the completely unpruned tree for C4.5, and there are wide variations among different models.
In Table 3, we compare the differences in accuracy and amount of training data when the validation set is either read completely by every classifier (under “Batch”) or sequentially only by newly computed base classifiers (under “Seq”) (as discussed in Section 3). Our empirical studies have found that “Batch” mode usually scans approximately 1% to 2% more training data, and the models computed by both methods are nearly identical in accuracy. The extra training data from the “batch” method is due to the fact that some examples satisfied by previously learned classifiers have high probability, but may not necessarily be satisfied by more base classifiers. However, our empirical studies have shown that the difference in how the validation set is handled doesn't significantly influence the final model accuracy.
When a data is biased in its distribution, the less than one scan algorithm needs to scan more data than in uniform distribution to produce an accurate model. With the same amount of datascan, it may not have the same accuracy as uniform distribution. We have created a “trap” using the credit card dataset. We sorted the training data with increasing transaction amount. The detailed results are shown in Table 4(a) and (b). The accuracy (and total benefits) in Table 4(a) are nearly identical to the results of “natural distribution”as reported in Tables 1 and 2. However, the amount of datascan by the less than one scan algorithm is over 0.9 as compared to approximately 0.6 for natural distribution. As shown in Table 4(b), when the datascan is less than 0.9 (the confidence is not satisfied and less one scan will continue to compute more model), the total benefits are much lower. When distribution is biased, the variations in base classifiers' prediction are wider. It requires more data to compute an accurate model and the less than one scan algorithm is performing in the correct way.
In connection with training efficiency, we recorded both the training time of the batch mode single model, and the training time of both the one scan algorithm and less than one scan algorithm plus the time to classify the validation set multiple times and statistical estimation. We than computed serial improvement, which is the ratio that the one scan and less than one scan algorithm are faster than training the single model. In FIG. 2, we plot results for the credit card dataset using C4.5. Our training data can fit into the main memory of the machine. Any single classifier algorithm that reduces the number of data scan [9, 5, 6, 8] will not have training time less than this result. As shown in FIG. 2, both one scan and less than one scan algorithm are significantly faster than the single classifier, and the less than one scan algorithm is faster than the one scan algorithm.
One of the biggest suspicions people have towards multiple models or ensembles is accuracy. Previous experiments have shown than ensemble of classifiers is less accurate than a single model. There is no explanation of why and ensemble works and when it will fail. However, statistical reasons using the “smoothing effect” can be pointed to. In addition, the accuracy estimation by the random-distribution method also predicts when the method will fail. Even none of the existing single model methods can predict when it will fail.
By way of recapitulation, there are proposed herein, in accordance with at least one presently preferred embodiment of the present invention, two scalable inductive learning algorithms. The strawman multiple model algorithm scans the data set exactly once. There is then proposed a less than one scan extension based on Hoeffding's inequality. It returns a partial multiple model when its accuracy is the same as the complete multiple model with confidence ≧p. Since the Hoeffding inequality makes no assumption about the data distribution, the advantage of this method is that the data items can be retrieved sequentially.
There has also been discussed herein a manner of sequentially reading the validation set exactly once using minimal memory. We have evaluated these methods on several data sets as both traditional accuracy-based and cost-sensitive problems using decision tree, rule and naive Bayes learners. We have found that the accuracy of all our methods are the same or far higher than the single model. The amount of data scan by the less than one scan algorithms range from 0.45 to 0.7 for the original natural distribution of data. For a significantly biased dataset, the amount of datascan by the less than one scan algorithm is over 0.9. It needs extra data to resolve the bias in data distribution in order to compute an accurate model.
There were also empirically measured herein the efficiency of both one scan and less than one scan algorithms. In additional, our empirical studies have shown that both methods are significantly faster than computing a single model even when the training data can be held in main memory, and the less than one scan algorithm is faster than the one scan algorithm. The best known scalable decision tree algorithm cans the data set twice. Our algorithms can be applied to many inductive learners, including decision trees.
It is to be understood that the present invention, in accordance with at least one presently preferred embodiments, includes and arrangement for scanning at least a portion of an input large data set, which may be implemented on at least one general-purpose computer running suitable software programs. These may also be implemented on at least one Integrated Circuit or part of at least one Integrated Circuit. Thus, it is to be understood that the invention may be implemented in hardware, software, or a combination of both.
If not otherwise stated herein, it is to be assumed that all patents, patent applications, patent publications and other publications (including web-based publications) mentioned and cited herein are hereby fully incorporated by reference herein as if set forth in their entirety herein.
Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be affected therein by one skilled in the art without departing from the scope or spirit of the invention.
REFERENCES
[1]Leo Breiman. Bagging predictors. Machine Learning, 24(2):123-140, 1996.
[2]P Chan. An extensible Meta-learning Approach for Scalable and Accurate Inductive Learning. PhD thesis, Columbia University, October, 1996.
[3]Wei Fan, Haixun Wang, Pilip S Yu, and Salvatore Stolfo. A framework for scalable cost-sensitive learning based on combining probabilities and benefits. In Second SIAM International Conference on Data Mining (SDM2002), April 2002.
[4]Y Freund and R Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Computer and System Sciences, 55(1): 119-139, 1997.
[5]Johannes Gehrke, Venkatesh Ganti, and Raghu Ramakrishnan. RainForest: a framework for fast decision construction of large datasets. In Preceeding of 24th International Conference on Very Large Databases (VLDB'1998), 1998.
[6]Johannes Gehrke, Venkatesh Ganti, and Raghu Ramakrishnan, and Wei-Yin Loh. BOAT-optimistic decision tree construction. In Proceedings of ACM SIGMOD International Conference on Management of Data (SIGMOD 1999), 1999.
[7]Joseph M. Hellerstein, Peter J. Haas, and Helen J. Wand. Online aggregation. In Proceedings of ACM SIGMOND International Conference on Management of Data (SIGMOD'97), 1997.
[8]Geolff Hulten and Pedro Domingos. Learning from infinite data in finite time. In Advances in neural information processing systems. MIT Press, 2002.
[9]J. Shafer, Ramesh Agrawl, and M Mehta. SPRINT: A scalable parallel classifier for data mining. In Proceedings of Twenty-second International Conference on Very Large Databases (VLDB-96), pages 544-555, San Francisco, Calif., 1996. Morgan Kaufmann.
Appendix







APPENDIX





Algorithm 1: Less than one data scan

















Train(S, SV, K, p)










Data
: training set S, validation set SV, partition number K,




  confidence p



Result
: multiple model with size k ≦ K









begin



 | partition S into K disjoint subsets of equal size {S1, . . . , SK};



 | train C1 from S1;



 | test C1 on SV;



 | k   1;



 | while k ≦ K do



 |  | train Ck from Sk;



 |  | test Ck on SV;



 |  | ∀li, compute Hoeffding error εk(li) (Eq[8]);



 |  | confidence_satisfied   true;



 |  | for x ε SV do



 |  |  | ∀li, compute E(li|x);



 |  |  | E(la|x) is the highest and E(lb|x) is the second highest;



 |  |  | if E(la|x) + E(lb|x) ≦ εk(la) + εk(lb) then



 |  |  |  | confidence_satisfied   false;



 |  |  |  | break;



 |  |  | end



 |  | end



 |  | if confidence_satisfied then



 |  |  | return {C1, . . . , Ck}



 |  | end



 |  | else



 |  |  | k   k + 1



 |  | end



 | end



 | return {C1, . . . , CK};



end




















TABLE 1









LessThanOne













Single
OneScan
accuracy
datascan











C4.5













Donation
94.94%
94.94%
94.94%
0.61



Credit
87.77%
90.37%
90.41%
0.62



Card



Adult
84.38%
 85.6%
 85.0%
0.76







RIPPER













Donation
94.94%
94.94%
94.94%
0.45



Credit
90.14%
91.46%
91.42%
0.56



Card



Adult
84.84%
 86.1%
 86.0%
0.59







NB













Donation
94.94
94.94%
94.94%
0.51



Credit
85.46%
88.64%
88.71%
0.57



Card



Adult
82.86%
84.94%
 84.6%
0.61




















TABLE 2









LessThanOne













Single
OneScan
benefit
datascan











C4.5











Donation
$13292.7
$14702.9
$14828
0.71


Credit
$733980
$804964
$804914
0.65


Card


Adult
$16443
$16435
$16205
0.77







RIPPER











Donation
$0
$0
$0
0.47


Credit
$712541
$815612
$815310
0.57


Card


Adult
$19725
$19875
$19615
0.62







NB











Donation
$13928
$14282
$14278
0.55


Credit
$704285
$798943
$799104
0.59


Card


Adult
$16269
$19169
$16102
0.63





















TABLE 3









Accuracy

Data Scan













Batch
Seq
Batch
Seq











C4.5













Donation
94.94%
94.94%
0.64
0.61



Credit
90.39%
90.41%
0.62
0.62



Card



Adult
 85.1%
 85.0%
0.78
0.76







RIPPER













Donation
94.94%
94.94%
0.48
0.45



Credit
91.44%
91.42%
0.56
0.55



Card



Adult
85.9%
86.0%
0.62
0.59







NB













Donation
94.96%
94.94%
0.54
0.51



Credit
88.62%
88.71%
0.59
0.57



Card



Adult
84.84%
 84.6%
0.62
0.61

















TABLE 4







(a). Performance for different classifier for biased distribution












Accuracy Based

Cost-sensitive















Accuracy
DataScan
Benefit
DataScan







C4.5
89.7%
0.95
$794933
0.96



RIPPER
  90%
0.93
$769344
0.97



NB
86.9%
0.89
$774854
0.93











(b). Performance of C4.5 with different amount of data scanned


under the biased distribution









DataScan












0.6
0.7
0.8
0.96





Total Benefits
$561382
$614575
$728315
$794933

## Claims

1. An apparatus for effecting inductive learning for a large data set, said apparatus comprising:
a processor; and
a program storage device having a program of instructions associated therewith;
wherein, responsive to execution of the program of instructions, the processor is configured to:
scan at least a portion of an input large data set; and
return a current model responsive to scanning the at least a portion of the input large data set scanned;
wherein to scan comprises undertaking less than a full scan of the input large data set.

2. The apparatus according to claim 1, wherein to scan comprises scanning in accordance with a statistically-based inductive learning algorithm.

3. The apparatus according to claim 1, wherein to scan comprises scanning in accordance with a multiple model inductive learning algorithm.

4. The apparatus according to claim 1, wherein to scan comprises scanning in accordance with an averaging ensemble algorithm.

5. The apparatus according to claim 1, wherein the input large data set is provided in a continuous data stream environment.

6. The apparatus according to claim 1, wherein to scan comprises applying a Hoeffding's inequality to reduce needed scanning from a full single scan of the input large data set to less than a full scan of the input large data set.

7. The apparatus according to claim 6, wherein to scan comprises scanning in accordance with an averaging ensemble algorithm.

8. The apparatus according to claim 7, wherein to scan comprises applying a Hoeffding inequality to estimate a probability that a partial and a complete model associated with the input large data set are equivalent in accuracy.

9. The apparatus according to claim 8, wherein to scan comprises scanning such that, when the probability is higher than a threshold, the averaging ensemble algorithm stops model construction and returns the current model.

10. A method of effecting inductive learning for a large data set, said method comprising the steps of:
responsive to executing a program of instructions via a processor:
scanning at least a portion of an input large data set; and
return a current model responsive to scanning the at least a portion of the input large data set scanned;
said scanning step comprising undertaking less than a full scan of the input large data set.

11. The method according to claim 10, wherein said scanning step is performed in accordance with a statistically-based inductive learning algorithm.

12. The method according to claim 10, wherein said scanning step is performed in accordance with a multiple model inductive learning algorithm.

13. The method according to claim 10, wherein said scanning step is performed in accordance with an averaging ensemble algorithm.

14. The method according to claim 10, wherein the input large data set is provided in a continuous data stream environment.

15. The method according to claim 10, wherein said scanning step comprises applying a Hoeffding's inequality to reduce needed scanning from a full single scan of the entire input large data set to less than a full scan of the entire input large data set.

16. The method according to claim 10, wherein said scanning step is performed in accordance with an averaging ensemble algorithm.

17. The method according to claim 16, wherein said scanning step comprises apply Hoeffding inequality to estimate a probability that a partial and a complete model associated with the input large data set are equivalent in accuracy.

18. The method according to claim 17, wherein said scanning step is performed such that, when the probability is higher than a threshold, the averaging ensemble algorithm stops model construction and returns the current model.

19. A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform steps for effecting inductive learning for a large data set, said steps comprising:
scanning at least a portion of an input large data set; and
return a current model responsive to scanning the at least a portion of the input large data set scanned;
said scanning step comprising undertaking less than a full scan of the entire input large data set.