https://github.com/andrelmlins/rbf-dda
Radial Basis Function (RBF) with Dynamic Decay Adjustment (DDA) algorithm
https://github.com/andrelmlins/rbf-dda
algorithm classification-algorithm dda neural-network rbf
Last synced: 11 days ago
JSON representation
Radial Basis Function (RBF) with Dynamic Decay Adjustment (DDA) algorithm
- Host: GitHub
- URL: https://github.com/andrelmlins/rbf-dda
- Owner: andrelmlins
- License: mit
- Created: 2020-02-17T23:15:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T22:51:28.000Z (about 5 years ago)
- Last Synced: 2025-06-15T13:06:45.228Z (29 days ago)
- Topics: algorithm, classification-algorithm, dda, neural-network, rbf
- Language: TypeScript
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RBF DDA
Radial Basis Function (RBF) with Dynamic Decay Adjustment (DDA) algorithm.
[](https://www.npmjs.com/package/rbf-dda) [](https://github.com/andrelmlins/rbf-dda/blob/master/LICENSE) [](https://travis-ci.com/andrelmlins/rbf-dda)
## Install
```
npm install rbf-dda
```or
```
yarn add rbf-dda
```## Usage
```js
const RBFDDA = require("rbf-dda");const points = [
[5.1, 3.5, 1.4, 0.2],
[5.5, 2.6, 4.4, 1.2],
[4.7, 3.2, 1.3, 0.2],
[7.1, 3.0, 5.9, 2.1],
[6.3, 2.5, 4.9, 1.5]
];const classes = [
"Iris-setosa",
"Iris-versicolor",
"Iris-setosa",
"Iris-virginica",
"Iris-versicolor"
];const rbfdda = new RBFDDA(points, classes);
rbfdda.training();const classValue = rbfdda.classification([5.8, 2.6, 4.0, 1.2]);
console.log(classValue); // => Iris-versicolor
```## NPM Statistics
Download stats for this NPM package
[](https://nodei.co/npm/rbf-dda/)
## License
RBF DDA is open source software [licensed as MIT](https://github.com/andrelmlins/rbf-dda/blob/master/LICENSE).