Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

hapi_nn-0.1.0-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page