Skip to main content

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.

Metadata

Release files for hapi-nn 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hapi-nn 0.1.0
File Size Uploaded
hapi_nn-0.1.0.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hapi-nn 0.1.0
File Interpreter ABI Platform
hapi_nn-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / hapi_nn-0.1.0.tar.gz

Download URL hapi_nn-0.1.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3ccf22a575f7f4a85abaad91197c0c1190b3691e7a119fc38481be7f9f12bb51
BLAKE2b-256 checksum
How to use checksums
5576996261f60fdc878348da66394d143c255b3021cc2e5975f14fa5347f97d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / hapi_nn-0.1.0-py3-none-any.whl

Download URL hapi_nn-0.1.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a248e6a95016e9652550b0f67bfcfbe89f347c1cccf24aff0be4d19499c6c0a
BLAKE2b-256 checksum
How to use checksums
76270f3078d5976150700792ebcf3c5fb0a4005e648f18fd4c1c180bccaae7c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page