khanalg44 / MagNet

MagNet: Model the Geomagnetic Field

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MagNet: Model the Geomagnetic Field

Problem Description

The goal of this challenge is to develop models for forecasting Dst (Disturbance Storm-Time Index) that 1) push the boundary of predictive performance 2) under operationally viable constraints 3) using specified real-time solar-wind data feeds.

Data Preprocessing

  • Feature Engineering:

    • Using our knowledge from Geo physics we dropped a few features which were very unlikely to affect the final prediction and picked only a few features for the LSTM model.
  • Data amputation:

    • Filled the missing data in smoothed_ssn using forward fill and solar_wind using interpolation
    • Converted the data to hourly resolution picking both mean as well as the standard deviation.
  • Feature Scaling:

    • Used Standard Scaler to scale the data. This turned out to be pretty important for accuracy score.

Model Building - LSTM

  • Tried several things
    • play with batch_size
    • with or without the dropout (with dropout gave better RMSE)
    • Add batch normalization, it didn't improve the result
    • with or without activation function - tried Relu, sigmoid. Relu didn't improve the results

Following is a screenshot of one of the model architecture.

LSTM Model

Loss plot and Accuracy

Following is the loss plot for train data (blue curve) and validation data (ornage curve) for one of our best models. Loss plot

Our Performance

Our final performance was inside top 50 (top 8%) submitted by Shree Bhattrai. Final Performance

Here is a quick fact about total participants. Quick Facts

Resources

About

MagNet: Model the Geomagnetic Field


Languages

Language:Jupyter Notebook 99.7%Language:Python 0.3%