Giter VIP home page Giter VIP logo

qtmethod's Introduction

Code for paper "Concept Drift Detection with Quadtree-based Spatial Mapping of Streaming Data"

This code allows researchers to replicate the experiments.

Abstract

Online learning is a complex task, especially when the data stream changes its distribution over time. It's challenging to monitor and detect these changes to maintain the performance of the learning algorithm. In this work, we present a novel detection method built from a different perspective of other preexisting detectors from literature. It analyzes the space occupied by the data, assuming that it would be immutable unless changes in this space occur among data of different classes. The data is mapped into a quadtree-based memory structure that provides knowledge about which class (label) is dominant in a given region of the feature space. Drifts are detected by checking whether data assigned to a given class occupy spaces considered relevant to the other class. The proposed method was evaluated on benchmark binary classification problems. The results show that our method can compete with well-known drift detectors from the literature on synthetic and real-world datasets.

QT - Quadtree-based drift detectior

Prerequisites

  1. Install the latest Python3 installer from Python Downloads Page

  2. Install dependencies

    2.1. Install numpy

    2.2. Install psutil

    2.3. Install scikit-multiflow

Running QT

Before running, open the main_J_QT.py file in your editor:

Choose which detectors you want to use, edit the switch list.

Set up the dataset file path.

Set up the dataset information (detectiondelay, driftposition, and fullsize). This information is presented in the Config file inside the Dataset folder.

Run main_J_QT.py to execute the experiments.

qtmethod's People

Contributors

devileu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.