SkirOwen / koolnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Koopman Operator Object Locator Net - (KOOLNet)

Static Badge GitHub Static Badge

This project is to detect the location of an obstacle responsible for a turbulent flow in the context of tidal turbine.

The code expected as input the koopman mode decomposition of a flow, the following code was used: https://github.com/SkirOwen/ResDMDpy

Installation

The code was created using python=3.11, it should support 3.8 but has not been tested, nor it is guaranteed it will stay compatible. We recommend using conda or mamba to install the dependencies if the GPU support is wanted. otherwise pip should suffice.

CONDA | CUDA

conda env create -f environment_gpu.yml

CONDA | no CUDA

conda env create -f environment_no_gpu.yml

PIP

You may want to install it in a virtual environment.

pip install -r requirement.txt

Usage - CLI

Not all the code is accessible through the CLI. The -m is to specify the model, and the -w is for the number of window per mode.
Note that the parameter passed as an example would be the default one if nothing is passed, i.e. not passing -w to a RF would set the -w to 2000 internally.

RF

python -m koolnet -m rf -w 2000

XGBoost

python -m koolnet -m xgboost -w 2000

CNN

python -m koolnet -m cnn -w 4000

About


Languages

Language:Python 100.0%