Skip to main content

Local Learning Engine - Python package

Project description

train-lle

Python package for the Local Learning Engine.

Installation

pip install train-lle

Usage

from train_lle import Model, MLP, Trainer, Dataset

model = Model(MLP.build(input=4, layers=[8, 8], output=1))
trainer = Trainer(optimizer="adam", lr=0.01, epochs=50, loss="mse")

dataset = Dataset.from_csv("data.csv")
trainer.fit(model, dataset.inputs, dataset.targets)

model.save("model.lle")

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

train_lle-1.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

train_lle-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file train_lle-1.0.0.tar.gz.

File metadata

  • Download URL: train_lle-1.0.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for train_lle-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0451b146256d1970e0b58df41acdb5332b1ee994110ec2cfffd9077926ece8b4
MD5 92cb25ed4f3af9446a8bbb3956dfbca2
BLAKE2b-256 7c3b09a429cd6e123ae3365a8bcffa62333a8e16643bada833996a3bd9b05d56

See more details on using hashes here.

File details

Details for the file train_lle-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: train_lle-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for train_lle-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef52a768def09655b1d6ab59fbd4641f92669e024d7e5615d3f50cc9b450e4ed
MD5 0b7e8453955f79ecad7792f397c4cc53
BLAKE2b-256 05d96c4db9ec58c9bb13f0f2fc46396351e0f5a6c0f5152ee8b17dd5013b0de3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page