Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 7 hours 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 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T22:51:28.000Z (over 4 years ago)
- Last Synced: 2024-11-11T11:47:24.288Z (5 days ago)
- Topics: algorithm, classification-algorithm, dda, neural-network, rbf
- Language: TypeScript
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- 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.
[![npm version](https://badge.fury.io/js/rbf-dda.svg)](https://www.npmjs.com/package/rbf-dda) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/andrelmlins/rbf-dda/blob/master/LICENSE) [![Build Status](https://travis-ci.com/andrelmlins/rbf-dda.svg?branch=master)](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
[![NPM](https://nodei.co/npm/rbf-dda.png)](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).