This project analyzes various pollutant data using Polynomial regression, Exponential Regression, and Simpson's Method.
Presentation video link: https://www.youtube.com/watch?v=yVF_1T74Hq4
Implementation of the algorithm in ExponentialRegression/exponentialRegression.ipynb along with all the metrics. Relevant graph images are saved within the folder.
Implementation of all three (Linear, Quadratic, Cubic) in the PolynomialRegression folder through main.py. All the metrics are generated through analysis.py.
Implementation of the algorithm in Simpsonsmethod folder along with all the metrics. Relevant graph images are saved within the folder.
Follow the steps below to set up and run the program on the CSCE server.
run the following commands to extract the ZIP:
unzip AirQualityAnalysis.zip -d AirQualityAnalysis
cd AirQualityAnalysispython3 -m venv env
source env/bin/activatepython3 -m ensurepip --upgrade
python3 -m pip install --upgrade pippython3 -m pip install -r requirements.txtcd PolynomialRegressionpython3 main.pypython3 analysis.pyjupyter notebook --no-browser --port=88886. Forward the Port to Your Local Machine (can jump to step 7 step if running on personal computer and CSCE server)
ssh -L 8888:localhost:8888 your_username@university_server_addressOpen the notebook on the browser using: Copy and paste the link shown on the server terminal or go to "http://localhost:8888" and copy and paste the token from the Jupyter Notebook output (shown on the server terminal)
Navigate to the ExponentialRegression and SimpsonsMethod directory in the Jupyter interface and open the .ipynb file. Run all cells.