Skip to content

michaelbrusegard/machine-learning

Repository files navigation

Machine Learning AIS Vessel

Getting Started

Setup a Virtual Environment

Ensure you have python 3.12 installed on your system. You can check by running:

python3 --version

To create a venv named machine-learning run:

python3 -m venv machine-learning

To activate the venv:

source machine-learning/bin/activate

Pyenv Alternative Setup

You can also use a tool like pyenv with the pyenv-virtualenv to handle python versions and venvs for you. It will activate the venv automaticaly for you when you enter the repository.

pyenv install 3.12

pyenv virtualenv 3.12 machine-learning

pyenv activate machine-learning

Install dependencies

After activating the venv install dependencies:

pip install -r requirements.txt

Pre commit hooks

Optionally you can install pre-commit hooks that automatically will format and check linting with ruff when you commit:

pre-commit install

You can also install Ruff for your code editor to automatically format and check linting.

About

Machine Learning model for tracking vessels

Resources

Stars

Watchers

Forks