Skip to main content

AI library in python using numpy, with end-to-end auto differentiable Computational Graph

Project description

import ai

AI library in python using numpy

The main purpose of this library is to understand the deep concepts of AI by implementing everything from scratch. I want to expose the functions of Deep Learning APIs as clearly as possible.

This library develops:

  • a Parameter object - that holds the weights and derivatives
  • a Computational Graph - to store operations during forward pass and execute them in reverse order during backprop. This has all the necessary functions to help realise many layers to do deep learning
  • Layers/models - the fundamental Linear layer, LSTM and RNN, Convolutional NN for now, and a generic model template for util functions
  • Loss - Mean Square, Cross Entropy loss functions, also has backward call function
  • Optimizers - basic SGD, Adam, Adagrad optimizer functions
  • some examples using this library

I will keep updating the library with more explanations, documentation and a similar library in my favourite language c++ soon!

Goal

I want to be able to implement every model in the below Deep Learning Toolkit picture source tweet

DL Toolkit

Author

Sri Ram Bandi / @_srirambandi_

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

import-ai-1.0.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

import_ai-1.0.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file import-ai-1.0.0.tar.gz.

File metadata

  • Download URL: import-ai-1.0.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for import-ai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9d2f7484343f65f9d6397f7c689297e1cf2cb91cf3940bc1ad0f166bc37e8f33
MD5 3eb332f6948d02e6f5f88ec0956c5881
BLAKE2b-256 9dde4e7f22dcec546e913df8d600863bb903a0f2ce8cba0e1774559ea4efa5db

See more details on using hashes here.

File details

Details for the file import_ai-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: import_ai-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for import_ai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f874ef4de8ae6c8488199ecaf21217b21e1e65e573e6dae2d2e5f84708b5dd60
MD5 a3bb4f7922ceb1bf2a47568ba0a34354
BLAKE2b-256 d539a05aab826bfca0f02325740cb1fd1e64a4b025a77743f4642071609a9854

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