HAPI-NN allows interfacing of HAPI with TensorFlow and PyTorch to rapidly create deep neural network models for predicting and forecasting.
Project description
Application of HAPI for Neural Networks in Python
HAPI-NN allows interfacing of HAPI with TensorFlow and PyTorch to rapidly create deep neural network models for predicting and forecasting.
See Test Examples for toy examples that test different functionalties within HAPI-NN.
Real Data Examples are still work-in-progress.
Features
- A quick conversion from PySpedas plot data to HAPI-Data (as of now, metadata is not included)
- Trainer
- Can take data from different HAPI sources and so long as the time column is exactly the same (including time gaps) can be combined.
- Columns within HAPI data can be selected for input or output or both for the model.
- Columns with 1D-vectors are supported and elements within the vectors can be subselected as input or output for the model.
- Preprocessing helper functions that help handle time gaps by either ignoring them or treating each split of data separately.
- Data proportions for splitting train, validation, and tests set is easily specifiable. (Test splits are still work-in-progress)
- Can be used to train PyTorch or TensorFlow models with a train method.
- Tester
- Has similar capabilities to the Trainer, but does not handle training or time gaps.
- Predicts all possible predictions from data given some stride.
- Plotting of forecasts and predictions.
TODO
- Improve/Fix Train/Val/Test Split
- Splits should be made from at least several different random locations in the time series
- Create Backend ML class that replaces current method for TensorFlow and PyTorch
- Update Documentation
- Complete setup.py requirements and release on PyPI
©️ 2022 The Johns Hopkins University Applied Physics Laboratory LLC.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hapi_nn-0.1.0.tar.gz
(12.5 kB
view details)
Built Distribution
hapi_nn-0.1.0-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file hapi_nn-0.1.0.tar.gz
.
File metadata
- Download URL: hapi_nn-0.1.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ccf22a575f7f4a85abaad91197c0c1190b3691e7a119fc38481be7f9f12bb51 |
|
MD5 | 13e83180e48144145af07b6cb5438f00 |
|
BLAKE2b-256 | 5576996261f60fdc878348da66394d143c255b3021cc2e5975f14fa5347f97d9 |
File details
Details for the file hapi_nn-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: hapi_nn-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a248e6a95016e9652550b0f67bfcfbe89f347c1cccf24aff0be4d19499c6c0a |
|
MD5 | b7bb698337b870533b9c09638fdb65ac |
|
BLAKE2b-256 | 76270f3078d5976150700792ebcf3c5fb0a4005e648f18fd4c1c180bccaae7c0 |