Giter VIP home page Giter VIP logo

double-pendulum-prediction-rnn's Introduction

Double Pendulum Prediction

This project uses machine learning to guess the movement of a two-part pendulum system using limited data. The goal is to predict its unpredictable swings.

pendulum01-1837416705

Tasks Performed

Design and Training of RNN: Utilized a Recurrent Neural Network to forecast the future positions of masses $m_1$ and $m_2$ based on their cartesian coordinates, using the initial conditions $z_0 = [π/4,0,π/4,0] $

Stability Analysis: Investigated how initial condition variations influence the RNN's performance.

Prediction Extent: Assessed the network's capability to predict long-term future positions.

Complex Path Prediction: Implemented the above steps but with a different set of initial conditions, $z_0= [π/2,0,π/2,0]$, leading to more intricate pendulum behaviors.

Selective Training: Explored predictions when the RNN is trained solely using the coordinates of mass $m_2$, without insights from mass $m_1$.

Reproducing

Prerequisites

Ensure you have the necessary libraries and tools installed, including:

Jupyter Notebook or any Python environment.

Libraries: numpy, matplotlib, scipy, tensorflow (or your preferred ML library).

Installation

Go to a directory where you want to clone the repository and run:

git clone https://github.com/elilouise/Double-Pendulum-Prediction-RNN.git

Launch Jupyter Notebook. Open the main notebook and follow along with the sections and comments for a guided experience. Feel free to modify parameters and model architectures to improve predictions.

double-pendulum-prediction-rnn's People

Contributors

elilouise avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.