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.1.1.tar.gz (5.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.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: train_lle-1.1.1.tar.gz
  • Upload date:
  • Size: 5.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.1.1.tar.gz
Algorithm Hash digest
SHA256 523dc478c87c23589d7406611e17d139d724cbb9eceafb404c2b32d5d676adc6
MD5 416cde3ddce2cd86ca8878041fbb88c5
BLAKE2b-256 2c8b2423f86b512042351eecceda7fa0cdc23dfba904380e1adc00d59fd78914

See more details on using hashes here.

File details

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

File metadata

  • Download URL: train_lle-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50f666d8aadf3affbad5e7b895b352804da1c6e7cadfc435fabd469b8ac20889
MD5 2c8b7d5c7ec463c43e5e3bf6ab4e9f4e
BLAKE2b-256 4287871574f79e7a15b91545419214db3486197242d97f5642a242e8c66e91b2

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