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.4
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.4.tar.gz | 185.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fsh-1.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 370.3 kB
Release files / fsh-1.3.4.tar.gz
| Download URL | fsh-1.3.4.tar.gz |
|---|---|
| Size | 185.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78f1ac6786408d010a588012cf9c4c43371c4b115a241510cf64150f5ddb43a9
|
|
BLAKE2b-256 checksum How to use checksums |
3cd41acc2b96b5d10722b459a657daa4a88d74c8afa087a8253b0d4175ea3941
|
| 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.4-py3-none-any.whl
| Download URL | fsh-1.3.4-py3-none-any.whl |
|---|---|
| Size | 185.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52e5a5a75ee922b9eecf43ad560101dc66b609fb90425ae9f1d58c9df0458284
|
|
BLAKE2b-256 checksum How to use checksums |
e2b6ce43c569b1b87db2b639e3480356440336d7c6fc831cfefb19b398eef706
|
| 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}
|