Skip to main content

foggy is a python package for using a CNN to predict fog at airports

Project description

# foggy

foggy package for Pypi

foggy is a python package for training and testing convolutional

neural networks on atmospheric grib files to predict the occurrence of fog at airports.

## How to install foggy

“”” pip install foggy “””

## How to run foggy “””

Can be run individually or use CNNActivator() which does the following:

  1. Create dataframe (using DataframeCreator) of all of the dates in column 1 and whether it was a fog event or not in column 2.

  2. ReDirecter: takes balanced subset of data files (all fog and some no fog) moves to new folder DataDealer: Extracts data (eg. mslp and rh) into X and uses fog or nofog column from the dataframe as Y Normalizer: Normalizes X

  3. Build CNN model with Base5kBuilder

  4. Split data into test and train

  5. Then use RandomSampler to randomly oversample data to obtain more data

  6. Test model: prints a confusion matrix

  7. Save the model! Inbuilt try and if statements to help save computing time if dataframe, model, etc. are already saved

  1. ROC metric and the AUC to evaluate how good the model was

“””

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foggy-1.0.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

foggy-1.0-py3-none-any.whl (9.8 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