data stream mining is the process of extracting useful information from continuous , rapid data streams .
data stream mining is a very broad concept and it involves many technical areas such as classification , detection , and clustering . in this paper , the authors mainly focus on data stream classification , because clinical support systems usually require real - time medical prediction and classification based on multivariate data that have many attributes and terms .
one of the main algorithms in clinical support system is decision tree and that will have to be improved in order to handle new applications where data feed in as streams instead of a structured data archive .
traditional decision tree is known which has a limitation that its learning requires scanning through the whole database many times .
data stream is a new data concept where segments of data can only be processed one pass at a time .
the corresponding decision tree will have to offer a best possible decision over such unbounded data stream , whenever it is being queried . since about year 2000
, there have been progressively a handful of decision tree algorithms for data stream mining emerged , such as very fast decision tree ( vfdt )   and concept adapting very fast decision tree ( cvfdt ) .
however , these decision trees may not be directly applied for medical use , many supporting tasks are needed , and they will be introduced in this paper . in the commercial market there exist a number of clinical decision support systems . however , most of them are based on traditional technologies , such as traditional decision tree , bayesian network and neural network .
these technologies are mature and reliable , but they all required consuming the data as static database .
more importantly , most of these traditional systems can only make diagnosis , they can not make prediction .
the most similar clinical decision system from our survey based on data streams is the one developed by ibm ( http://www.ibm.com/us/en/ ) .
the ibm clinical decision support system is compared with our proposed system in this paper .  
table 1 shows some typical existing clinical decision support systems that are available from the latest research work from the academics .
there are some defects in the above clinical decision support systems mainly on traditional data mining algorithms .
in order to innovate an effective real - time clinical decision support system , we should use an algorithm that can analyze data efficiently and accurately .
traditional decision tree may be a good choice for structured database ; however , it can not handle continuous rapid data streams . to solve this problem
, we must use a more powerful and advanced decision tree algorithm such as very fast decision tree ( vfdt ) .
it uses fixed size memory and time to analyze every sample ( data at a time point ) .
however , if we use only the original vfdt , we can only know the current situation ( illness ) , we can not predict the situation in few minutes ( hours ) .
so in our design , pointers are added on the vfdt 's leaf nodes . for each leaf nodes
, it can be looked as a class label and it indicates a certain kind of medical situation ( illness ) .
each pointer has a unique value and each pointer represents a unique medical record which is similar with the current situation in database . and there is a mapping table in our system .
this table stored every medical record , physical address ( path ) and its pointer value .
so when vfdt directs a medical stream to a leaf node , we can use the pointer in this leaf node to search for the mapping table then it uses the physical index addresses to get these similar history medical records directly .
then we can use these similar ( or relevant ) records to make a prediction .
the description of how the stream classification algorithm ( vfdt ) works in the proposed model is explained via an example .  
at time point t1 the medical data from four different kinds monitors ( m1 , m2 , m3 , m4 ) are given as blood pressure ( m1 ) is x1 , ecg ( m2 ) is x2 , eeg ( m3 ) is x3 , and body temperature ( m4 ) is x4 .
so , data set at t1 is a vector of numeric measurements from the sensor devices , { x1 , x2 , x3 , x4}. the data stream includes many time points in a data set like t1 , t2 , t3  tn . we can put several consecutive time series points into a unit such as u1 : { t1 , t2 , t3 } , u2 : { t4 , t5 , t6 } , and u3 : { t7 , t8 , t9}. so the data stream will be divided into multiple captures and every capture is a data unit .
c1 , c2  cn are leaf nodes of the vfdt tree , each of them indicates one class .
when the data stream is analysed by the vfdt , the current situation will be directed to a leaf node ( certain illness class ) , and the information in this leaf node will send it to prediction algorithm . the structure of leaf node ( class ) is shown in figure 3 .
p1 , p2 , p3 ,  pn are location pointers , they represent digital medical records which are similar to the current situations that have happened in the past .
suppose the vfdt directs the current situation to the leaf node c1 , then the information of this leaf node will send it to the prediction algorithm .
the prediction algorithm will use the illness ( situation ) label to search through the cache memory for similar records . if there is a cache prediction that can match the label , the system will then use the records from this cache as prediction result .
if there is no predictions found in the cache that can match the current label , the prediction algorithm will use the pointer value to search across the mapping table .
every record has a unique pointer value which is created by the system in correspondence to its record i d .
suppose record i d ( rid ) is r1 , then r1 's pointer is p1 and its value is 1 . when a new record is inserted into a database , its stored position ( physical path ) and the pointer value is recorded in the mapping table .
the training function will use this new record to train the vfdt algorithm as the feedback process .
here we have an example of structure of pointer list in a leaf node as depicted in figure 4 .
how the pointer is added to the vfdt 's leaf nodes is described as follows .
when the training algorithm uses a series of medical records to train the vfdt , it will add the record 's pointer to the result leaf node .
the training process is run whenever there is a new medical record to be added into the database .
for example the extractor in the training function wants to fetch a medical record r1 as a training data , then extractor sends r1 's medical data to vfdt algorithm and r1 's pointer to the adder which is an internal data management function .
when vfdt finishes the analysis of r1 , it gives the result leaf node c2 , the adder adds a pointer p1 to the leaf node c2 .
when vfdt directs the current situation to a certain leaf node , the system will use the pointer stored in this leaf node to search across the mapping table . from the table , the physical address stored can be retrieved and subsequently it proceeds to collect the history record .  
figure 5 shows this concept  about how a pointer adds to a leaf node and searches for a certain record . at the initial stage ,
we use this library of existing medical records as initial data to train up the vfdt decision tree .
it is well popularly known that vfdt decision tree needs many records to train up to a satisfactory classification performance .
once this incubation period is over , the decision tree model is adequately trained ; classification can be used on the fly .
the sensitivity of the vfdt that is related to how often it should readjust the rules under the tree so to reflect the updated relations of the new incoming to the actual rules can be configured by the user at will . during this initial training process
after initial training , one leaf node can represent one illness class and each leaf node can visit the medical records in their class directly .  
how the prediction algorithm works is introduced . when a classified result ( leaf node ) is sent to prediction algorithm
, prediction will use pointers of this result ( leaf node ) to locate similar history of medical records .
the description covers treatment , diagnosis , and illness history and they are written by different doctors .
for example , a  :  ( heart attack , taking compound reserpine tablets ) and b  :  ( treatment is used to record history of treatment ) . so before we use frequency algorithm to find the most common description , we need an algorithm to find the description which has the same meaning and different expression .
fortunately , there are already many useful algorithms and applications in natural language processing , and , in my system , we used the sentence similarity   and semantic similarity   to find the similar description for a certain kind of illness , then we marked the similar description with the same color and extract the most frequent description .
history of diagnosis will be used as the system diagnosis for current situation and history of illness description will be used for the prediction of the current situation .
there is an example that shows how to extract the treatment information : suppose the leaf node points to r1 , r3 , r6 , and r7 .
the linking of the leaf nodes and the treatment actions are shown in figure 7 .
for this example , the treatment made by the system will be in this shape : 1.xxxxxx 2.yyyyyy 3aaaaaa . finally , prediction will use these extracted information as the result . and prediction will store this information in its memory as a cache .
when the same classified result ( leaf node ) is sent for prediction , the prediction function will use the cache information directly .
it can make the system more efficient . in order to keep up the accuracy of the system , system will clear the cache result when there are new pointers added to the match leaf node .
the system will use the new pointer list to get the corresponding history record again , and then it extracts new result and stores it in memory as a new cache for this classified result ( leaf node ) .
for the process to extract useful information in database , it will not cost much time and system resource , because it is just a simple statistical method and it just considers the data in a relatively small data set ( just consider the data which the current leaf node points to ) .
so the extract process can run in real - time and will not delay the real - time decision .  
figure 8 show the process of the prediction . the feedback process is mainly used to update the mapping table and vfdt .
when the system received a new diagnosis made by doctors , feedback function will rewrite the diagnosis into a uniform format and store it in a medical database .
feedback function will also add the pointer and physical address of this new record into the mapping table .
trainer will first copy the running decision tree and train the copied one . in this way the training process will not affect the system running .
when the train is finished , the pointer of this new record will be added to a correct leaf node and the system will do a frequency analysis for the new data set which this leaf node represented to get the latest treatment , diagnosis , and prediction information .
ibm lately published a paper in 2011 called  a system for mining temporal physiological data streams for advanced prognostic decision support  . in their paper , they designed a system that can monitor data streams from icu and make a prediction .
however , it needs an offline system to analyze the medical database using cluster and locally supervised metric learning ( lsml ) .
lsml is an algorithm to analyze the data class to find the representative data matrix for this class .
lsml calculates the distance between patients ' history records ( medical data stored in matrix ) and the formula is 
 ( 1)dm(xi , xj )  =  ( xixj)tp(xixj ) .
we know that to compute large amounts of distance between two points will cost a lot of system resources .
lsml needs to compute large amounts of distances between matrixes ( multidimensionalpoint ) , so it needs a lot of system resources and time .
it is therefore speculated that they designed an offline system running independently from the online system . in our design
, there is no need for offline systems ; all the systems are online and real - time . in our design
however , the disadvantage in our design is that the initial system needs a process of initial training .
although , it may not be a big problem , it spends some time on training before it is acceptable .
ibm 's system also needs clustering process and this process is also to operate offline . after training
, the vfdt can classify the data stream and direct the current situation to similar medical record sets .
the new diagnosis made by doctor will be a new medical record and it can be fedback to system .
vfdt will use this new record to update ( training ) itself and once vfdt finished the update , the data class in database will be updated naturally . as the vfdt can update its decision tree very quickly , the update process can run online ( real - time ) .  
in this paper , a new system is introduced that can analyze medical data streams and can make real - time prediction .
the vfdt is extended with the capability using pointers to allow the decision tree to remember the mapping relationship between leaf nodes and the history records .
this way can save the need of the offline clustering process that reduces the resource consumption for the system .
in fact , the clustering process and initial training in theory can be processed together at the beginning .
after initial training , from any leaf node we can use its pointer list and mapping table to retrieve the corresponding history records directly .
it is suggested that clustering and classification should be used together for a more accurate prediction 
prediction of a new insight requires retrieving the past cases that are represented as similar history records .
the design as advocated in this paper is at its initial phase and all these design elements are in conceptual stage .
a system prototype is currently being developed so that soon experiments with suitable medical data can be performed in order to validate the efficacy of the design model .
the merit of the proposed system is that it runs online in real - time which can be portable and operate in mobile scenario on the move
 this research aims to describe a new design of data stream mining system that can analyze medical data stream and make real - time prediction . 
 the motivation of the research is due to a growing concern of combining software technology and medical functions for the development of software application that can be used in medical field of chronic disease prognosis and diagnosis , children healthcare , diabetes diagnosis , and so forth . 
 most of the existing software technologies are case - based data mining systems . 
 they only can analyze finite and structured data set and can only work well in their early years and can hardly meet today 's medical requirement . in this paper 
 , we describe a clinical - support - system based data stream mining technology ; the design has taken into account all the shortcomings of the existing clinical support systems . 
1. Introduction
2. Proposed Solution
3. Comparison with IBM's
4. Conclusion