# Regression Model
This project demonstrates how to build and run a regression model inside a Docker container.
## Overview
The project contains the following files:
- `Dockerfile`: Defines the Docker image for the project, including instructions to install dependencies and specify the command to run.
- `requirements.txt`: Lists all Python dependencies required for the project.
- `main.py`: Python script containing the regression model code.
- `data/`: Directory containing dataset file(s) used for training and testing the model.
## Usage
1. **Clone the Repository**:
```bash
git clone git@github.com:NacerKH/EstimationDeliveryModel.git
-
Navigate to the Project Directory:
cd EstimationDeliveryModel -
Build the Docker Image:
docker build -t regression-model . -
Run the Docker Container:
docker run regression-model
-
Get the Container Name:
- docker ps -a.
- Enter to Container:
- docker exec -it $CONTAINER_NAME bash
- Run the Python Script:
- Run All Algorithms:
python main.py
- Get the best Model
python detectTheBestModel.py
- Make sure you have Docker installed on your system before running the Docker commands.
- Update
main.pywith your actual regression model code. - Replace
data/dataset.csvwith your dataset file.