Coder Social home page Coder Social logo

linear_regression_flutter_app's Introduction

Linear Regression Flutter App

A simple Flutter application for performing linear regression on CSV data. The app allows users to upload a CSV file, calculate the linear regression model, and visualize the regression line on a chart.

Features

  • Upload a CSV file with X and Y columns.
  • Calculate and display the linear regression line in y = mx + c format.
  • Visualize the data and regression line on a chart.
  • User-friendly interface for easy interaction.

Getting Started

Follow these steps to set up and run the Linear Regression Flutter App on your local machine.

Prerequisites

Installation

Clone the repository:

git clone https://github.com/your-username/linear-regression-flutter-app.git

Navigate to the project directory:

cd linear-regression-flutter-app

Get the dependencies:

flutter pub get

Usage

Run the app:

flutter run
  1. Open the app on an emulator or physical device.

  2. Click the "Upload CSV File" button and select a CSV file with X and Y columns.

  3. The app will calculate the linear regression model and display the regression line on the chart.

  4. View the linear regression equation below the chart in y = mx + c format.

How It Works

The app uses the csv package to parse the uploaded CSV file. It calculates the linear regression model based on the X and Y values in the file. The regression line is visualized on a chart using the fl_chart package.

linear_regression_flutter_app's People

Contributors

anshi02 avatar

Watchers

 avatar

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.