Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/Exercices Global/Datasets
/.DS_Store
/.DS_Store
.venv

This file was deleted.

39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,44 @@ To run the code in this tutorial, you will need to have Python 3 installed on yo
Scikit-learn

You can install these modules using pip or conda, depending on your preferred package manager.
License


# Using a Virtual Environment
It’s recommended to work inside a virtual environment to isolate dependencies for this
## 1. Create a virtual environment in the root folder
```bash
python -m venv .venv
```
> This will create a folder named .venv containing an isolated Python environment

## 2. Activate the virtual environment
- On Windows (PowerShell):
```
.\.venv\Scripts\activate
```
- On Linux / macOS:
```
source .venv/bin/activate
```
Once activated, your terminal prompt should show the environment name
## 3. Install required dependencies
```bash
pip install -r requirements.txt
```
> If you’re using Anaconda, you can alternatively run:
>```bash
>conda install --file requirements.txt
>```
## 4. Verify installation
To make sure everything is set up correctly:
```bash
python --version
pip list
```
## 💡 Tip
If you install new packages while working on the project, you can update the requirements file with:
```bash
pip freeze > requirements.txt
```
# Contributing

If you would like to contribute to this tutorial, feel free to submit a pull request. We welcome contributions from the community and are happy to review and merge in new features and improvements.
Expand Down
10 changes: 10 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
pandas
numpy
scipy
matplotlib
seaborn
notebook
nbformat
nbconvert
pytest
nbqa