EEG Phase Predictor ver 2.3
**Note: This is beta version, use for training with default dataset and inference only ** Support 128Hz and 256Hz input sampling **
Setup
- Requirements: python >= 3.10
- Installing:
pip install eegpp3-beta
Train with default dataset
python -m eegpp3 --mode "train" --model_type <mode_type> --lr <learning_rate> --batch_size <batch_size> --n_epochs <num_epochs> --n_splits <num_folds> --resume_checkpoint <resume_from_checkpoint>
ex: python -m eegpp3 --mode "train" --model_type "stftcnn1dnc" --n_epochs 20 --n_splits 10 --resume_checkpoint False
Inference
- Old version (Recommend)
python -m eegpp3 -p <path_to_infer_config.yml>
ex: python -m eegpp3 -p "data_config_infer.yml"
An example of the configuration file:
datasets:
time_step: 4000 #milliseconds
data_dir: "/home/user/data"
tmp_dir: "/home/user/tmp"
out_dir: "/home/user/out"
seq_files: ["raw_K3_EEG3_11h.txt", "raw_RS2_EEG1_23 hr.txt"]
template_files: [] # ["K3_EEG3_11h.txt", "RS2_EEG1_23 hr.txt", "S1_EEG1_23 hr.txt"] # if no template, set to : [ ] or remove this line
out_seperator: "\t"
Change directory (dir) with the correct path 2. New version
python -m eegpp3 --mode "infer" --data_path <path_to_data_file> --infer_path <path_to_saving_file> --model_type <model_type>
ex:
python -m eegpp3 --mode "infer" --data_path "./dump_eeg_1.pkl" --infer_path './inference_result.txt" --model_type "stftcnn1dnc"
Model type
- stftcnn1dnc: Multi-channels STFT-CNN
Metadata
Release files for eegpp3-beta 2.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 | Provenance | Actions |
|---|---|---|---|---|
| eegpp3_beta-2.3.tar.gz | 37.1 kB | Without provenance | Details for eegpp3_beta-2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eegpp3_beta-2.3-py3-none-any.whl | Python 3 | none | any | Details for eegpp3_beta-2.3-py3-none-any.whl |
Total release size: 91.8 kB
Release files / eegpp3_beta-2.3.tar.gz
| Download URL | eegpp3_beta-2.3.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48b82752b010f8deed430493cc064f16cae8ed6af4cc570a349f8c6177956d29
|
|
BLAKE2b-256 checksum How to use checksums |
1825d43a15fd30e8bd91b79a502a4858920ad15fda0c4ed2dcd53b2326871aed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Release files / eegpp3_beta-2.3-py3-none-any.whl
| Download URL | eegpp3_beta-2.3-py3-none-any.whl |
|---|---|
| Size | 54.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f229aaab165bd462d0b4d311200a5c4acb3833c8654e82b4facf00d1522cf57a
|
|
BLAKE2b-256 checksum How to use checksums |
9dd6d4b6a2b8c200fbed9ddd4b0a5a2fbee64a42c56245f560f2193cf009703d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Security for eegpp3-beta 2.3
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.