Skip to main content

a beautifully simplistic ml framework

Project description

froog unit test badge num downloads badge

froog the frog
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.

Installation

pip install froog

Overview of Features

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


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.7.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

froog-0.2.7-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file froog-0.2.7.tar.gz.

File metadata

  • Download URL: froog-0.2.7.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for froog-0.2.7.tar.gz
Algorithm Hash digest
SHA256 5ea924ff6269999fb8b0168318e4786fea9670f5c51d9b0d2bbb0a69d30eef46
MD5 e7cfe8fdada79f5c4ce39cfeff894794
BLAKE2b-256 0101ba921a5874cc4e34378d6f2925d47f4d8d307ffca45900074a6a9110f021

See more details on using hashes here.

File details

Details for the file froog-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: froog-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for froog-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 261eb24f23875986f2d826d5243c9d1779f23ac31890cb7c3e173c876f30f3aa
MD5 91f5abe3fb79ecb04af9fc95d28d5130
BLAKE2b-256 f5782d5579a491334be984e7ac4e71b25b2077eb74edcf1cc5502712d71c48de

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