Skip to main content

Keras based Forescast model builder

Project description

Forecat

Forecat is a Python package that provides a Keras-based forecast model builder.

Timeseries Forecasting

Making Predictions with Keras Models

Forecat allows you to make predictions using the trained models. Once a model is trained, you can use the model.predict() method to make predictions on new data instances. For example, you can pass a new input data X to the trained model and get the predicted output yhat using the following code:

Forecat also supports saving and loading trained models using the SavedModel format or the HDF5 format, which allows you to reuse the models for future predictions[2][8].

Keras Model Components

When working with Keras models, it's important to understand the different components that make up a model:

  • Architecture/Configuration: Specifies the layers and their connectivity in the model.
  • Weights: The trainable parameters in the model that influence the output.
  • Optimizer: The optimizer/loss function used to minimize the loss during training.
  • Set of Losses and Metrics: The losses and metrics that are compiled with the model using the model.compile() method.

Forecat provides a high-level interface to create, configure, and train models, taking care of these components behind the scenes[2].

Usage

To use Forecat, follow these steps:

  1. Install Poetry for dependency management.
  2. Install Forecat and its dependencies using Poetry: poetry install.
  3. Use the poetry run command to run your scripts: poetry run python your_script.py.
  4. Use the provided API to build and train forecast models using Keras and TensorFlow.
  5. Make predictions using the trained models.

Contribution

Contributions to Forecat are welcome! If you find any issues or have suggestions for improvement, please feel free to contribute. Make sure to update tests as appropriate and follow the contribution guidelines.

License

Forecat is licensed under the MIT License, which allows you to use, modify, and distribute the package according to the terms of the license. For more details, please refer to the LICENSE file.

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

forecat-0.0.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

forecat-0.0.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file forecat-0.0.1.tar.gz.

File metadata

  • Download URL: forecat-0.0.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/6.2.0-1012-azure

File hashes

Hashes for forecat-0.0.1.tar.gz
Algorithm Hash digest
SHA256 df9da08cf8235f72c58a9221e0faa99a023d86cb9b6b73dca443afc6a9725145
MD5 aaa4417d295ae116902bc5124b541ed8
BLAKE2b-256 ab5a9e4f53fb94276c626bab4a1fb8dbcbfa28355e5f36f72fdee73eb3e68214

See more details on using hashes here.

File details

Details for the file forecat-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: forecat-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/6.2.0-1012-azure

File hashes

Hashes for forecat-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79a29fbb31eb6311588e306a6ee205daafe5ed652e69c73f0dabff2a558f951e
MD5 aebd0960b4aee1d0d1953d8751ebc77e
BLAKE2b-256 3fa9356fe0a86bf273f2261c5c6de8efee30062362f1901610317720cca97ed0

See more details on using hashes here.

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