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.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.0.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: train_lle-1.0.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.0.1.tar.gz
Algorithm Hash digest
SHA256 8ee95afe104d305d919f82d9fff9ff2f447da58d46428ba564b7768b06e4889a
MD5 fc7c8602aee573f4b266629aafcd8cb4
BLAKE2b-256 9d308bc679f632ce82efb92b20ab383b94adc32b447cb219785b40e397dbc264

See more details on using hashes here.

File details

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

File metadata

  • Download URL: train_lle-1.0.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf10e503104932fdf1dcf94904d92445d4dffaee092e33b15fbe5bc88ddd5737
MD5 c377c4bc97ed119d3dec80bbb5af2523
BLAKE2b-256 87e6f24fc143f44e36a8f3cec0dafee4286b3221959efed80426e2ff51843888

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