Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/work-nobu/ml_air_pollution


https://github.com/work-nobu/ml_air_pollution

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

# ML Project
We worked on a ML challenge from Zindi.

https://zindi.africa/competitions/zindiweekendz-learning-urban-air-pollution-challenge/data

We tried 7 different supervised ML models.

## Python environment set up
### **`macOS`** type the following commands :

- For installing the virtual environment you can either use the [Makefile](Makefile) and run `make setup` or install it manually with the following commands:

```BASH
make setup
```
After that active your environment by following commands:
```BASH
source .venv/bin/activate
```
Or ....
- Install the virtual environment and the required packages by following commands:

```BASH
pyenv local 3.11.3
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
```

### **`WindowsOS`** type the following commands :

- Install the virtual environment and the required packages by following commands.

For `PowerShell` CLI :

```PowerShell
pyenv local 3.11.3
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install --upgrade pip
pip install -r requirements.txt
```

For `Git-bash` CLI :

```BASH
pyenv local 3.11.3
python -m venv .venv
source .venv/Scripts/activate
pip install --upgrade pip
pip install -r requirements.txt
```

**`Note:`**
If you encounter an error when trying to run `pip install --upgrade pip`, try using the following command:
```Bash
python.exe -m pip install --upgrade pip
```