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.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 | |
|---|---|---|---|
| fsh-1.3.1.tar.gz | 185.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fsh-1.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 369.3 kB
Release files / fsh-1.3.1.tar.gz
| Download URL | fsh-1.3.1.tar.gz |
|---|---|
| Size | 185.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
506e3488a51f55b514c457146e9879c96ec79b754167db5c072ec57552e41ceb
|
|
BLAKE2b-256 checksum How to use checksums |
73c079c943b2f964b5d47e1e826de47729125af39a2df29a15dc327134347042
|
| 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.1-py3-none-any.whl
| Download URL | fsh-1.3.1-py3-none-any.whl |
|---|---|
| Size | 184.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ca17fe7c6a307ad92c461c57b1eec41fb57f38ea6530ecab3167d4c130253ab
|
|
BLAKE2b-256 checksum How to use checksums |
b316dc1ebaa83c57bc5491570fb94309fcc303e477a0cb9353d1c70e64725722
|
| 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}
|