Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Latest commit

 

History

History
39 lines (24 loc) · 1.65 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.65 KB

twd

twd means Model of three-way decision.

Firstly the space structure of set pair information granule can be divided into positive granule, negative granule, different granule, which were similar and slightly different with three regions of generalized three-way decision. The three kinds of information granules in set pair information granule space were built based on certain positive degree, negative degree and different degree. Secondly, according to the given threshold, set pair information granule is divided into mutually disjointing positive region, negative region and different region.

Build Status codecov

Prerequisites

  • numpy

More details for requirements file.

Installation

>>> git clone https://github.com/Zeroto521/twd.git
>>> cd twd
>>> python setup.py install

Examples

>>> from twd import TWD
>>> model = TWD(Lambda=.6, Gamma=.15, PP=0, BP=25, NP=5, PN=10, BN=100, NN=0)
>>> model.predict(x_train, y_train, x_test)

More details for example.py folder and twd.py source code.

License

MIT License. @Zeroto521

Reference