Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.
/ regression Public archive

Web app for regression analysis of provided data files

License

Notifications You must be signed in to change notification settings

prmkowalski/regression

Repository files navigation

regression

PyPI - Python Version PyPI PyPI - Status GitHub CI - Status

Web app for regression analysis of provided data files

NOTE: This project is no longer developed nor maintained.

Changelog »

Installation

Install with pip:

$ pip install regression

Usage

To open config.cfg file and change configuration values run:

$ regression config

Deploy web app to a WSGI server or run locally on Flask's built-in server:

$ regression run
https://repl.it/badge/github/makr3la/regression

Files

  1. Provide your data files in one of the following ways:
  • using upload form, which will save the file in the app root directory,
  • by copying them into into the app subdirectory (run $ regression path to find the copy path),
  • by adding links to files stored online as URL dict of config file:
$ regression config
...
URL = {'name': 'download_link'} # 'name' supports HTML format
  1. Supported file formats and extensions:
  • Delimited text files (CSV)
index,features,...,outcome  # First row is a header
item 1,X11,X12,...,X1p,y1   # Follow order: index, X, y
item 2,X21,X22,...,X2p,y2   # Features can be given as
...                         # numerical or categorical
item n,Xn1,Xn2,...,Xnp,yn   # Use ';' when decimal sep is ','
  • Excel files (XLS, XLSX)
index feature 1 ... feature p outcome
item 1 X11 ... X1p y1
item 2 X21 ... X2p y2
... ... ... ... ...
item n Xn1 ... Xnp yn