Skip to content

Latest commit

 

History

History
 
 

TensorFlow.js Example: Multivariate Linear Regression for browser

This example shows you how to perform linear regression with tfjs-data API using Boston Housing Dataset which is a famous dataset derived from information collected by the U.S. Census Service concerning housing in the area of Boston Mass.

Prepare the environment:

$ npm install
# Or
$ yarn

Temporary (before we move to tfjs-examples):

cd ../../
yarn publish-local
cd demo/boston-housing
yarn link-local @tensorflow/tfjs-data

To build and watch the example, run:

$ yarn watch