Skip to content

Demo project of a linear regression model using neural networks, implemented in JavaScript using TensorFlow.js.

Notifications You must be signed in to change notification settings

t4tianasc/linear-regression-model-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linear Regression Model Demo

This project is a demo of a linear regression model using neural networks, implemented in JavaScript using TensorFlow.js. It was created as part of the TensorFlow.js course on Platzi.

Project Description

The project provides a web interface where users can train a linear regression model and visualize its performance. The model is trained using stochastic gradient descent (SGD) and the mean squared error (MSE) loss function. The demo also allows users to load pre-trained models and generate inference curves.

Usage

You can try out the demo here, entering the URL of the JSON data to use, and the X and Y variables to plot. Then use the buttons on the page to train the model, save it, load pre-trained models, and generate inference curves.

Dependencies

The project uses the following libraries:

  • TensorFlow.js (version 1.7.4)
  • tfjs-vis (version 1.0.2) These libraries are included in the HTML file using CDN links.

Contributing

Contributions to the project are welcome. To contribute, fork the repository, make your changes, and submit a pull request.

About

Demo project of a linear regression model using neural networks, implemented in JavaScript using TensorFlow.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published