This project contains examples of Linear, Polynomial, and Logistic Regression models.
numpy
pandas
matplotlib.pyplot
sklearn
The projects organized into the following directories:
-
input: Contains the input data files.
-
models: Stores the trained models.
-
notebooks: Jupyter notebooks for exploratory data analysis and model development.
-
output: Contains the output files generated by the models.
-
src: Python scripts for training, predicting with the models and etc.
In this example, we predict employees' salaries based on their years of experience. The dataset used is salary.csv
, which contains two columns: YearsExperience
and Salary
.
To get started with the project, follow these steps:
- Clone the repository:
git clone https://github.com/Anrsgrl/regressions
cd regression_name
- Install the required dependencies:
pip install numpy pandas matplotlib scikit-learn
- Run script
cd folder_name
python script_name
More detailed documentation is available in the README files within each directory.