Skip to main content

Implementation of a Radial Basis Network

Project description

RBasisPy


RBasisPy is a library that allows you to implement a Radial Basis Network in Python. This library has 3 radial basis function that can be use in the hidden layer of the network.

How to install RBasisPy?

It can be installed from terminal using pip: pip install RBasisPy

License

License for RBasisPy is GNU GPLv3.


RBasisPy documentation

Once the library is installed, it is necessary to call the network module: from RBasisPy import rbn, rbn is the Radial Basis Network and can be instaced with two parameters: K and f, K means numbers of units in the hidden layer and f the radial basis function.

Parameters

  • K: numbers of units in the hidden layer.
  • f: {'gaussian', 'inv_sqr', 'inv_mul'} default='gaussian' 'gaussian': Gaussian function. 'inv_sqr': Inverse Quadratic function. 'inv_mul': Inverse Multiquadratic function.

Methods

  • fit(X, y): fit the model, X: input data with shape (number of samples, number of features). Y: target vector with shape(n_samples).
  • predict(X): predict X using the RBN.

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RBasisPy-1.1.tar.gz (15.1 kB view details)

Uploaded Source

File details

Details for the file RBasisPy-1.1.tar.gz.

File metadata

  • Download URL: RBasisPy-1.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for RBasisPy-1.1.tar.gz
Algorithm Hash digest
SHA256 1dd13ebad78a57ced5f952309ad24d65c3074b2691543ed95103ad1e70f20a02
MD5 22d3e1060859abe31fd126069cea88cf
BLAKE2b-256 3a72bea175f06b9049fd3f2ee94d5693985fa9c3c5429ff93e1b27104936d2ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page