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

Uploaded Source

Built Distribution

forecat-0.0.1-py3-none-any.whl (11.3 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