The dataset used is for this example is the “Swedish Committee on Analysis of Risk Premium in Motor Insurance” dataset. In this data-set, X = number of claims and Y = total payment for all the claims in thousands of Swedish Kronor for geographical zones in Sweden.
If you are interested in a dataset analysis using Python instead of TensorFlow.js, this is available here.
This dataset is available to download here.
For additional information, the tensorflow.js documentation is a great place where to start.
You can use the buttons below to open or close the online Machine Learning model window as you wish.