Skip to main content

Bilinear Neural Network Library

Project description

blinear

Bilinear Neural Network Library for Deep Learning and Biomedical Signal Classification.

blinear provides custom bilinear neural network layers and hybrid CNN–bilinear architectures built with TensorFlow/Keras. The library focuses on nonlinear feature interaction modeling using Hirota-inspired bilinear operators for signal processing, sequence learning, and classification tasks.


Features

  • Hirota Bilinear Layer
  • Convolutional Hirota Bilinear Layer
  • OGD-based Bilinear Classification Layer
  • CNN + Bilinear Hybrid Models
  • Double Bilinear Architectures
  • Binary and Multiclass Classification Support
  • TensorFlow / Keras Compatible

Installation

pip install blinear

1. Hirota CNN Model

CNN feature extraction followed by a Hirota bilinear interaction block.

Usage

from blinear import BilinearLayer

2. ConvHirota Bilinear Model

End-to-end convolutional bilinear feature extraction using ConvHirotaBilinear.


### Usage

```python

from blinear import ConvBilinear


## 3.  Online Gradient Descent (OGD) Layer Guide

The `OGDlayer` in `blinear` is a deep bilinear representation layer designed for multiclass classification tasks

```python
from blinear import OGDLayer

Requirements

  • Python >= 3.9
  • TensorFlow >= 2.x
  • NumPy

License

MIT License


Author

Developed for nonlinear bilinear deep learning research and biomedical AI applications.

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

blinear-0.3.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blinear-0.3.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file blinear-0.3.1.tar.gz.

File metadata

  • Download URL: blinear-0.3.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for blinear-0.3.1.tar.gz
Algorithm Hash digest
SHA256 80be49cab63dbe0e0f7fa212a6fc90dcffd14ff9e2b9017324feb364c31f718a
MD5 0a1ef1b0d3d422f430e1377009c2aeec
BLAKE2b-256 2b2ee59b889d5133daffd75c262c237df9c09afb5b0522cba8b5c76e276f1bf9

See more details on using hashes here.

File details

Details for the file blinear-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: blinear-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for blinear-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aaf86aee14dc0932b19eedf2cc63eeb3029f6b1f5582f3ec0550333d06c75eb6
MD5 6421042bdbe133cfd2d4710c39f601c5
BLAKE2b-256 ae8d35b9d6fe1b52131b8b4e3c04e7c7da42a1998b598c02cddb78477fc9f5ec

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