Skip to main content

Deep learning library

Project description

BlueBird logo

Documentation Status Build Status PyPI version

Simple deep learning library.

Usage

Install:

pip install bluebird-stoick01

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.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)

For more info checkout the docs

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.3.0.tar.gz (19.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: bluebird-stoick01-0.3.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.7

File hashes

Hashes for bluebird-stoick01-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c4bf42e6d8129c79786263dbf76b62a3fc48a6c91677bcca3bcf35f95e3ac3e6
MD5 804d73b0f7ed14da1dcd3eb3f890ffc9
BLAKE2b-256 21770991ceba3971a0bcef6e125ed9fd477c98276c50dbc3c60f2b9c6823e182

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