Skip to content

MichaelAlexanderBryant/concrete-strength-pred-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku Files for Concrete Compressive Strength App

This repository is for hosting the files used to build the Heroku web app based on the analysis and models built on a concrete compressive strength dataset. An image of the front-end is displayed in Figure 1. Below you will find an overview of the code and files.


Figure 1: Front end of Heroku app using the XGBRegresor model.

Code Used

Python Version: 3.8.11
Packages: pandas, numpy, scipy, sklearn, flask, pickle
For Web Framework Requirements: pip install -r requirements.txt

Files

templates/index.html

This file contains the HTML code used for the front end of the app hosted with Heroku.

Procfile

This file contains the commands for running the application's containers. It specifies the application server as Gunicorn.

app.py

This file contains the flask actions and input manipulation performed for the application.

scaler.pkl

This file is the pickle containing the MinMaxScaler after it had been fit to the training data so that it can transform the user input.

xgboost_model.pkl

This file is the pickle containing the hyperparameter tuned SVR after being trained on the training data so that it can be applied to the user input.

Resources

  1. Kaggle: Concrete compressive strength dataset