Skip to main content

Deep learning library

Project description

BlueBird

Simple deep learning library.

Usage

Here is a simple implemetation of a model in bluebird.

from bluebird.nn import NeuralNet
from bluebird.activations import Relu, Softmax
from bluebird.layers import Input, Dense
from bluebird.data import BatchIterator
from bluebird.loss import CategoricalCrossEntropy
from bluebird.optimizers import SGD

# create the neural net
net = NeuralNet([
    Input(200), # input layer
    Dense(100, activation=Relu()),  # hidden layers with relu activation
    Dense(50, activation=Relu()),
    Dense(10, activation=Softmax()) # last hiddent layer with softmax activation
])

# define optimizer and loss function
net.build(optimizer=SGD(lr=0.003), loss=CategoricalCrossEntropy())

# train your model
net.fit(X_train, y_train, num_epochs=20)

Roadmap

There are a lot of updates planed, you will find comments throughout the library that define what features I'm planing to add in the future.

Contribution

Feel free to help, I know that there are many things that need to be optimized and implemented in the future, any help is welcome.

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

bluebird-stoick01-0.0.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

bluebird_stoick01-0.0.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file bluebird-stoick01-0.0.1.tar.gz.

File metadata

  • Download URL: bluebird-stoick01-0.0.1.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.9

File hashes

Hashes for bluebird-stoick01-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4db17307c8f54980ef6c4aa51f5d465a53f336e711eecfec7f3ce15c8f21cb08
MD5 8201e7487651267f35b54b89c705bf2c
BLAKE2b-256 c28c8685f75de68c83f3d819056be54d6b7c9db6b67fac59723664ac573d32c0

See more details on using hashes here.

File details

Details for the file bluebird_stoick01-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: bluebird_stoick01-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.9

File hashes

Hashes for bluebird_stoick01-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df1081a20ddb5f94a8b7f0bac834371ecc27979ac4bfb2a5d69e04d89f643cbd
MD5 c3f3c335d40b2b2fc416c5dfe963513e
BLAKE2b-256 679b13483861106649b0145c52af29c3e6f12c77ea4e95ceadbeaf0a3fbb6a1a

See more details on using hashes here.

Supported by

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