a beautifully simplistic ml framework
Project description
froog
froog: fast real-time optimization of gradients
a beautifully compact machine-learning library
homepage | documentation | pip
froog is a SUPER SIMPLE machine learning framework with the goal of creating tools with AI --> easily and efficiently.
froog encapsulates everything from linear regression to convolutional neural networks
all of this in under 1000 lines. in the tadpole folder.
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 froog.tensor import Tensor
from froog.nn import Linear
import froog.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.6.tar.gz
(16.6 kB
view details)
Built Distribution
froog-0.2.6-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file froog-0.2.6.tar.gz
.
File metadata
- Download URL: froog-0.2.6.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0af94fdf009856f4655bbf6a1feb1ba6c9d7a7fab8de7f7bb88b2059f1b2da |
|
MD5 | 442b07cc4a5991ba0dbc212ba13278de |
|
BLAKE2b-256 | 342885adc53e089127db197a8616f0a6dea882579e9a0da178469e3a1bdc3306 |
File details
Details for the file froog-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: froog-0.2.6-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 | 50c5e7b3356d1e133bd011fc61130ed7ecaa54fced20426024530a68f2b1ac4a |
|
MD5 | 9d43856eb06ff4a19c7ce506f69ad770 |
|
BLAKE2b-256 | 8eac88d3b0fc06bbb82065a2c535dbcb815c4ad5bce76f9bf714406089c4dfc6 |