GithubHelp home page GithubHelp logo

semi-supervised-adaptive-discriminative-discretization-for-naive-bayes-classifier's Introduction

Semi-supervised Adaptive Discriminative Discretization (SADD) for Naive Bayes classifier

SADD is a semi-supervised discretization framework that can be universally applied in various naive Bayes classifiers. There are two main stages in SADD:

  • Pseudo labeling

    The k-nearst-neighboors is used to derive the pseudo labels for unlabeled data. The default k is set as 1.

  • Adaptive dicriminative discretization

    An adaptive threshold is designed to derive the discretization scheme with less information loss.

Implementation

This is an source code of SADD for naive Bayes classifier by using MATLAB. The version of MATLAB should be >=2019b.

  • To successfully run the code, you need install the Bioinformatics Toolbox and Statistics and Machine Learning Toolbox.
  • Dowload the source file, place it MATLAB and then run the main.m file.

Dataset

We provide a zip file IndoorLoc.zip for one of the used datasets in the paper and it contains a CSV file IndoorLoc.csv and read.me for dataset description. The example dataset IndoorLoc.csv have total 21048 samples, 520 features with 3 classes. The detailed descriptions of all datasets used in the paper can be found in https://archive.ics.uci.edu/ml/index.php.

All the features should be first convert to numerical value, and then make a classification by NB classifiers.

If you use this code, please cite:

@article{wang2023semi,
  title={A semi-supervised adaptive discriminative discretization method improving discrimination power of regularized naive Bayes},
  author={Wang, Shihe and Ren, Jianfeng and Bai, Ruibin},
  journal={Expert Systems with Applications},
  volume={225},
  pages={120094},
  year={2023},
  publisher={Elsevier}
}

semi-supervised-adaptive-discriminative-discretization-for-naive-bayes-classifier's People

Contributors

shellpower96 avatar

Stargazers

 avatar

Watchers

 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.