Giter VIP home page Giter VIP logo

model_optimze_vessel's Introduction

Sequential Modeling in Marine Navigation: Case Study on a Passenger Vessel

West Coat Vessel

Website

Simulator (V0.1)

ezgif.com-video-to-gif.mp4

Credits:

This project is done in collaboration with Simon Fraser University (SFU) and National Research Council Canada (NRC)

Contents

  1. Setup
  2. Projects
  3. Dataset
  4. Gym Environment
  5. Preprocessing
  6. Training
  7. Optimization
  8. How to cite

Setup

Clone the repo, and build the conda environment:

git clone [email protected]:pagand/model_optimze_vessel.git
cd model_optimze_vessel
conda create -n vessel python=3.9
conda activate vessel
pip install -r requirements.txt

If you have GPU with CUDA enabled: CUDA<=10.2

pip uninstall torch torchvision torchaudio #(run twice)
pip install torch==1.12.1+cu102 torchvision==0.13.1+cu102 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu102

CUDA>10.2

pip uninstall torch torchvision torchaudio #(run twice)
pip install torch==1.12.1 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113

Others: Install the correct version of pytorch given your CUDA from previous versions or start locally. Replcae the {version} with the correct compatible version.

conda install pytorch=={version1} torchvision=={version2} cudatoolkit={version3} -c pytorch

Install Huggingface transformers or follow the link

pip install transformers

To download the RL dataset, please run

sh download_data.sh

Projects:

1- (non-)Parameteric modeling of fuel consumption. Accepted in Ocean Engineering version, please refer to the OE branch.

2- Sequentaioal modelling. Currently in the main branch.

3- Optimization. (TODO)

Dataset

1- Original data (Confidential). Please put <queenCsvOut.csv> and <queenCsvOutAugmented.csv> in data folder.

2- Offline RL dataset

To download the RL dataset, please run

sh download_data.sh

This will download the normalized trips in the data folder.

Simulator

For the gym enviroenmt, please refer to the simulator folder.

Preprocessing

Visulization

To get an exploratory data analysis (EDA) of the data, please refer to the visulization folder.

Feature selection

Please refer to the Features section to get the insight on the feature engineering and feature selection proccess.

Prepration

To get the handle missing values, outlier detection, and normalization, please refer to the prepration folder.

Training

For the model, we have two approaches.

Functional model

For this model, please refer to model/functional

Sequential model

For this model, please refer to the model/sequential

Cite

@inproceedings{Fan2024sequential,
  title={Sequential Modeling in Marine Navigation: Case Study on a Passenger Vessel},
  author={Fan, Yimeng and  Agand, Pedram  and Chen, Mo and Park, Edward J and Kennedy, Allison and Bae, Chanwoo},
  booktitle={Proceedings of the AAAI conference on artificial intelligence},
  volume={},
  number={},
  pages={},
  year={2024}
}

  @article{agand2023fuel,
  title={Fuel consumption prediction for a passenger ferry using machine learning and in-service data: A comparative study},
  author={Agand, Pedram and Kennedy, Allison and Harris, Trevor and Bae, Chanwoo and Chen, Mo and Park, Edward J},
  journal={Ocean Engineering},
  volume={284},
  pages={115271},
  year={2023},
  publisher={Elsevier}
}

model_optimze_vessel's People

Contributors

pagand avatar yim-fan 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.