Linear model with: • Callbacks • Metrics • Preprocessing functions • Simple integration
Quick Start
import fsh
X = [[1, 2], [3, 4]]
y = [[5], [6]]
#array converting is integrated! but you can do it yourself!
X = fsh.fsh.preprocessing.to_array(X)
y = fsh.fsh.preprocessing.to_array(y)
callback = fsh.fsh.callbacks.History()
model = fsh.fsh.Linear(n_features=2, lr=0.01)
# Training
model.train(X, y, epochs=100, callbacks=[callback], loss_fn=fsh.fsh.metrics.mse)
model.predict(X)
Metadata
Release files for gradforge 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gradforge-2.0.1.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gradforge-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.7 kB
Release files / gradforge-2.0.1.tar.gz
| Download URL | gradforge-2.0.1.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c804d01745316258637042aef50a2dcc721ef083fb797feead2db661f6e6c26
|
|
BLAKE2b-256 checksum How to use checksums |
7f5f98e673dc4158d705ae98c49e01e2487ae284b7da444741d95b362539eab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / gradforge-2.0.1-py3-none-any.whl
| Download URL | gradforge-2.0.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fd8a6e76635b4954efd8f1377fe3777848295b2ff0f3cfcfe465ccbf8e01bc0
|
|
BLAKE2b-256 checksum How to use checksums |
a15c1027d6a94b86c47bfc63a6e77dfd026d799bbd6225310fab7cf85e3a51ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|