Coder Social home page Coder Social logo

twd's Introduction

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

twd's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.