pytorch-supporter
https://pypi.org/project/pytorch-supporter
pip install pytorch-supporter
Supported layers
import pytorch_supporter pytorch_supporter.layers.DictToParameters pytorch_supporter.layers.DotProduct pytorch_supporter.layers.GRULastHiddenState pytorch_supporter.layers.HiddenStateResetGRU pytorch_supporter.layers.HiddenStateResetLSTM pytorch_supporter.layers.HiddenStateResetRNN pytorch_supporter.layers.LazilyInitializedLinear pytorch_supporter.layers.LSTMLastHiddenState pytorch_supporter.layers.Reshape pytorch_supporter.layers.RNNLastHiddenState pytorch_supporter.layers.SelectFromArray
Supported utils
import pytorch_supporter text = '' pytorch_supporter.utils.clean_english(text) pytorch_supporter.utils.clean_korean(text)
Simple time series regression
import pytorch_supporter from sklearn.preprocessing import MinMaxScaler transformer = MinMaxScaler() transformer.fit(train_df[['Close']].to_numpy()) train_np_array = transformer.transform(validation_df[['Close']].to_numpy()) #window_length = sequence_length + 1 train_x, train_label = pytorch_supporter.utils.slice_time_series_data_from_np_array(train_np_array, x_column_indexes=[0], label_column_indexes=[0], sequence_length=7) #print(train_x.shape) #(973, 7, 1) #print(train_labels.shape) #(973, 1) #print(validation_x.shape) #(238, 7, 1) #print(validation_labels.shape) #(238, 1)
Multiple time series regression
import pytorch_supporter from sklearn.preprocessing import MinMaxScaler transformer = MinMaxScaler() transformer.fit(train_df[['Open', 'High', 'Low', 'Close', 'Adj Close', 'Volume']].to_numpy()) train_np_array = transformer.transform(validation_df[['Open', 'High', 'Low', 'Close', 'Adj Close', 'Volume']].to_numpy()) #window_length = sequence_length + 1 train_x, train_label = pytorch_supporter.utils.slice_time_series_data_from_np_array(train_np_array, x_column_indexes=[0, 1, 2, 3, 4, 5], label_column_indexes=[3], sequence_length=7) #print(train_x.shape) #(973, 7, 6) #print(train_labels.shape) #(973, 1) #print(validation_x.shape) #(238, 7, 6) #print(validation_labels.shape) #(238, 1)
Metadata
Release files for pytorch-supporter 0.0.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pytorch-supporter-0.0.20.tar.gz | 5.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytorch_supporter-0.0.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.6 kB
Release files / pytorch-supporter-0.0.20.tar.gz
| Download URL | pytorch-supporter-0.0.20.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6257da70b9f4a0ae3ddbfee7fa0eeed2c02a95c09fb8c03cb4329aab6ae14987
|
|
BLAKE2b-256 checksum How to use checksums |
50c3d11d39ac2e5e8af44bd5ff31584e9c1aee0e0a43850d39da317cf4e6fabf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / pytorch_supporter-0.0.20-py3-none-any.whl
| Download URL | pytorch_supporter-0.0.20-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c1587638d60bc6b90a930538d1f161e3ac1772c4a50bcd17c7bcb6259e96736
|
|
BLAKE2b-256 checksum How to use checksums |
4be8d787bddf20d262456559735509475b7cab6d8f46e32135564dd24371f6b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for pytorch-supporter 0.0.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.