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.
RIBBIT encapsulates everything from linear regression to convolutional neural networks
Installation
pip install froog
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.nn 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.5.tar.gz
(20.3 kB
view details)
Built Distribution
froog-0.2.5-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file froog-0.2.5.tar.gz
.
File metadata
- Download URL: froog-0.2.5.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 752d78a24ac6c77580b6940f280c91296cc41c298d6ad31da7eda88966bb2561 |
|
MD5 | bf8451cde87a858f035affbc7bfcef2b |
|
BLAKE2b-256 | 1b0e2f2f5dd248e67f55b8ae97a67fcd30b70071ee1c76e1413dc8522e68d8d9 |
File details
Details for the file froog-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: froog-0.2.5-py3-none-any.whl
- Upload date:
- Size: 18.0 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 | ccf8409564723a6e1251f258556b029035c13d04b6ac9e3b9518daa63e9e8825 |
|
MD5 | db4b4ed8a232e62cf2ab82f50d333138 |
|
BLAKE2b-256 | 5137b84c87c0a5ff0bbaabb81986ed1ec173f5d992b84fa7140a73ca5fe595aa |