a beautifully simplistic ml framework
Project description
ribbit
ribbit: fast real-time optimization of gradients
a beautifully compact machine-learning library
homepage | documentation | pip
RIBBIT is a SUPER SIMPLE machine learning framework with the goal of creating tools with AI --> easily and efficiently.
It's an end-to-end framework, encapsulating everything from ensemble trees to deep neural networks (still working on all that lol)
Installation
pip install ribbit
Overview of Features
- Custom Tensors
- Backpropagation
- Automatic Differentiation (autograd)
- Forward and backward passes
- ML Operations
- 2D Convolutions (im2col)
- Numerical gradient checking
- Acceleration methods (Adam)
- Avg & Max pooling
- EfficientNet inference
- GPU Support
- and a bunch more
Sneak Peek
from ribbit.tensor import Tensor
from ribbit.utils import Linear
import ribbit.optim as optim
class mnistMLP:
def __init__(self):
self.l1 = Tensor(Linear(784, 128))
self.l2 = Tensor(Linear(128, 10))
def forward(self, x):
return x.dot(self.l1).relu().dot(self.l2).logsoftmax()
model = mnistMLP()
optim = optim.SGD([model.l1, model.l2], lr=0.001)
Bounties
THERES LOT OF STUFF TO WORK ON! VISIT THE BOUNTY SHOP
Pull requests will be merged if they:
- increase simplicity
- increase functionality
- increase efficiency
more info on contributing
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
froog-0.2.3.tar.gz
(19.4 kB
view details)
Built Distribution
froog-0.2.3-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file froog-0.2.3.tar.gz
.
File metadata
- Download URL: froog-0.2.3.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc80f89fec92fc4c7974118f5c8fae205d0d2c4ee4d843912764f9d27977ba6d |
|
MD5 | 6cc1ed9c6bf99e41c47d706d53b96f8e |
|
BLAKE2b-256 | 30b99a747583719fc104a9e0164eb080c84adf5415b38703b51c34d8599c66aa |
File details
Details for the file froog-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: froog-0.2.3-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 404625fb1f2b2ea84a25e07bc584bebdbac389211c5f4b44fe7a0f5dc275ab6d |
|
MD5 | a3d10d943e09000e290effc4ba4a146a |
|
BLAKE2b-256 | 729ba297bf79846af3d62afaf9c6e713302d6f1c362dc982bd69a1e6c505db5d |