ArticleslgStudy

science

Data stream mining

Data stream mining is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Data stream mining rather than just read about it. In short: Data stream mining (also known as stream learning) is the process of extracting knowledge structures from continuous, rapid data records. A data stream is an ordered sequence of instances that in many applications of data stream mining can be read only once or a small number of times using limited computing and storage capabilities.

Key takeaways

  • Data stream mining belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Data stream mining to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Data stream mining from memory before moving on to harder problems.

Reference excerpt

Data stream mining (also known as stream learning) is the process of extracting knowledge structures from continuous, rapid data records. A data stream is an ordered sequence of instances that in many applications of data stream mining can be read only once or a small number of times using limited computing and storage capabilities. In many data stream mining applications, the goal is to predict the class or value of new instances in the data stream given some knowledge about the class membership or values of previous instances in the data stream. Machine learning techniques can be used to learn this prediction task from labeled examples in an automated fashion. Often, concepts from the field of incremental learning are applied to cope with structural changes, on-line learning and real-time demands. In many applications, especially operating within non-stationary environments, the distribution underlying the instances or the rules underlying their labeling may change over time, i.e. the goal of the prediction, the class to be predicted or the target value to be predicted, may change over time. This problem is referred to as concept drift. Detecting concept drift is a central issue to data stream mining. Other challenges that arise when applying machine learning to streaming data include: partially and delayed labeled data, recovery from concept drifts, and temporal dependencies. Examples of data streams include computer network traffic, phone conversations, ATM transactions, web searches, and sensor data. Data stream mining can be considered a subfield of data mining, machine learning, and knowledge discovery.

Learning from data streams

Learning methods In incremental learning, a model is updated as new data arrive without repeatedly processing the full training history. One example is the Hoeffding tree, an incremental decision tree for classification. The Very Fast Decision Tree (VFDT) system implements this method and can learn from each example in a single pass without retaining individual examples in memory. Each new labeled training example follows the tree's current tests to a leaf. The algorithm updates counts at that leaf that record how often each attribute value occurs with each class. It uses these counts to score candidate splits with a measure such as information gain. In the basic Hoeffding tree algorithm, the score of the leading candidate must exceed that of the runner-up by more than a threshold derived from the Hoeffding bound. The algorithm can also choose to leave the leaf unsplit. The threshold is

ϵ=R2ln⁡(1/δ)2n, where R is the range of the split-scoring measure, n is the number of examples seen at the leaf, and δ is the error probability used to set the bound. As more examples reach the leaf, the threshold decreases. Under the assumptions of the analysis, when the score gap exceeds the threshold, the leading candidate is the best choice at that leaf with probability at least 1−δ. VFDT can limit memory use by deactivating leaves judged least promising for further growth. The original analysis assumes that examples come from a stationary distribution, and the authors identified adaptation to changing data as future work.

Software for data stream mining MOA (Massive Online Analysis): free open-source software specific for mining data streams with concept drift developed in Java. It has several machine learning algorithms (classification, regression, clustering, outlier detection and recommender systems). Also, it contains a prequential evaluation method, the EDDM concept drift methods, a reader of ARFF real datasets, and artificial stream generators as SEA concepts, STAGGER, rotating hyperplane, random tree, and random radius based functions. MOA supports bi-directional interaction with Weka (machine learning). scikit-multiflow: A machine learning framework for multi-output/multi-label and stream data implemented in Python. scikit-multiflow contains stream generators, stream learning methods for single-target and multi-target, concept drift detectors, evaluation and visualisation methods. (This software is discontinued) StreamDM: StreamDM is an open source framework for big data stream mining that uses the Spark Streaming extension of the core Spark API. One advantage of StreamDM in comparison to existing frameworks is that it directly benefits from the Spark Streaming API, which handles much of the complex problems of the underlying data sources, such as out of order data and recovery from failures. RapidMiner: commercial software for knowledge discovery, data mining, and machine learning also featuring data stream mining, learning time-varying concepts, and tracking drifting concept (if used in combination with its data stream mining plugin (formerly: Concept Drift plugin)) RiverML: River is a Python library for online machine learning. It is the result of a merger between creme and scikit-multiflow. GAENARI: C++ incremental decision tree. It continuously executes inserts and updates of chunked data sets. Rebuild support for concept drift issues.

Events International Workshop on Ubiquitous Data Mining Archived 2013-02-23 at the Wayback Machine held in conjunction with the International Joint Conference on Artificial Intelligence (IJCAI) in Beijing, China, August 3–5, 2013. International Workshop on Knowledge Discovery from Ubiquitous Data Streams Archived 2012-02-16 at the Wayback Machine held in conjunction with the 18th European Conference on Machine Learning (ECML) and the 11th European Conference on Principles and Practice of Knowledge Discovery in Databases (PKDD) in Warsaw, Poland, in September 2007. ACM Symposium on Applied Computing Data Streams Track held in conjunction with the 2007 ACM Symposium on Applied Computing (SAC-2007) in Seoul, Korea, in March 2007. IEEE International Workshop on Mining Evolving and Streaming Data (IWMESD 2006) to be held in conjunction with the 2006 IEEE International Conference on Data Mining (ICDM-2006) in Hong Kong in December 2006. Fourth International Workshop on Knowledge Discovery from Data Streams (IWKDDS) to be held in conjunction with the 17th European Conference on Machine Learning (ECML) and the 10th European Conference on Principles and Practice of Knowledge Discovery in Databases (PKDD) (ECML/PKDD-2006) in Berlin, Germany, in September 2006.

See also Concept drift Data Mining Sequence mining Streaming algorithm Stream processing Wireless sensor network Lambda architecture

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Data stream mining

Start with the simplest possible case. Write down what Data stream mining claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Data stream mining before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Data stream mining ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Data stream mining

In research
Data stream mining appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Data stream mining in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Data stream mining is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data mining, so understanding it makes those chapters shorter.
In everyday life
Look for Data stream mining outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Data stream mining” →

How to study Data stream mining in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Data stream mining means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Data stream mining out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Data stream mining in simple terms?

Data stream mining (also known as stream learning) is the process of extracting knowledge structures from continuous, rapid data records. A data stream is an ordered sequence of instances that in many applications of data stream mining can be read only once or a small number of times using limited…

Why does Data stream mining matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Data stream mining?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Data stream mining.

Tags

  • Data mining

Keep exploring