1.1.0 • Published 2 years ago

@decsys/iaa v1.1.0

Weekly downloads
10
License
AGPL-3.0-only
Repository
github
Last release
2 years ago

GitHub Build Status npm (scoped with tag)

Type-1 Interval Agreement Approach

This is a modern JavaScript (ES Modules) implementation of the Type-1 Interval Agreement Approach.

Details of the interval agreement approach are within From Interval-Valued Data to General Type-2 Fuzzy Sets.

From Interval-Valued Data to General Type-2 Fuzzy Sets
AuthorsC. Wagner, S. Miller, J. M. Garibaldi, D. T. Anderson and T. C. Havens
Published inIEEE Transactions on Fuzzy Systems, vol. 23, no. 2 April 2015.
Pages248 - 269
DOI10.1109/TFUZZ.2014.2310734

About this implementation

This implementation was developed for use in the DECSYS Project, in which client-side React Components implement the Interval Value Ellipse Scale, and use this code to provide statistical analysis of the results.

Because it is used in DECSYS, it is available on npm, but only as ES modules (which meets the needs of DECSYS Response Components).

Getting Started

npm i @decsys/iaa

import IntervalAgreementApproach from "@decsys/iaa";

const intervals = [[1, 7], [2, 6], [2, 4], [6, 9]];

const fs = new IntervalAgreementApproach();
for (const d of intervals) fs.addInterval(d);

fs.membership(1); // 0.25
fs.membership(2); // 0.75
fs.membership(7); // 0.5
parseFloat(fs.centroid.toFixed(2)); // 4.57

Building

  1. npm i
  2. npm test - Run Jest tests
  3. npm run build - Build the ESM bundle used for the npm package.

Licensing

Overview

This software is primarily licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only).

A summary is provided below; the full license text may be found in LICENSE.md.

Other license arrangements may be made as appropriate on request.

Copyright and License Summary

Type-1 Interval Agreement Approach

Copyright (C) 2019 Christian Wagner, LUCID (Lab for Uncertainty in Data and Decision Making)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

1.1.0

2 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago

1.0.0-rc.2

5 years ago

1.0.0-rc.1

5 years ago

1.0.0-beta.5

5 years ago

1.0.0-beta.4

5 years ago

1.0.0-beta.3

5 years ago

1.0.0-beta.2

5 years ago

1.0.0-beta.1

5 years ago