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.4.tar.gz
(19.4 kB
view details)
Built Distribution
froog-0.2.4-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file froog-0.2.4.tar.gz
.
File metadata
- Download URL: froog-0.2.4.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 | 04a18f5747969d6c5234460082dfa534e2509b3d79fb61d1fe249f0152f4bacb |
|
MD5 | 705db610cb330251583c8ab91021f389 |
|
BLAKE2b-256 | 45410b32f2816f564f1d816179e36aa7b91183d1c9274f6770c7eebc9dbbf7db |
File details
Details for the file froog-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: froog-0.2.4-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 | f614c030cd9109f826ed183a51e21dd74683e82ad3687477a02c9cc8b93cc984 |
|
MD5 | 0722b931d717e1124e3a0c1925517f7a |
|
BLAKE2b-256 | 489a989f0d443bd6c302104b1a9efc241303f0758ee73b8c3e597f6a8c6c49cd |