In this section, we are going to implement the logistic regression model using the core API of TensorFlow.js. This means that we will build the model by combining several kernel ops that are provided by the TensorFlow.js core API. You'll come to fully understand how the model works by implementing the algorithm from scratch.
Classifying two-dimensional clusters
Preparing the dataset
In this experiment, the dataset is a two-dimensional binary of clusters. The points in each cluster have been sampled from the Gaussian distribution. Although the same standard deviation is shared by all the base distributions that generate each cluster, the center of the distribution is shifted to make them separated clusters. For logistic...