LakshmanKishore / fullBatteryPrediction

A web app that predicts the time for a device to get full charged, based on the collected data.
0 stars 0 forks source link

Real-Time Data Collection and Prediction Update #1

Open LakshmanKishore opened 7 months ago

LakshmanKishore commented 7 months ago

Description

The current implementation of the battery prediction app collects data over a fixed duration of 2 minutes with a 5-second interval, and the prediction graph is generated at the end of this period.

The goal of this issue is to enhance the app to collect and display data in real-time, updating the prediction graph dynamically as new data points are collected.

Tasks

hengj10 commented 5 months ago

Hello, I'd like to ask if this task involves continuously dynamically predicting the subsequent curve based on real-time updates of the measured curve (the part before the measured values are updated)?

LakshmanKishore commented 5 months ago

Thank you for showing your interest!! This was a simple project that I had build during my college days to learn about linear regression and about web development, and to learn about integrating ML in web.

In the current state of the application, the data is collected first and then the prediction happens. This could be enhanced with collecting the data and for every five seconds or after some duration the graph should update and the prediction should happen.

You can check the current project live here

Instead of predictions happening after 2 minutes, it would be good to update the graph: