Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelbrusegard/machine-learning
Machine Learning model for tracking vessels
https://github.com/michaelbrusegard/machine-learning
Last synced: 7 days ago
JSON representation
Machine Learning model for tracking vessels
- Host: GitHub
- URL: https://github.com/michaelbrusegard/machine-learning
- Owner: michaelbrusegard
- Created: 2024-09-26T01:32:39.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-28T04:12:29.000Z (11 days ago)
- Last Synced: 2024-10-28T05:31:04.964Z (11 days ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 14.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
python3 --version
```To create a venv named machine-learning run:
```bash
python3 -m venv machine-learning
```To activate the venv:
```bash
source machine-learning/bin/activate
```#### Pyenv Alternative Setup
You can also use a tool like [pyenv](https://github.com/pyenv/pyen) with the [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) to handle python versions and venvs for you. It will activate the venv automaticaly for you when you enter the repository.
```bash
pyenv install 3.12pyenv virtualenv 3.12 machine-learning
pyenv activate machine-learning
```### Install dependencies
After activating the venv install dependencies:
```bash
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:
```bash
pre-commit install
```You can also install [Ruff](https://docs.astral.sh/ruff/editors/setup/) for your code editor to automatically format and check linting.