Skip to main content
100%

softmax

✓ Published0🌍 Public
BBcohn
Last edited Mar 11, 2016
Created on Mar 11, 2016

This example demonstrates softmax regression, a multiclass classifier, applied to fruit measurements. The visualization uses a scatterplot of width and height data, colored by fruit type, alongside an animated line graph tracking classification error over iterations. Users can adjust hyperparameters—iteration count, learning rate, and penalty—via input fields to refit the model. The code implements gradient descent using the math.js library and renders results with d3.svg.axis and SVG paths, animating updates based on user-selected settings.

AI-generated description

Similar vizzes