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 fsh 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fsh-1.3.tar.gz | 181.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fsh-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 362.3 kB
Release files / fsh-1.3.tar.gz
| Download URL | fsh-1.3.tar.gz |
|---|---|
| Size | 181.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
318a3aa337feb8259ca9091ba3e58614184dcf9642f80604c31231e28e84356b
|
|
BLAKE2b-256 checksum How to use checksums |
dc59567f2c85d2b51f9e359c33716262fc3e2d93d1af005d9e8ebc2cd07fef4b
|
| 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 / fsh-1.3-py3-none-any.whl
| Download URL | fsh-1.3-py3-none-any.whl |
|---|---|
| Size | 180.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9c81858a2012b021664d2e88b8275d0e78fad2b1aa1c1332be552f6ce91f7ed
|
|
BLAKE2b-256 checksum How to use checksums |
c9fde17325486658896e19aac3dd2a3e6125dd19ac163a6f9f89f950896d4a2f
|
| 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}
|