Skip to content

ScottGuthart/impute

Repository files navigation

Impute

Check it out

Description

Toy Application demonstrating embedded spreadsheets and long running tasks in flask. Paste in data with missing values and press impute. Random forest imputation takes place as a background job and the front end checks in every couple seconds to see if it's done.

More Info

Inspired by and modeled after Miguel Grinberg's Flask Tutorial. Links are included to corresponding sections in the tutorial if you want to learn more.

Includes:

*This template ships with a more relaxed CSP than included with flask-talisman by default in order to allow Bootstrap 4 to work properly. Please refer to flask-talisman documentation to decide what's right for your site.

Basic Setup

  • Set up a virtual environment and install the requirements more info
  • Create a .env file in the root directory (/.venv) more info
    • Set up your gmail accout to allow third party sign-in. See above link for more info.
    • Sample .env file:
      FLASK_APP=flaskapp
      MAIL_SERVER=smtp.googlemail.com
      MAIL_PORT=587
      MAIL_USE_TLS=1
      [email protected]
      MAIL_PASSWORD=examplepassword
      SECURITY_PASSWORD_SALT=put_your_password_salt_here
      SECRET_KEY=put_your_secret_key_here
      
  • run flask db upgrade to setup the database.

About

Spreadsheet Web App with Random Forest Imputation on the fly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published