Giter VIP home page Giter VIP logo

linearregressionwebapp's Introduction

LinearRegressionWebApp

This is a Linear Regression Application for EN.601.464/664

Current Deployment: https://ai-final-project.onrender.com/

This Application has multiple pages

Running locally

Prequisites

  • Python 3 (Python 3.9.12 tested and working, but other versions will also likely work)
  • pip

First, clone the repo to your local machine. From the shell run pip install -r requirements.txt (this only needs to be done once). Then run python app.py. The application can be accessed by navigating to the localhost URL displayed in the shell output.

Explore Your Own Dataset

plot

You may upload a .csv file containing data points. It should be formatted as follows:

Each row contain the independent (x) and dependent (y) variable of a data point. The first column contains the independent variable (x) of data points. The second contains the dependent variable (y) of data points. The data set should be of size nx2, where n is the total number of data points.

Independent Variable Dependent Variable
x1 y1
x2 y2
... ...
xn yn

This will plot the points and allow you to enter an equation of the line and get the errors of the line compared to the data set.

Explore Relationships

plot Select from a variety of datasets from the dropdown menu

Each dataset is imported from Kaggle.com and contains a variety of data points. The data is cleaned and formatted to be used in the app. The data is then used to create a custom linear regression model. plot

Current Datasets:

FIFA 2022 World Cup Data, Avocado Prices Data, World Happiness Report, Boston Housing Data

Experiement With Custom Parameters

plot

You may upload a .csv file containing data points. It should be formatted as follows:

Each row contain the independent (x) and dependent (y) variable of a data point. The first column contains the independent variable (x) of data points. The second contains the dependent variable (y) of data points. The data set should be of size nx2, where n is the total number of data points.

This will plot your points and will run gradient descent allowing you to change the number of epochs and learning rate. It also allows you to change the intial guesses for slope and intercept.

linearregressionwebapp's People

Contributors

aayushgithub avatar shintyl avatar mrgonzo1 avatar looivivian avatar rcheng15jhu avatar

Watchers

 avatar  avatar  avatar

Forkers

aayushgithub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.